DEV Community

Dobby33
Dobby33

Posted on

Answer: How to get a stack trace for C++ using gcc with line number information? [duplicate]

Not too long ago I answered a similar question. You should take a look at the source code available on method #4, which also prints line numbers and filenames.

  • Method #4:

A small improvement I've done on method #3 to print line numbers. This could be copied to work…

Top comments (0)