[Qt-creator] Debugging in Win32

Kai Koehne kai.koehne at nokia.com
Wed Nov 5 12:22:23 CET 2008


On Wednesday 05 November 2008 12:13:12 ext Greg Santucci wrote:
> I'm running the Windows version on an XP machine, and the debugger doesn't
> work.
>
> Steps to reproduce:
>
> 1) Make a new Qt4 Gui project
>
> 2) Set a breakpoint in the constructor of MainWindow
>
> 3) Hit debug
>
> Witness it compile, but the debug never commences. The compiled program
> does run though. Breakpoints placed in the main function do work though,
> but the debugger takes some time to start.

Hi,

You are probably using the Microsoft compiler. We currently only support gdb 
as our debugger backend, and gdb only supports executables compiled with gcc 
... For the time being, you have to use mingw/gcc to compile, otherwise you 
will not be able to debug. Sorry if this restriction was not made clear enough 
(I think it's in the list of known issues).

Regards

Kai Koehne

PS: Yes, a msvc backend for the debugger is on the todo list. But we cannot 
promise anything regarding the time frame.

-- 
Kai Köhne
Software Engineer
Nokia, Qt Software




More information about the Qt-creator-old mailing list