My variables content appear in hexadecimal
-
Hi, when I try to evaluate a member in debug mode by pointing on a variable to see its content, the data that is displayed is i hexadecimal. For example, I do the following instruction:
int t=-1;
After passing the instruction, I try to see the content of the variable 't' and what I see is '0xffffffff
'. All the data I try to evaluate appear using the same notation. Do you know how I can change that to see them in decimal ? Thanks a lot for attention. Patrick.p.f. Goudjo-Ako Bringing our energy together !
-
Hi, when I try to evaluate a member in debug mode by pointing on a variable to see its content, the data that is displayed is i hexadecimal. For example, I do the following instruction:
int t=-1;
After passing the instruction, I try to see the content of the variable 't' and what I see is '0xffffffff
'. All the data I try to evaluate appear using the same notation. Do you know how I can change that to see them in decimal ? Thanks a lot for attention. Patrick.p.f. Goudjo-Ako Bringing our energy together !
Right click on the variable display and the popup menu has an option for hexadecimal. Just uncheck it.
-
Right click on the variable display and the popup menu has an option for hexadecimal. Just uncheck it.
Thanks for answering. But, there is no option for hexadecimal, so I can't uncheck it. I'm working with Visual Studio 2005.
p.f. Goudjo-Ako Bringing our energy together !
-
Thanks for answering. But, there is no option for hexadecimal, so I can't uncheck it. I'm working with Visual Studio 2005.
p.f. Goudjo-Ako Bringing our energy together !
It's there. It's called Hexidecimal Display.
-
It's there. It's called Hexidecimal Display.
Ok, I found it. But it's not directly available in the popmenu displayed after pointing a variable. I did it from the 'Watch' window. Thanks !
p.f. Goudjo-Ako Bringing our energy together !
-
Thanks for answering. But, there is no option for hexadecimal, so I can't uncheck it. I'm working with Visual Studio 2005.
p.f. Goudjo-Ako Bringing our energy together !
Try this: As you're debugging, go to the locals (or watch) panel. Select a variable (name, value, type) and right click. It lets you toggle the hex display.
-
Try this: As you're debugging, go to the locals (or watch) panel. Select a variable (name, value, type) and right click. It lets you toggle the hex display.
It works this way. Thanks for replying ! Pat.
p.f. Goudjo-Ako Bringing our energy together !