|
GEOS SDK TechDocs
|
|
print-cell ...
|
ptext ...
printRegions
var printRegions [(0|1)]
Examples:
-
"var printRegions 1"
-
If a structure contains a pointer to a region, "print" will attempt to determine its bounding box.
Controls whether "print" parses regions to find their bounding rectangle.
The default value for this variable is one.
See Also: print,
condenseSpecial.
print-row
print-row [<address *DS:SI>]
Examples:
-
"print-row"
- print the row at *DS:SI
-
"print-row ds:si"
-
print the row at DS:SI
Print a single row in the cell file given a pointer to the row.
See Also: print-column-element,
print-cell-params,
print-row-block,
print-cell.
print-row-block
print-row-block [<address ds>]
Examples:
-
"print-row-block"
-
print the row-block at DS:0
-
"print-row-block es"
-
print the row-block at ES:0
Print a row-block.
See Also: print-row,
print-cell-params,
print-column-element,
print-cell.
printStop
This variable controls how the current machine state is printed each time the machine comes to a complete stop. Possible values:
-
asm
- Print the current assembly-language instruction, complete with the values for the instruction operands.
-
src
- Print the current source line, if it's available. If the source line is not available, the current assembly-language instruction is displayed as above.
-
why
- Print only the reason for the stopping, not the current machine state. "asm" and "src" modes also print this.
-
nil
- Don't print anything.
procmessagebrk
procmessagebrk [<handle>]
Examples:
-
"procmessagebrk MyObj"
-
break whenever a message is sent to MyObj
-
"procmessagebrk"
-
stop intercepting messages
Break whenever a message is
sent
to a particular process via ObjMessage.
-
The <handle> argument is the handle to a process to watch for messages being sent to it. If no argument is specified then the watching is stopped. The process' handle may be found by typing "ps -p". The process's handle is the number before the process's name.
-
This command breaks whenever a message is sent (before they get on the message queue. This enables one to track identical messages to a process which can be removed.
See Also: objwatch,
mwatch,
objmessagebrk,
pobject.
ps
ps [<flags>]
Examples:
-
"ps -t"
- list all threads in GEOS.
Print out GEOS' system status.
The flags argument may be one of the following:
-
-t
- Prints out info on all threads. May be followed by a list of patients whose threads are to be displayed.
-
-p
- Prints out info on all patients. May be followed by a list of patients to be displayed.
-
-h
- Prints out info on all handles. May be followed by a list of patients whose handles are to be displayed.
-
The default is `-p'.
See Also: switch,
sym-default.
pscope
pscope [<scope-name> [<sym-class>]]
Examples:
-
"pscope WinOpen"
-
Prints out all the local labels, variables, and arguments within the
WinOpen()
procedure
This prints out all the symbols contained in a particular scope.
-
This can be useful when you want to know just the fields in a structure, and not the fields within those fields, or if you know the segment in which a variable lies, but not its name. Admittedly, this could be overkill.
-
sym-class
can be a list of symbol classes to restrict the output. For example, "pscope Filemisc proc" will print out all the procedures within the Filemisc resource.
See Also: whatis,
locals.
psize
psize <structure>
Examples: "psize FontsInUseEntry"
Print the size of the passed structure.
pssheet
pssheet [-isSfrcvd] <address>
Examples:
-
"pssheet -s ^l3ce0h:001eh"
-
print style attributes.
-
"pssheet -f -i 94e5h:0057h"
-
print file info from instance data.
Prints out information about a spreadsheet object.
-
If you are in the middle of debugging a spreadsheet routine and have a pointer to the Spreadsheet instance, the "-i" flag can be used to specify the object using that pointer.
-
If you simply have the OD of the spreadsheet object, use that.
-
Alternatively, you can do:
pssheet <flags> [targetobj]
See Also: content,
targetobj.
psup
psup [<object>]
Examples:
-
"psup"
- print superclasses of object at *ds:si.
-
"psup -i"
- print superclasses of object under mouse.
-
"psup ^l4e10h:20h"
-
print superclasses of object at ^l4e10h:20h.
Prints superclasses of an object.
If no object is specified, *ds:si is used.
See Also: is-obj-in-class.
|
GEOS SDK TechDocs
|
|
print-cell ...
|
ptext ...