Object Variables Return "(Object)" in Debug Window

Last reviewed: August 13, 1997
Article ID: Q131408
3.00 WINDOWS kbprg

The information in this article applies to:

  • Microsoft Visual FoxPro for Windows, version 3.0

SUMMARY

In the debug window, an entry may have the value of "(Object)."

MORE INFORMATION

An entry in the debug window will have a value of "(Object)" if it refers to an object, not a property of an object. For example, if you enter the following in the debug window, the value will be (Object), because it references the Form object not a property of that form:

 _SCREEN.ACTIVEFORM

On the other hand, if you place _SCREEN.ACTIVEFORM.NAME in the debug window, the value will be the name of the form.

Run a form and place _SCREEN.ACTIVEFORM and _SCREEN.ACTIVEFORM.NAME in the debug window to see the difference.

For more information about debugging forms, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q129425
   TITLE     : Form Debugging Tips


Additional reference words: 3.00 VFoxWin
KBCategory: kbprg
KBSubcategory: FxprgClassoop
Keywords : FxprgClassoop kbprg
Version : 3.00
Platform : WINDOWS


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: August 13, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.