Is it normally slow when debugging with GDB on Windows?
-
Hi,
normally debugging is slower then normal execution, but waiting seconds before the next instruction is not. To setup the CBD and MSVC compiler takes a bit of expert operations, so if you're not, stick to the MinGw debugger supplied. It should be fast enough for proper debugging.
How did you install it? What QtCreator version are you running, what Qt version are you currently using. -
Also, please check whether you fit inside your RAM memory. If your OS decides to go into swapping, it will be slooooow.
-
Hmm.. I'm too have this problem with CDB && QtCreator && MSVC2012.. For me, each instruction take over 15-20 second. O_o.
My project include many plugins, libraries and so on. Also I can not change to MinGW kit, because a customer required MSVC compiler. So, I use for debugging the "DBGView ":http://technet.microsoft.com/en-us/sysinternals/bb896647.aspx+ "QLoggingCategory":http://qt-project.org/doc/qt-5/qloggingcategory.html (with installing of custom "qInstallMessageHandler()":http://qt-project.org/doc/qt-5/qtglobal.html#qInstallMessageHandler with "OutputDebugString()":http://msdn.microsoft.com/ru-ru/library/windows/desktop/aa363362(v=vs.85).aspx function).
So, the old and kind the print out helps for me. :)
-
I think i have enough memory(8GB) for debugging.
I use Qt 5.3.1 for Windows 32-bit (MinGW 4.8.2, OpenGL, 735 MB).With CDB also slow?
How about Qt Add-in for MSVC?While I downloading...
Just curious "Visual Studio does not include the Debugging tools needed"
What? Then how Visual Studio debugging work without debugging tools? -
Hi,
For debugging the MSVC compiled program you need to download the windows debugger set available for free from MS site. Be aware the installing the 32 bits on a 64 bits computer will make it extreme slow!! So maybe that is kuzulis his problem. Or maybe my memory failed and it is the other way around, but if you mix up the 32/64 versions you get a very very very slow debugger.
The MinGw comes with the installed debugger and should work without any problems. -
Installed.
What! It's really fast even it's connect to Microsoft symbol server
but what it this? What if I don't have internet connection?And what do you mean?
I should not install "Qt 5.3.1 for Windows 32-bit (VS 2013, OpenGL, 557 MB)"?
Should I install "Qt 5.3.1 for Windows 64-bit (VS 2013, OpenGL, 571 MB)"?My OS is Windows 8.1 64-bits
-
bq. Be aware the installing the 32 bits on a 64 bits computer will make it extreme slow!! So maybe that is kuzulis his problem.
No, I have 32-bit OS, unfortunately.
-
I had this issue at one point. Do you have previous versions of the compilers installed? I used MSVC2010 compiler for a while with QtCreator and it was slow as death on 8.1. It was taking 10 seconds to step.
After uninstalling all of the previous compiler versions and moping up everything, I just installed 2012 first, then 2010, and everything debugs fine now (I can switch between the two with the same performance).
If I remember correctly, there is some information on microsoft's help pages that gives a recommended order on how to install different versions of the compilers.
-
2 dvez43,
bq. I just installed 2012 first, then 2010, and everything debugs fine now
At me at first MSVC2012 was installed. After some months I installed MSVC2010 in addition to. Therefore, apparently, a problem not in sequence.
PS: Just it is a black magic. :)
-
I have this problem too. The debugger is unbearably slow.
I am running Win 8.1. I have QT Creator 3.2.2 based on QT 5.3.2.
I have the latest WinSDK installed, and Visual Studio 10 Professional.
When I go to Projects/Build & Run/Debug configuration, it says it builds to this directory: ...Desktop_Qt_5_3_MSVC2010_OpenGL_32bit-Debug.
That implies it is running a 32 bit debugger. Under Projects/Build & Run/Manage Kits/Build & Run it says it auto-detects both x86 and x64 debuggers. So it knows I have a 64 bit debugger. How do I make it use that one?
-
I have this problem too. The debugger is unbearably slow.
I am running Win 8.1. I have QT Creator 3.2.2 based on QT 5.3.2.
I have the latest WinSDK installed, and Visual Studio 10 Professional.
When I go to Projects/Build & Run/Debug configuration, it says it builds to this directory: ...Desktop_Qt_5_3_MSVC2010_OpenGL_32bit-Debug.
That implies it is running a 32 bit debugger. Under Projects/Build & Run/Manage Kits/Build & Run it says it auto-detects both x86 and x64 debuggers. So it knows I have a 64 bit debugger. How do I make it use that one?
-
Hi and welcome to devnet,
You are building a 32bit application so you need a 32bit debugger. More "here":http://msdn.microsoft.com/en-us/library/windows/hardware/ff539099(v=vs.85).aspx
-
Hi and welcome to devnet,
You are building a 32bit application so you need a 32bit debugger. More "here":http://msdn.microsoft.com/en-us/library/windows/hardware/ff539099(v=vs.85).aspx