| ||||||
| 5/21 |
| 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. |