Reputation: 201
In IAR Embedded Workbench the watch windows displays several columns (Expression, Value, Location, Type). I want to see the value for a given expression as the enumeration and not the actual value. Meaning...
ucFruit APPLE
as opposed to...
ucFruit 0x02
It seems that this would be possible since I can change the value of ucFruit
by simply typing APPLE for its value.
Any suggestions?
Upvotes: 0
Views: 2360
Reputation: 2580
If you right click on the variable name in the watch window and select the "Default Format" option from the displayed list the the enumeration is displayed rather than the numeric value. The numeric value is displayed if you select "Decimal" or other numeric format.
This is how it works on my EW430.
Upvotes: 1