[Qt-interest] Post-Mortem debugging wit QT Creator and gdb
Felix Brack
fb at ltec.ch
Wed Aug 18 18:15:18 CEST 2010
I am trying to get post mortem debugging to work wit QT Creator 1.3.1
(QT 4.6.2) on Windows. I use an application with the following code:
QDialog* dlg;
dlg= NULL;
dlg->exec();
Running this under debugger control works fine: I get a segmentation
fault and I can look at the stack to 'find' the error.
Running the same code without the debugger I can see it crash, then
select to debug it with QT Creator. QT Creator starts with a message box
'Inferior start failed' telling me 'C:/Qt/2010.02.1/bin: no such file or
directory'. 'C:/Qt/2010.02.1/bin' is where my Qt is installed. What is
Qt Creator missing here, my executable application?
Attaching to the crashed process does not help since no symbols are loaded.
What I expected was more or less the same view I get when the
application crashes under debugger control. Any idea what I am doing
wrong here?
many thanks, Felix
More information about the Qt-interest-old
mailing list