Debugging with Qt Creator and Cdb on Windows
-
Hi,
I'm using Qt - Creator 2.0 on Windows7 64Bit with the Studio 2010 Compiler. As Creator told me, i installed the latest debugging helpers from Microsoft. But the following problem also occured on my old computer with Creator 2.0 and Studio 2005.
Now when i'm debugging, it works quite fine, until I have a ByteArray or a large string in my current context. Qt-Creator freezes then, and 1 single step like @bool a = true;@ takes about almost 30 seconds.
Do other users have same Problems? Am I doing something wrong? can i get it faster?
Thanks
Felix
-
Loading the Debugger helpers should be faster in Qt Creator 2.0.1
A possible problem could be that there were watch expressions left behind in the session settings.
Qt Creator pre-2.0 used to have watch expressions for CDB, but they were really slow and useful only for scalar expressions. They were disabled in 2.0. You could try to start a new session to get rid off all remains. -
Damn it, debugging with QtCreator + CDB is so awful that I even don't bother hitting F5. In best case, I should wait 30+ seconds just to start the app, sometime even several minutes. I can't add a variable in a watch list because QtCreator freezes for a very very long time. I can't even switch to VS because VS Addin is a crap and discontinued. So, I just wanted to say that, us, windows developers doesn't have a debugger :(
-
I would recommend creating a Jira -task including the debugger log (Window/Views/Debugger Log) and ideally a small code example.
Generally, we recommend using a recent 64bit version of CDB on 64bit systems and configuring the symbol server.
-
The 64bit debugger should also be able to debug 32bit applications. This is just a recommendation though - we noticed that the 32bit debugger tends to more cause issues under 64bit Windows.