|
GEOS SDK TechDocs
|
|
pgs ...
|
pobjmon ...
pinst
pinst [<address>]
Examples:
-
"pinst"
- print the last master level of instance data of the object at *DS:SI
-
"pinst *MyObject"
-
print the last master level of instance data of MyObject.
-
"pinst -i"
- print the last master level of the windowed object at the mouse pointer.
Print out all the instance data to the last level of the object.
-
The <address> argument is the address of the object to examine. If not specified then pinst will use a default address. If you are debugging a C method, then the oself value will be used. Otherwise, *DS:SI is assumed to be an object.
-
This command is useful for classes you've created and you are not interested in the data in the master levels which pobject would display.
-
The following special values are accepted for <address>:
-
-a
- the current patient's application object
-
-i
- the current "implied grab": the windowed object over which the mouse is currently located.
-
-f
- the leaf of the keyboard-focus hierarchy
-
-t
- the leaf of the target hierarchy
-
-m
- the leaf of the model hierarchy
-
-c
- the content for the view over which the mouse is currently located
-
-kg
- the leaf of the keyboard-grab hierarchy
-
-mg
- the leaf of the mouse-grab hierarchy
-
pinst
prints out the same information as "pobj l".
See Also: pobject,
piv.
piv
piv <master> <iv> [<address>]
Examples:
-
"piv Vis VCNI_viewHeight"
-
print Vis.VCNI_viewHeight at *DS:SI
This prints out the value of the instance variable specified.
-
The <master> argument expects the name of a master level. The name may be found using
pobject
to print the levels, and then using the name that appears after "master part:" and before the "_offset".
-
The <iv> argument expects the name of the instance variable to print.
-
The <address> argument is the address of the object to examine. If not specified then *DS:SI assumed to be an object.
-
This command is useful for when you know what instance variable you want to see but don't want to wade through a whole pobject command.
See Also: pobject,
pinst.
Prints a keyboard map in assembly-language format.
plines
plines <start> [<obj-address>]
Examples:
-
"plines 12"
- Print lines starting at line 12.
-
"plines 12 ^l6340h:0020h"
-
Print lines starting at line 12 of object at given address.
Print information about the lines in a text object.
The printed line-starts are
not
correct.
See Also: ptext.
plist
Prints out a list of structures stored in an lmem chunk. It takes two arguments, the structure type that makes up the list, and the lmem handle of the chunk. e.g. plist FontsInUseEntry ds:di
pncbitmap
pncbitmap <address> <width> <height> [<no space flag>]
Examples:
-
"pncbitmap *ds:si 64 64 t"
-
print the bitmap without spaces
Print out a one-bitdeep noncompacted bitmap.
-
The <address> argument is the address to the bitmap data.
-
The <width> argument is the width of the bitmap in pixels.
-
The <height> argument is the height of the bitmap in pixels.
-
The <no space flag> argument removes the space normally printed between the pixels. Anything (like `t') will activate the flag.
See Also: pcbitmap.
pnormal
pnormal [-v]
Examples:
-
"pnormal -v"
-
Print out verbose information about the current normal transfer item.
Prints out information about the current "normal" transfer item on the clipboard.
If you give the "-v" flag, this will print out the contents of the different transfer formats, rather than just an indication of their types.
See Also: pquick,
print-clipboard-item.
pobjarray
pobjarray [<address>]
Examples:
-
"pobjarray"
- Print the array of ODs at *ds:si.
Print out an array of objects.
See Also: pbody.
pobject
pobject [<address>] [<detail>]
Examples:
-
"pobj"
- print the object at *ds:si from Gen down if Gen is one of its master levels; else, print all levels
-
"pobj *MyGenObject"
-
print MyGenObject from Gen down
-
"pobj Gen"
- print the Gen level for the object at *ds:si
-
"pobj last"
- print the last master level for the object at *ds:si
-
"pobj *MyObject"
-
all print all levels of MyObject
-
"pobj -i sketch"
-
print the master level headings of the windowed object at the mouse pointer
-
"pobj *MyObject FI_foo"
-
print the FI_foo instance variable for MyObject
-
"pobj HINT_FOO"
-
print the HINT_FOO variable data entry for the object at *ds:si
-
"pobj v"
- print the variable data for the object at *ds:si
Print all or part of an object's instance and variable data.
-
The <address> argument is the address of the object to examine. If not specified then oself is used, unless the current function is written in assembly, in which case *DS:SI .
-
The following flag values are accepted in lieu of an address:
-
-a
- the current patient's application object
-
-i
- the current "implied grab": the windowed object over which the mouse is currently located.
-
-f
- the leaf of the keyboard-focus hierarchy
-
-t
- the leaf of the target hierarchy
-
-m
- the leaf of the model hierarchy
-
-c
- the content for the view over which the mouse is currently located
-
-kg
- the leaf of the keyboard-grab hierarchy
-
-mg
- the leaf of the mouse-grab hierarchy
-
The
detail
argument specifies what information should be printed out about the object. If none is specified, all levels of the object from the Gen level down will be printed if Gen is one of the object's master levels; else, the whole object will be printed.
-
The following values are accepted for
detail
:
-
all
(or
a
)
-
all master levels
-
last
(or
l
)
-
last master level only
-
sketch
(or
s
)
-
master level headings only
-
vardata
(or
v
)
-
vardata only
-
a master level name
-
an instance variable name
-
a variable data entry name
See Also: pinst,
piv,
pvardata.
|
GEOS SDK TechDocs
|
|
pgs ...
|
pobjmon ...