To Display The Members Of A C+ + Class; To Display The Values Of All Members Of A C+ + Object - HP 68000 Series User Manual

Debugger/simulator
Table of Contents

Advertisement

Chapter 4: Viewing Code and Data
Using Expressions

To display the members of a C+ + class

• Using the command line, enter
Symbol Display Options Search_all End_Options
< class_name >\
This will display the type, size, protection, and overloading of each member of
class_name.
Example
To display the members of class C, enter:
Symbol Display Options Search_all End_Options C\
To display the values of all members of a C+ +
object
• Enter the name of the C+ + object in the entry buffer and select
Display→Var/Expression ().
Or:
• Using the command line, enter:
Expression Display_Value < object >
Remember, you are displaying the values in an object, so you need to run the
program to the point where the object is created. To display the members of a
class, see "To display the members of a C+ + class."
Example
To display the members of object cobj in class C, enter "cobj" in the entry
buffer and select Display→Var/Expression ().
154

Advertisement

Table of Contents
loading

This manual is also suitable for:

B1466

Table of Contents