Reputation: 976
I create a Qt project, build the project with "msvc2017-32bit" kit, and debug the project in Qt Creator.
The problem is I can not step into the Qt functions. I can stop at break-points in my own source code, but cannot stop at break-points in files in Qt src directory. When I step into a Qt function, the message "Stopped: "end-stepping-range"" appears by the debugging buttons. Why could this happen?
I installed the debugger tools for Windows in Windows 10 SDK, but the problem persists.
Upvotes: 3
Views: 1118
Reputation: 652
I run Qt on Windows, although a different compiler than you, and you can set the debug target paths by going to Tools->Options->Debugger
. From here you can click a button Add Qt sources...
. Below is an image of my setup and this works for me.
Upvotes: 1
Reputation: 2681
Follow the instructions from Qt here.
For Mac, the instructions are:
There are different instructions for Windows, but I have not tried it yet.
You probably also need to have QT sources installed.
Upvotes: 2
Reputation:
Go to the MaintenanceTool and check if Qt Creator 4.15.2 CDB Debugger Support
and Debugging Tools for Windows
has been selected.
Upvotes: 1