[Qt-creator] Problem with debug
Patric
userqt at gmail.com
Tue Jun 9 01:02:41 CEST 2009
Yes ofcourse, I'm sorry, I was just too excited. I removed 90% of my code to
understand that this is the reason.
I'm using Windows XP.
Here is the minimal code :
#include <QtGui/QApplication>
#include "maintestwindow.h"
#include <QHostAddress>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
MainTestWindow w;
w.show();
QHostAddress *address = 0;
QString testString = address->toString();
}
Just try to debug it.
Best regards,
Patric
----- Original Message -----
From: "Andre Poenitz" <andre.poenitz at mathematik.tu-chemnitz.de>
To: <qt-creator at trolltech.com>
Sent: Tuesday, June 09, 2009 1:47 AM
Subject: Re: [Qt-creator] Problem with debug
> On Tue, Jun 09, 2009 at 12:32:08AM +0300, Patric wrote:
>> Guys.... you should know, that if you are debugging code and reach NULL
>> POINTER !!!, (now read carefully)....
>>
>> THE DEBUGGER WILL STOP !
>
> Stop shouting.
>
> You still did not post complete compilable minimal code. At a very
> minimum this would have a 'main' function somewhere. You did not
> even bother to tell us what kind of platform you are running.
>
>> BTW: That is bug. The thing with the null pointer and the debugger.
>
> Works here. I just checked.
>
> Andre'
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus
> signature database 4098 (20090522) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>
__________ Information from ESET NOD32 Antivirus, version of virus signature database 4098 (20090522) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
More information about the Qt-creator-old
mailing list