[Qt-creator] watch variables in debug

Chris Bruner cbruner at quadro.net
Fri Jan 15 17:24:16 CET 2010


Robert Löhning wrote:
> ext cbruner at quadro.net schrieb:
>> I was using the watch variables and noticed that an integer could only 
>> be displayed as a hex value. Something like 0x4d.  Displaying it as an 
>> integer value was 0.
> 
> Hi,
> 
> could you please give us some more information, i. e. how to reproduce
> this? In which version of Creator did you see this happen?
> 
> Thanks, Robert
> 
qt creator 1.3 qt 4.6 64 bit on Linux.
I was looking at a structure that contained a char variable. The varable 
had 'M', but qtcreator would only display the hex of that. (It would be 
nice to show a few formats at a time if there is room)
I tried to change the format to show an integer and it showed a 0 which 
was different then the value.

I don't know if it is reproducible, as I was under stress to debug my 
program, and didn't have time to experiment.

In many other respects the qt-creator saved the day, as my debugger I 
usually use (kdbg) isn't supported by kde4 and none of the others I 
tried had all the functionality I needed.

Thanks for a great product.



More information about the Qt-creator-old mailing list