This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to enable viewing of enum values from the debugger

Hi, Is there an option to enable viewing of enum values in the debugger?

For example,

typedef enum {false=0, true} FalseTrueType;

In the c souce...

FalseTrueType MyEnumFlag = false;

I would like to view this in the debugger watch window.
Name Value
MyEnumFlag false

but I can only view it as (not Symbolically)
Name Value
MyEnumFlag 0

Thanks, Chris

Parents
  • "So how about a debugger display such as:
    someEnum: false(0)"


    Just noticed that Borland does, in fact, do exactly this!

    I suspect the Keil (C51, at least) doesn't generate debug info for this - so the debugger can't display it.
    (maybe it's a limitation of OMF...?)

Reply
  • "So how about a debugger display such as:
    someEnum: false(0)"


    Just noticed that Borland does, in fact, do exactly this!

    I suspect the Keil (C51, at least) doesn't generate debug info for this - so the debugger can't display it.
    (maybe it's a limitation of OMF...?)

Children
No data