Up: GEOS SDK TechDocs | Up | Prev: continue-patient ... | Next: debug ...

dbrk

dbrk <addr> <num> [<command>|default]
dbrk set <break> <num> [<command>|default]
dbrk list [<break>]
dbrk {clear,delete} <break>
dbrk cur <break> <num>
dbrk max <break> <num>
dbrk cmd <break> [<command>]
dbrk reset <break>
dbrk enable <break>
dbrk disable <break>

Examples:

"dbrk ObjMessage 30"
Break at the 30th call to ObjMessage
"dbrk set 5 30"
Break after hitting brk5 30 times.
"dbrk set brk3 10 default"
Break after hitting brk3 10 times; Each time brk3 is hit, perform the default command.
"dbrk cmd brk2 {echo foo}"
Echo a string whenever brk2 is hit.
"dbrk cmd brk2 default"
Use the default command for brk2.
"dbrk disable 2"
Stop counting brk2; it will now always be taken.

This command creates "delayed" breakpoints, creating breakpoints that don't activate until they've been hit a specified nuber of times.

dcache

dcache bsize <blockSize>
dcache length <numBlocks>
dcache stats
dcache params
dcache (on|off)

Examples:

"dcache bsize 16"
Set the number of bytes fetched at a time to 16.
"dcache length 1024"
Allow 1024 blocks of the current block size to be in the cache at a time.
"dcache off"
Disables the Swat data cache.

Controls the cache Swat uses to hold data read from the target machine while the machine is stopped.

See Also: cache.

dcall

dcall [<args>]

Examples:

"dcall Dispatch"
Display when the routine Dispatch is called
"dcall none"
stop displaying all routines

Display calls to a routine.

See Also: showcalls, mwatch.


Up: GEOS SDK TechDocs | Up | Prev: continue-patient ... | Next: debug ...