The information in this article applies to:
SYMPTOMSThe Visual C++ debugger generates the following error while using a referenced integer to access array. The MORE INFORMATION section below contains a sample showing this behavior. RESOLUTIONThe workaround is not to use referenced integer a[i] to access array as shown in the sample. Use index value instead, as a[1]. STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. MORE INFORMATIONSteps to Reproduce BehaviorBuild the following sample with debug information:
Start the debugger with a breakpoint shown. If you now step into func() by hitting the F11 key and put a watch on "a[i]," you will get the error mentioned above. However, evaluating "i" and "a[1]" works just fine. Additional query words:
Keywords : kberrmsg kbDebug kbide kbVC500bug kbVC600bug |
Last Reviewed: May 18, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |