How to see symbolic name of enum variable?

0 Likes

Problem:

In my program there's a variable of type enum. I want to see the symbolic name of the enum value, but in softice I can only see the numerical value. Is there anyway to make softice to display symbolic name for enum variables?

Resolution:

You have to compile your program using C7 debug information. Also you have to use *.cpp extension for your file, otherwise C compiler converts enum type to int type prior to generating debug info and no symbolic names are available for enum type.

Old KB# 11225
Comment List
Anonymous
Related Discussions
Recommended