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
Just to add my two cents to the wish, I find it's often useful to be able to see the actual value as well as the symbolic value. So how about a debugger display such as: someEnum: false(0) so that we can see both at once, rather than just symbol or value?
"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...?)
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)