From LedHed's Wiki
Jump to: navigation, search
 
 
(4 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
== HowTo ==
 
== HowTo ==
  
gdb /path/to/binary
+
gdb /path/to/binary<br>
run the Binary as needed
+
run --options<br>
when the binary crashed run 'bt'
+
when the binary crashes run:<br>
 +
bt<br>
  
  
 
'''Example'''
 
'''Example'''
  
gdb /usr/local/bin/dspam
+
gdb /usr/local/bin/dspam
dspam --daemon --debug
+
run --daemon --debug
 +
 +
''Wait for the app to die.''
 +
 +
bt
  
''Wait for the app to die.''
+
[[Category:Linux_TroubleShooting]]
 
+
bt
+

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