panic: restore printing of detailed stack backtraces on linux
							parent
							
								
									0e68ca120e
								
							
						
					
					
						commit
						9bcb7d115f
					
				|  | @ -119,7 +119,11 @@ fn print_backtrace_skipping_top_frames_linux(skipframes int) bool { | |||
| 				if output in ['??:0:', '??:?:'] { | ||||
| 					output = '' | ||||
| 				} | ||||
| 				//println('${output:-46s} | ${addr:14s} | $beforeaddr') // QTODO
 | ||||
| 				// See http://wiki.dwarfstd.org/index.php?title=Path_Discriminators
 | ||||
| 				// NB: it is shortened here to just d. , just so that it fits, and so
 | ||||
| 				// that the common error file:lineno: line format is enforced.
 | ||||
| 				output = output.replace(' (discriminator', ': (d.') | ||||
| 				println('${output:-46s} | ${addr:14s} | $beforeaddr') | ||||
| 			} | ||||
| 			// C.backtrace_symbols_fd(*voidptr(&buffer[skipframes]), nr_actual_frames, 1)
 | ||||
| 			return true | ||||
|  | @ -130,4 +134,3 @@ fn print_backtrace_skipping_top_frames_linux(skipframes int) bool { | |||
| 	} | ||||
| 	return false | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue