BYTE tooltip debug display no value

General questions regarding the usage of CodeLite
garfield
CodeLite Enthusiast
Posts: 20
Joined: Fri Feb 26, 2010 7:13 pm
Genuine User: Yes
IDE Question: c++
Contact:

BYTE tooltip debug display no value

Post 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
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: BYTE tooltip debug display no value

Post 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
Make sure you have read the HOW TO POST thread
garfield
CodeLite Enthusiast
Posts: 20
Joined: Fri Feb 26, 2010 7:13 pm
Genuine User: Yes
IDE Question: c++
Contact:

Re: BYTE tooltip debug display no value

Post by garfield »

The interesting thing is that one of the variables is shown correctly ...
You do not have the required permissions to view the files attached to this post.
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: BYTE tooltip debug display no value

Post 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
Make sure you have read the HOW TO POST thread
garfield
CodeLite Enthusiast
Posts: 20
Joined: Fri Feb 26, 2010 7:13 pm
Genuine User: Yes
IDE Question: c++
Contact:

Re: BYTE tooltip debug display no value

Post 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.
Post Reply