最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

qt - JustMyCode mode for QtCreator - Stack Overflow

programmeradmin4浏览0评论

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 badges
Add a comment  | 

1 Answer 1

Reset to default 0

There'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.

发布评论

评论列表(0)

  1. 暂无评论