I just installed valgrind but now my breakpoints dont work in qtcreator. How can I fix this?
debug:NO GD开发者_开发技巧B PROCESS RUNNING, CMD IGNORED: -stack-list-arguments 2 0 0
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?
Unless you give us more information, it's hard to believe that simply installing valgrind has broken gdb.
If you are trying to run the debugger from valgrind, what options are you using for --db-attach
and --db-command
?
精彩评论