From LedHed's Wiki
(→HowTo) |
|||
| Line 12: | Line 12: | ||
'''Example''' | '''Example''' | ||
| − | gdb /usr/local/bin/dspam | + | gdb /usr/local/bin/dspam |
| − | + | --daemon --debug | |
| − | + | ||
| − | ''Wait for the app to die.'' | + | ''Wait for the app to die.'' |
| − | + | ||
| − | bt | + | bt |
| − | + | ||
[[Category:Linux_TroubleShooting]] | [[Category:Linux_TroubleShooting]] | ||
Revision as of 23:36, 28 September 2006
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 --daemon --debug Wait for the app to die. bt