I've been using QtCreator, (gcc debugger) and when I use debugging it doesn't stick to my code. If the error is raised in a dependency, sometimes it even goes into the qt framework itself (I have no idea how since Qt is stored in object code, right?). I would much appreciate a JustMyCode feature like the VSCode debugger has. Is there such a feature, and if so, how do I get to it?
I've been using QtCreator, (gcc debugger) and when I use debugging it doesn't stick to my code. If the error is raised in a dependency, sometimes it even goes into the qt framework itself (I have no idea how since Qt is stored in object code, right?). I would much appreciate a JustMyCode feature like the VSCode debugger has. Is there such a feature, and if so, how do I get to it?
Share Improve this question asked Mar 11 at 13:22 callen44callen44 791 silver badge7 bronze badges1 Answer
Reset to default 0There's no such option and I dont see value in it (why would you hide important information?).
gdb can "go" to qt framework when your application linked against debug qt libraries (Qt6Cored.dll, Qt6Guid.dll) or libraries with separate debug info, if it can't find debug info, it will still go there but instead of code it will show dissasebled instructions.
When error is raised or SEGFAULT
happens it shows exactly where it happens, you can navigate stack down to your code in a Stack view
.