Why is debugging Qt 5.3 on Windows much slower than on Ubuntu?
I am using Qt 5.3 on Windows 8.1 64 bit and Ubuntu 14.04. Compared to Ubuntu, debugging on Windows takes ages.
Why is there such a huge difference? Do I need to set up anything special on Windows?
It is likely you're having this behaviour because your debugger can't find the debugging symbols for Windows-internal libraries. By default, they are not part of your Windows Installation or Qt Creator. There are two ways to obtain them:
- If you are behind a fast internet connection: Set up a symbol server from where symbols can be loaded on demand: http://qt-project.org/doc/qtcreator-3.0/creator-debugger-engines.html#setting-the-symbol-server-in-windows
- Otherwise: Download the Debugging Symbols for Windows (usually part of the Windows SDK) from the Microsoft Homepage and configure your debugger to use the symbols from there. Usually you just specify a cache directory as in step 1 and install the symbols to that very folder.