ID Number: Q83095
2.x 3.00 3.10 3.11 3.14 | 2.x 3.00 3.10 3.11 3.12 3.50
MS-DOS | OS/2
Summary:
The Microsoft CodeView debugger (CV) cannot display any value declared
in either a C-language #define preprocessor statement or in an
assembly language EQU or TEXTEQU equate. These values cannot be
displayed in the Local window, the Watch window, the Command window,
or as a Quick Watch value.
More Information:
The Microsoft C compiler and the Microsoft Macro Assembler (MASM) do
not produce any symbolic information for these statements. Without
symbolic information, CodeView has no information about these symbols,
and cannot display them.
In the sample code below, for example, attempting to put a watch on X
will generate the following message:
X <Watch Expression Not In Context>
Sample Code
-----------
/* Compile options needed: /Zi
*/
#include <stdio.h>
#define X 17
void main(void)
{
printf("\n X is = %d", X);
}
Additional reference words: pound 2.2 2.20 2.25 2.3 2.30 3.0 3.1 3.5