Berkeley CSUA MOTD:Entry 50257
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2025/05/25 [General] UID:1000 Activity:popular
5/25    

2008/6/13-20 [Computer/SW/Compilers, Computer/SW/OS/FreeBSD] UID:50257 Activity:nil
6/13    Anybody know of a library that can do the following in *BSD systems?
        Add a function call like "if (debug) print_backtrace()" and it
        would print out the stack trace.  Similar to setting a breakpoint
        in GDB and then doing "bt".  Running GDB is not an option sometimes.