BUG: Multidimensional arrays are not displayed correctly in some debugger windows (326721)
The information in this article applies to:
- Microsoft Visual C++ .NET (2003)
- Microsoft Visual C++ .NET (2002)
- Microsoft Visual Studio .NET (2003), Professional Edition
- Microsoft Visual Studio .NET (2003), Enterprise Architect Edition
- Microsoft Visual Studio .NET (2003), Enterprise Developer Edition
- Microsoft Visual Studio .NET (2003), Academic Edition
- Microsoft Visual Studio .NET (2002), Professional Edition
- Microsoft Visual Studio .NET (2002), Enterprise Architect Edition
- Microsoft Visual Studio .NET (2002), Enterprise Developer Edition
- Microsoft Visual Studio .NET (2002), Academic Edition
This article was previously published under Q326721 SYMPTOMS When you debug an application that uses Managed Extensions
for C++, multidimensional arrays of primitive types do not display array items
correctly in the Watch window, the Locals window, or the Autos window of the
debugger. RESOLUTION To work around this problem, use managed type (instead of
unmanaged type) in a multidimensional array. For example, the
following multidimensional arrays of managed type are displayed correctly in
the debugger Watch window:
Int32 multiarray1[,] = __gc new Int32[5,2];
Int32 multiarray2[,] = new Int32[5,2];
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.REFERENCES For additional information about arrays, visit the
following MSDN Web site:
Modification Type: | Major | Last Reviewed: | 7/29/2005 |
---|
Keywords: | kbvs2002sp1sweep kbbug kbManaged kbpending KB326721 |
---|
|