[Qt-creator] Problem with debug

Patric userqt at gmail.com
Mon Jun 8 23:32:08 CEST 2009


Guys.... you should know, that if you are debugging code and reach NULL 
POINTER !!!,
(now read carefully)....

THE DEBUGGER WILL STOP !

Thank you for your attention. I lost 1 hour and separated my code into 
building parts to understand, that one of my get methods returns 0.

Cheers,
Patric

BTW: That is bug. The thing with the null pointer and the debugger.



----- Original Message ----- 
From: "Andre Poenitz" <andre.poenitz at mathematik.tu-chemnitz.de>
To: <qt-creator at trolltech.com>
Sent: Monday, June 08, 2009 10:54 PM
Subject: Re: [Qt-creator] Problem with debug


> On Mon, Jun 08, 2009 at 10:42:37PM +0300, Patric wrote:
>> Hi all,
>> I'm debugging my application and I hae a problem.
>> My debugger freezes in this position :
>>
>> QString QHostAddress::toString() const
>> {
>>
>> QT_ENSURE_PARSED(this);           <<<<<<<  this position
>
> Please post minimal but compilable code (should be possible in
> less then 50 lines) that exhibits that behaviour.
>
> Also, it would be usefule to know which OS, version of Qt and which
> version of Qt Creator you are using.
>
> 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