FIX: Unable to View Contents of Local Arrays on Windows NT 3.5Last reviewed: September 18, 1997Article ID: Q128211 |
1.50 1.51
WINDOWS
kbtool kbfixlist kbbuglist
The information in this article applies to:
SYMPTOMSUsing the Visual Workbench Integrated Debugger from Visual C++ version 1.5 or 1.51 under Windows NT version 3.5, you cannot view the contents of local arrays in either the Locals window or the Watch window. When the arrays are expanded, you get the following error message from the debugger:
CXX0030 : error : expression cannot be evaluated.The problem only occurs when Visual C++ version 1.5 or 1.51 is hosted on Windows NT version 3.5. This is not a problem if the debugger is run from Windows, Windows for Workgroups, or Windows NT version 3.1.
RESOLUTIONUse any one of the following suggestions to work around this problem:
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This bug was corrected in Visual C++ version 1.52 for Windows.
MORE INFORMATIONThe following sample code can be used to reproduce the problem. The sample code should be built as a QuickWin application in debug mode.
Sample Code
/* Compile options needed: /Zi */ #include <stdio.h> void function(){ char array1[1][5] = {"test"};}
void main(){ function();}
|
Additional reference words: 1.50
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |