FIX: Expansion of Object References Displays a Blank Line

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 kbDebug kbide kbbuglist kbfixlist
Version           : 1.00 1.50 1.51
Platform          : WINDOWS
Solution Type     : kbfix


Last Reviewed: September 23, 1997
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.