I have a project which has 100.000 lines of C++ source code which now crashes for unknown reasons. I use GCC compiler.
Can you give advices how to debug it?
I currently use
- GCC -g switch
- GCC -D_GLIBCXX_DEBUG switch for debugging
- run in GDB
- run using Valgrind
- internal logging...