Recent content by cslr

  1. C

    Help debugging 100.000 lines C++ project

    I use GDB and -g -fsanitize=address -fsanitze=undefined and other GCC’s command line switches and valgrind but still I get large floating point numbers which causes code to crash/not functioning correctly. There seem to be also problem in my threaded code where one of the threads stopped...
  2. C

    Help debugging 100.000 lines C++ project

    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...
Top