From: Steven Watanabe (steven_at_[hidden])
Date: 2007-04-20 15:10:37
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?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk