From LedHed's Wiki
(→HowTo) |
|||
Line 4: | Line 4: | ||
== HowTo == | == HowTo == | ||
− | gdb /path/to/binary | + | gdb /path/to/binary<br> |
− | run the Binary as needed | + | run the Binary as needed<br> |
− | when the binary crashed run 'bt' | + | when the binary crashed run 'bt'<br> |
'''Example''' | '''Example''' | ||
− | gdb /usr/local/bin/dspam | + | gdb /usr/local/bin/dspam<br> |
− | dspam --daemon --debug | + | dspam --daemon --debug<br> |
− | ''Wait for the app to die.'' | + | ''Wait for the app to die.''<br> |
− | bt | + | bt<br> |
Revision as of 17:10, 2 August 2006
What is a Backtrace (Also known as a Stack Trace).
HowTo
gdb /path/to/binary
run the Binary as needed
when the binary crashed run 'bt'
Example
gdb /usr/local/bin/dspam
dspam --daemon --debug
Wait for the app to die.
bt