
20 Apr
2007
20 Apr
'07
7:10 p.m.
AMDG Atry <pop.atry <at> gmail.com> writes:
Java programs are easy to debug, one who catch an exception can print the stack trace, and when it crash, it would print the stack, too. It is useful, so I wrote some code of stack_trace for C++, see the sample below:
When I wrote a stack_trace I had to use malloc/free because I was replacing global new/delete. I also wrote a perl script that inserts the macro at the beginning of every function. Also, is it possible to make it work with coroutines? http://tinyurl.com/362uv4 In Christ, Steven Watanabe