Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QtCreator, Debugger does not attached to the application
Hi everyone, I've run into an issue with QtCreator and I'm looking for directions to look into, to fix it.
The latest update broke the debugger support for my version QtCreator. It doesn't matter if I try to debug a project of mine or a simple main (Hello World) application.
Compiler: MSVC2015 64bit
Debugger: CDB (From Windows/10/Debuggers/x64/cdb.exe)
Currently as a workaround, I have VisualStudio open and attach the debugger there to the running process. That works, but is really cumbersome and suboptimal.
I don't know what happened, but the only thing I can think of is a complete reinstall of everything. QtC VS - (maybe update to 2017) but that's a step I would like to do as a last resort.
Edit: I should mention, that when I use mingw and gdb, it does indeed still work in QtCreator, but I'm not allowed to use mingw for most of my projects.
Have you tried running a repair on the VS installation?
(via the installer)
Its worth a shot. (IMHO)
@J.Hilk First have a look at the Debugger Log (Windows > Views > Debugger Log) first. Most often this gives a hint for the root problem.
I tried, and now it's working. I didn't change anything....
Threaded classes, custom (Qt-based dlls) I can step into everything.
I blame gremlins.
blame me !! ;)
@mrjj that's not a gremlin, he's a mogwai ;-)
Indeed he is
but if you feed him bugs
after midnight then he goes like
but then you find the actual reason
for all your problems and then you