Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot step into Qt source

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.

like image 349
William Avatar asked Oct 22 '25 16:10

William


1 Answers

Follow the instructions from Qt here.

For Mac, the instructions are:

  • In Projects->Build&Run->Run->Run Settings->Run, select "Use debug version of frameworks".

There are different instructions for Windows, but I have not tried it yet.

You probably also need to have QT sources installed.

like image 151
Adriel Jr Avatar answered Oct 25 '25 22:10

Adriel Jr