This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Adding defined constants to watch expressions

Is there a way to get a defined constant to show up in the CCS Watch Expression view?

I have a the following code to define a constant:

#define     MASK    0x40

However, when I add "MASK" as a watch expression, I get the message "Error: identifier not found: MASK"

Is there any way to make these values show up as watched expressions?

  • Kelly Hawkins said:

    Is there a way to get a defined constant to show up in the CCS Watch Expression view?

    As far as I know, you cannot view #defined constants in the expressions view.

  • Hi,

    I have read (here : books.google.fr/books ) that it is possible to view defined constants in the watched expressions when using the build option -g3. The book is about eclipse in general, so it may or may not apply to CCS.

    I haven't found such a build option. Does it exist somewhere in CCS, or is it definitely impossible ?