Page 1 of 1

BYTE tooltip debug display no value

Posted: Wed Mar 17, 2010 6:41 pm
by garfield
Right now hovering over a local BYTE variable displays name[type] only, Locals plane displays {...}
Only Watches works fine displaying also the value

(Searched both the forum and tracker with no results...probably because the query is too generic)

Im missing something. Should I open a bug?
MihailNaydenov

Re: BYTE tooltip debug display no value

Posted: Wed Mar 17, 2010 7:03 pm
by eranif
By default codelite displays what gdb provides, and it is rare if any that it interfere with the output from gdb, so its most likely a gdb issue.

But, I could be wrong, so please attach a screen-shot to show what is the problem
Thanks
Eran

Re: BYTE tooltip debug display no value

Posted: Thu Mar 18, 2010 12:53 pm
by garfield
The interesting thing is that one of the variables is shown correctly ...

Re: BYTE tooltip debug display no value

Posted: Thu Mar 18, 2010 1:31 pm
by eranif
Can u also enable the debugger full logging output? (the little checkbox on top of the 'Debug' Window)

And send me the output from the second that you hover the mouse over the variable

Eran

Re: BYTE tooltip debug display no value

Posted: Thu Mar 18, 2010 1:41 pm
by garfield
hovering over rle variable:

DEBUG>>00000074-var-create - * "rle"
DEBUG>>00000074^done,name="var4",numchild="0",value="255 '\\377'",type="BYTE"

hovering over type_bit variable:

DEBUG>>00000086-var-create - * "type_bit"
DEBUG>>00000086^done,name="var10",numchild="0",value="128 '\\200'",type="const BYTE"

hovering over write_count variable:

DEBUG>>00000088-var-create - * "write_count"
DEBUG>>00000088^done,name="var11",numchild="0",value="1 '\\001'",type="const BYTE"


Hum, yes the rle variabale is indeed 255, and type_bit - 128. So capturing works fine.