FIX: Expansion of Object References Displays a Blank Line

Last reviewed: September 18, 1997
Article ID: Q116463
1.00 1.50 1.51 WINDOWS kbtool kbfixlist kbbuglist

The information in this article applies to:

  • The Visual Workbench Integrated Debugger included with: Microsoft Visual C++ for Windows, versions 1.0, 1.5, and 1.51

SYMPTOMS

When trying to expand a reference to an object in the watch or locals window of the Visual Workbench or CodeView, the expansion may consist of only a blank line.

RESOLUTION

To work around the problem, cast the reference (in the watch window) as a pointer to the class. For example, if you are trying to expand a reference defined as "CRect &rect", place a watch on the expression "(CRect*)rect" (without the quotes). The debugger should be able to expand this expression.

STATUS

Microsoft has confirmed this to be a bug in the products listed at the beginning of this article. This problem was correct in Visual C++ for Windows, version 1.52.


Additional reference words: 1.00 1.50
KBCategory: kbtool kbfixlist kbbuglist
KBSubcategory: WBDebug
Keywords : kb16bitonly WBDebug kbbuglist kbfixlist kbtool
Version : 1.00 1.50 1.51
Platform : WINDOWS
Solution Type : kbfix


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: September 18, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.