What are some good tools to use for debugging C++ apps in Linux?
I want to be able to get stack traces, line numbers, etc when my program crashes. C# is really good for this, but I'm sure the same can be done in C++/Linux. If possible I'd even like to have it built right into my app, but if it can also be done by running an external app that will do. I know valgrind is one, but does not quite do the line number thing, and I find it changes the crash behavior of my program. Like normally my program crashes but with valgrind it never crashes. It's a huge multi threaded app so i need to be able to trace at which point its crashing.
I want to be able to get stack traces, line numbers, etc when my program crashes. C# is really good for this, but I'm sure the same can be done in C++/Linux. If possible I'd even like to have it built right into my app, but if it can also be done by running an external app that will do. I know valgrind is one, but does not quite do the line number thing, and I find it changes the crash behavior of my program. Like normally my program crashes but with valgrind it never crashes. It's a huge multi threaded app so i need to be able to trace at which point its crashing.
