Search code examples
c++qtgdbbreakpointsvalgrind

breakpoints not working after installing valgrind


I just installed valgrind but now my breakpoints dont work in qtcreator. How can I fix this?

debug:NO GDB PROCESS RUNNING, CMD IGNORED: -stack-list-arguments 2 0 0


Solution

  • The problem was with QTcreator itself and not Valgrind this was a coincidence that I had added all the possible views for debugger (Debug->Views then select them all) this somehow made most of my code unreachable by breakpoints. Is this a bug or a consequence of the type of views I added?