Reputation: 6150
How can I configure QtCreator so that when I'm debugging and I press pause it would show the code it is currently processing (now it shows assembly). Couldn't find an answer anywhere about this.
I am using Windows 7.
Upvotes: 0
Views: 3593
Reputation: 31
I have this problem with Qt Creator 4.2.2 in Ubuntu 16.04. One of the steps can solve your problem:
Debug
modeDebug->Operate by instruction
, when you debugging. But it doesn't work for me.Tools->Debugger->Set breakpoint using full absolute path
.Source Path Mapping
(Tools->Debugger->Add Qt sources
)After step 5, there was magic and gdb sucess work in src mode.
Upvotes: 3
Reputation: 17124
It might not have the sources for the code it is currently executing. It could be in a system DLL, for instance. If you look at the stack trace, you might find a function that it has the source for, but this is not guaranteed -- it could be in a thread for which no source is available at all.
Upvotes: 0