From LedHed's Wiki
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 12: Line 12:
 
'''Example'''
 
'''Example'''
  
gdb /usr/local/bin/dspam<br>
+
gdb /usr/local/bin/dspam
run --daemon --debug<br>
+
run --daemon --debug
 
+
''Wait for the app to die.''<br>
+
''Wait for the app to die.''
 
+
bt<br>
+
bt
 
+
  
 
[[Category:Linux_TroubleShooting]]
 
[[Category:Linux_TroubleShooting]]

Latest revision as of 17:43, 25 March 2007

What is a Backtrace (Also known as a Stack Trace).


HowTo

gdb /path/to/binary
run --options
when the binary crashes run:
bt


Example

gdb /usr/local/bin/dspam
run --daemon --debug

Wait for the app to die.

bt