Up: GEOS SDK TechDocs | Up | Prev: memsize ... | Next: objmessagebrk ...

noStructEnum

var noStructEnum [(0|1)]

Examples:

"var noStructEnum 1"
Don't put "struct" or "enum" before the data type for variables that are structures or enumerated types.

Structure fields that are structures or enumerated types normally have "struct" or "enum" as part of their type description. This usually just clutters up the display, however, so this variable shuts off this prepending.

The default value of this variable is one.

See Also: print.

null

null <val>

Examples:

"null $sym"
Sees if the symbol token stored in $sym is the empty string or "nil."

Checks to see if a string is either empty or "nil," special values returned by many commands when something isn't found or doesn't apply. Returns non-zero if <val> is either of these special values.

The notion of "nil" as a value comes from lisp.

See Also: index, range.

objbrk

objbrk [<obj address>] [<message>]

Examples:

"objbrk ds:si MSG_VIS_DRAW "
break when a MSG_VIS_DRAW reaches the object
"objbrk -p"
Break when any message is sent to the process object.

Break when a particular message reaches a particular object.

See Also: objwatch, objmessagebrk, mwatch.

obj-class

objclass <obj-addr>

Examples:

"var cs [obj-class ^lbx:si]"
Store the symbol token for the class of the object ^lbx:si in the variable $cs.

Figures out the class of an object, coping with unrelocated object blocks and the like.

See Also: symbol.

objcount

objcount [-q] [-X] [-Y] [-b #] [-o #] [-p #]

Examples:

"objcount"
count all objects
"objcount -p welcome"
count all objects owned by welcome
"objcount -o *desktop::DiskDrives"
count this one object
"objcount -b 0x3270"
count all objects in this block.

Count up instances of various objects on the heap.

See Also: hwalk, objwalk, lhwalk.

obj-foreach-class

obj-foreach-class <function> <object> [<args>]

Examples:

"obj-foreach-class foo-callback ^lbx:si"
calls foo-callback with each class in turn to which the object ^lbx:si belongs.

Processes all the classes to which an object belongs, calling a callback procedure for each class symbol in turn.

See Also: obj-class.


Up: GEOS SDK TechDocs | Up | Prev: memsize ... | Next: objmessagebrk ...