Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Class(y) - <b>inspecting objects in the debugger</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
    Inspecting Objects in the Debugger
------------------------------------------------------------------------------

    To support the expanded capabilities Class(y) provides over Clipper,
    three enhancements have been made to the way in which objects appear
    when viewed using the Clipper debugger's object inspector:

    . Viewing Class Variables

    When viewing an object whose class has class variables, a 'phantom
    instance variable' called 'class' will appear (in lower case) at the
    end of the normal list of instance variables.  Selecting this instance
    variable will display a list of the class variables for that object's
    class.  To see an example of this, try inspecting the OBOX variable in
    the example program HERITEST.

    . Viewing Superclass Variables

    If the object being viewed belongs to a class which has a superclass,
    the name of the superclass will appear in lower case in the instance
    variable list (as with class variables above).  Selecting this entry
    will display the superclass' instance variables as a separate object.
    This enhancement cleans up object inspection dramatically.

    . Anomaly

    There is an 'anomaly' in the Clipper debugger in version 5.01: if an
    object only has one instance variable, the instance variable name is
    not displayed.  To remedy this, Class(y) causes a dummy instance
    variable to appear in the instance variable list in such cases. The
    name of this dummy variable is "__________".  Its value is NIL.  Try to
    ignore this variable.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson