printing a stack trace ...

  • Thread starter Gernot Hoebenreich
  • Start date
G

Gernot Hoebenreich

Hi there,

Is anybody aware of some method to get a calling stack trace in kind of
readable string form of a thread in C++ (for tracing/debug purposes), as
it is available in Java (i.e: printStackTrace())?

Any advice as well as literature advice is appreciated!

thanks!
Gernot
 
P

Pete Becker

Gernot said:
Hi there,

Is anybody aware of some method to get a calling stack trace in kind of
readable string form of a thread in C++ (for tracing/debug purposes), as
it is available in Java (i.e: printStackTrace())?

Any advice as well as literature advice is appreciated!

Use a debugger. Unlike Java, C++ doesn't incorporate one into every
application.
 

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

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top