Qt 5.1 Creator 2.8.1 and MSVC 2012 Debug is really slow
-
I'm running Qt 5.1, Creator 2.8.1 and MSVC 2012....debug is really really slow. A simple hello world type application takes over 10 minutes to run debug and it does not stop at the breakpoint. It stops in main.cpp at QApplication a(argc, argv), when the breakpoint is in mainWindow.cpp. Any suggestions?
-
Hi,
It's a bit hard to tell what's wrong. What debugger are you using?
Some things you could try:
- Temporarily disabling your antivirus
- Upgrading to Qt 5.2.1 and Qt Creator 3
-
JKSH thanks for the response. I can't turn off anti-virus. I fixed it where it will now stop on my breakpoint. From QTCREATORBUG-9986 -- it says the work around is to go in options and turn off and un-check everything that say GDB. However, It still runs slow. Will Qt 5.2.1 and Creator 3 help with the speed?
Does the Windows SDK contain debugging symbols? If not, could the absence of the symbols explain the slowness?
-
[quote author="jh224" date="1399305185"]I fixed it where it will now stop on my breakpoint. From QTCREATORBUG-9986 -- it says the work around is to go in options and turn off and un-check everything that say GDB.[/quote]Great! I'm glad you found the solution to one issue.
[quote author="jh224" date="1399305185"]Will Qt 5.2.1 and Creator 3 help with the speed?[/quote]I don't know, unfortunately. My main suspect is the antivirus, not Qt/Qt Creator.
[quote]Does the Windows SDK contain debugging symbols?[/quote]Yes, but it's not installed by default. To install debugging symbols, you need to select "Debugging Tools for Windows" when you install the Windows SDK.
[quote]If not, could the absence of the symbols explain the slowness?[/quote]I don't think so, but I'm not 100% sure.
I think debugging symbols shouldn't affect debugger speed, only debugger text -- if you have symbols, you will see filenames. If you don't, you will see pointer values.