ID: Q76693
1.00 WINDOWS kbtool kbfixlist kbbuglist
The information in this article applies to:
Under certain circumstances, an attempt to place a watch on a nonexistent structure member fails but the integrated debugger does not generate any error message. This occurs only when the name of a processor register (AX, BX, and so on) is specified as the member name.
Microsoft has confirmed this to be a bug in the products listed at the beginning of this article. This problem was corrected in Visual C++ for Windows version 1.5.
An attempt to place a watch on the expression "structname.ax" generates the following output in Visual Workbench version 1.0 for Windows:
   structname.ax = <value>
   structname.ax =
   structname.ax = CXX0030: Error: expression cannot be evaluated
/* Compile options needed: QuickWin Application */ 
/* Watch test.ax to see the problem */ 
void main(void)
   struct ttest
   {
   int a, b;
   } test;
   test.a = 1;
   test.b = 2;
Additional reference words: 1.00 KBCategory: kbtool kbfixlist kbbuglist KBSubcategory: WBDebug
Keywords          : kb16bitonly kbDebug kbide kbbuglist kbfixlist
Version           : 1.00
Platform          : WINDOWS
Solution Type     : kbfixLast Reviewed: September 20, 1997