ID: Q128211
1.50 1.51 WINDOWS kbtool kbfixlist kbbuglist
The information in this article applies to:
Using 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.
Use any one of the following suggestions to work around this problem:
-or-
-or-
Microsoft 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.
The following sample code can be used to reproduce the problem. The sample code should be built as a QuickWin application in debug mode.
/* Compile options needed: /Zi
*/
#include <stdio.h>
void function()
{
char array1[1][5] = {"test"};
}
void main()
{
function();
}
Additional reference words: 1.50 KBCategory: kbtool kbfixlist kbbuglist KBSubcategory: WBDebug
Keywords : kb16bitonly kbDebug kbide kbbuglist kbfixlist
Version : 1.50 1.51
Platform : WINDOWS
Solution Type : kbfix
Last Reviewed: September 22, 1997