Changing numeral system from hex to dec in Visual Studio

0

I've been recently writing implementation of heap, and I found out that my IDE during debugging displays key values in hex. I tried to change to decimal, by unchecking "display in hex" in autos/locals window, changing from hex to signed/unsigned in memory windows and passing ",d" after my variable name in watch window, but none of them works. I've defined my node like this:

typedef struct Node {
    int *a;
    struct Node *left;
    struct Node *right;
    char *b;
}tree;

and any pointer in locals window displays like that:

p   0x00db4570 {a=0x00000000 {???} left=0x00db45b0 {a=0x00000043 {???} left=0x00dbbc88 {a=0x00000767 {???} ...} ...} ...}

I only want to have "a" values in decimal.

Thanks for any help and suggestions and sorry for my english.

c
visual-studio
debugging
data-structures
visual-studio-2015
asked on Stack Overflow Jan 7, 2017 by BlackHawk

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0