qt 6: debug only my files?
-
How do I tell the debugger to not step into the QT Library files? I am only interested in what i have coded.
-
How do I tell the debugger to not step into the QT Library files? I am only interested in what i have coded.
I'm not aware of such an option but why do you not simply step over the Qt function calls?
-
I'm not aware of such an option but why do you not simply step over the Qt function calls?
@Christian-Ehrlicher, good answer. Currently i try to do that but occasionally press "into" accidentally. Then i find quite often the debugger freezes. Just thought it might be nice to find an option like VS Code that says "my files only".
-
There is a whole discussion about this on StackOverflow: https://stackoverflow.com/questions/72894675/how-to-enable-justmycode-in-vs-code-c-debugger
From the first look it seems to depend on the compiler/debugger being used if this actually works for C++.
-
How do I tell the debugger to not step into the QT Library files? I am only interested in what i have coded.
I have two bug reports open:
- QTCREATORBUG-29693 Support /jmc (just my code) MSVC compiler feature
- QTCREATORBUG-23508 Skip built-in include paths while debugging
But they are not yet fixed.