From LedHed's Wiki
Jump to: navigation, search
(HowTo)
 
Line 13: Line 13:
  
 
  gdb /usr/local/bin/dspam
 
  gdb /usr/local/bin/dspam
  --daemon --debug
+
  run --daemon --debug
 
   
 
   
 
  ''Wait for the app to die.''
 
  ''Wait for the app to die.''

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