Exception handling stack trace

B

BCC

I would like to write a small class that will dump out the call stack in
the event of an error.

Rather than reinvent the wheel, does anyone have any recommendations for
free stuff that already does this?

Thanks
 
A

Alf P. Steinbach

* BCC:
I would like to write a small class that will dump out the call stack in
the event of an error.

Rather than reinvent the wheel, does anyone have any recommendations for
free stuff that already does this?

The only platform-independent way to do that in C++ is to instrument every
function e.g. by adding some call-tracking object as a local variable.

If you don't want that you need to ask in a forum dedicated to the particular
platform.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top