News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Setup type of value during watching variable in debug mode

Started by SamT, September 28, 2006, 02:01:12 AM

Previous topic - Next topic

SamT

Hello all,

Could I setup the type or the display method when I watch the variable in debug mode? For example, I'd like to have a hexadecimal not decimal value of a variable. Please find the picture as below.

By the way, I found the breakpoint function is not 100% correct during debugging. Sometimes I toggle a breakpoint in one line but the program ignore it and run through. Sometimes I toggle a breakpoint in a declaration statement and program stop in that line.

I use lastest nightly build with GDB 6.3.

[attachment deleted by admin]

mandrav

QuoteCould I setup the type or the display method when I watch the variable in debug mode? For example, I'd like to have a hexadecimal not decimal value of a variable. Please find the picture as below.

Yes you can, but not for the auto-watches (locals and function args). Only for those watches you add manually.
Be patient!
This bug will be fixed soon...