Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: SamT on September 28, 2006, 02:01:12 am
-
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]
-
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.
Yes you can, but not for the auto-watches (locals and function args). Only for those watches you add manually.