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
  • Hello Chris.
    Sorry that I am answering to this question, but I have seen that you have answered another question. Do you speak german? I am writing with reference to the Application Note "XC16x In-Application On-Chip Flash Programming". I am working with the XC167CI and I have to save data to the on chip flash. I don't know how to configure the memory. The message Adress space out of range always appears.
    Do you have an example code which would work on my µC and how can I read out the stored data?
    Thanks in advance.
    Regards,
    Walter

    (you can contact my through walterbader(at)aon.at)

Reply
  • Hello Chris.
    Sorry that I am answering to this question, but I have seen that you have answered another question. Do you speak german? I am writing with reference to the Application Note "XC16x In-Application On-Chip Flash Programming". I am working with the XC167CI and I have to save data to the on chip flash. I don't know how to configure the memory. The message Adress space out of range always appears.
    Do you have an example code which would work on my µC and how can I read out the stored data?
    Thanks in advance.
    Regards,
    Walter

    (you can contact my through walterbader(at)aon.at)

Children
No data