Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
breakpoint makes qtcreator freezing
Make it GREAT again last edited by Make it GREAT again
The version of qtcreator I am using is 3.3.1. My system is a win 7 64-bit. I have the same software environment in the office, and they work well. This is the first time I do this work at home. It happens at setting breakpoints. The application started without a problem in debug mode, and breakpoints were done before I launch the debug. It soon freezes as I press a button to trigger running the program.
Make it GREAT again last edited by
sorry, it is here at the first breakpoint 10 minutes later.
@Make-it-GREAT-again which compiler and debugger are you using?
Also consider upgrading, current version is Creator 4.14.
SimonSchroeder last edited by
Unfortunately, the debugger used inside Qt Creator on Windows is really, really bad. Initial delays can happen when Qt Creator loads all dlls for your application. Never had to wait for 10 minutes, though (also depends how much your application does itself before hitting this breakpoint).
Another thing is that showing the values on the current stack when hitting a breakpoint can take quite long. So, maybe your 10 minutes are mostly a part of displaying the current values. In larger applications this is horrible most of the time.
That is why on Windows I use Visual Studio directly as debugger. Use
qmake -tp vc YourProject.proto create Visual Studio project and then run the debugger over there. You can also just attach to a running process so that VS will not recompile your project. This approach will be a lot faster and you are not going to wait 10 minutes.