Up: GEOS SDK TechDocs | Up | Prev: noStructEnum ... | Next: patchin ...

objmessagebrk

objmessagebrk [<address>]

Examples:

"objmessagebrk MyObj"
break whenever a message is sent to MyObj
"objmessagebrk"
stop intercepting messages

Break whenever a message is sent to a particular object via ObjMessage.

See Also: objwatch, mwatch, procmessagebrk, pobject.

objwalk

objwalk [<address>]

Examples: "objwalk"

Prints out information about an object block.

See Also: lhwalk, pobject.

objwatch

objwatch [<address>]

Examples:

"objwatch ds:si"
watch the messages which reach the object at DS:SI
"objwatch MyObject"
watch the messages which reach MyObject
"objwatch"
Watch the messages which reach the process object.

Display message calls that have reached a particular object.

See Also: brk, mwatch, objmessagebrk, procmessagebrk, pobject.

omfq

omfq <message> <object> <args>* 

Examples:

"omfq MSG_META_QUIT *HelloApp"
Sends MSG_META_QUIT to the * HelloApp object.

Forces a message for an object onto its event queue.

See Also: call.

pappcache

pappcache

Examples:

"pappcache"
Print out current state of the app-cache

Prints out the current state of the system application cache, for systems operating in transparent launch mode.

Specifically, this command prints out:

patch

patch [<addr>]
patch del <addr>*

Patch assists in creating breakpoints that invisibly make small changes to code. This can help the programmer find several bugs without remaking and redownloading.

Patch Command Set

Form Meaning Example
<reg> = <value> assign value to regax = bx dl = 5
push <reg>|<value>push valuepush ax push 45
pop <reg>|<value>pop valuepop ax pop 45
poppop nothing (sp=sp+2)pop
jmp <address>change ipjmp UI_Attach+45
scall <address> <regs>call routine (save)scall MemLock ax = 3
mcall<address> <regs>call routine (modify)mcall MemLock ax = 3
xchg <reg> <reg>swap two registersxchg ax bx
set <flag>set condition flagset CF set ZF
reset <flag>reset condition flagreset CF reset ZF
if <flag>if flag set then ...if CF
if !<flag>if flag reset then ...if !ZF
if <expr>if expr then ...if foo == 4
else
endif
retmake function returnret
$terminate input
aabort
<other>tcl commandecho $foo

<flag> is taken from the set TF, IF, DF, OF, SF, ZF, PF, AF, CF and must be in upper-case.

The "scall" command has no effect on the current registers (not even for purposes of return values), while the "mcall" command changes whatever registers the function called modifies. See the "call" documentation for the format of <regs>.


Up: GEOS SDK TechDocs | Up | Prev: noStructEnum ... | Next: patchin ...