|
GEOS SDK TechDocs
|
|
scope ...
|
smatch ...
showcalls
showcalls [<flags>] [<args>]
Examples:
-
"showcalls -o"
-
show all calls using ObjMessage and ObjCall*
-
"showcalls -ml"
-
show all calls changing global and local memory
-
"showcalls"
- stop showing any calls
Display calls to various parts of GEOS.
-
The <flags> argument determines the types of calls displayed. Multiple flags must all be specified in the first argument such as "showcalls -vl". If no flags are passed then showcalls stops watching. The flags may be any of the following:
-
-p
- Modify all other flags to work for the current patient only
-
-a
- Show calls associated with attaching, detaching, state-saving, restoring from state
-
-b
- Monitors builds of Vis objects
-
-d
- Show dispatching of threads
-
-e
- Show FOCUS, TARGET, MODAL . exclusive grabs & releases
-
-f
- Show certain file operations
-
-g
- Show geometry manager resizing things (all sizes in hex)
-
-h
- Show all hierarchical exclusive grabs and releases (associated with focus, target, and model).
-
-i
- Show call far calls made to movable routines.
-
-l
-
Show local memory create, destroy, relocate
-
-m
- Show global memory alloc, free, realloc
-
-o
-
Show
ObjMessage()
and
ObjCall
...
()
-
-s
- Monitors shutdown:
MSG_DETACH
,
DETACH_COMPLETE
,
ACK
,
DETACH_ABORT
-
-t
- Show clipboard activity
-
-v
- Show video driver calls
-
-w
-
Show
WinOpen()
,
WinClose()
,
WinMoveResize()
,
WinChangePriority()
.
-
-F
- Show file-change notifications produced by the system.
-
-G
- Show
GrCreateState()
and
GrDestroyGState()
.
-
-H
- Show heap space allocation (using .gp heapspace values, not actual allocation values)
-
-I
- Show invalidation mechanism at work.
-
-L
- Show library loading calls
-
-N
- Show navigation calls (between fields, and between windows)
-
-S
- Show stack borrowing activity.
-
-T
- Show text-object related information.
-
-V
- Show loading and unloading of resources to and from statefiles during shutdown.
-
The<args> argument is used to pass values for some of options.
See Also: mwatch,
objwatch.
showMethodNames
var showMethodNames
If this variable is non-zero, Swat prints out the names of the method in the AX register when unassembling a message call.
skip
skip [<number of instructions>]
Examples:
-
"skip"
- skip the current instruction
-
"skip 6"
- skip the next six instructions
Skip one or more instructions.
-
The <number of instructions> argument defaults to one if not specified.
See Also: istep,
sstep,
patch.
sleep
sleep <seconds>
Examples:
-
"sleep 5"
- Pauses Swat for 5 seconds.
This pauses Tcl execution for the given number of seconds, or until the user types Ctrl-C.
-
Messages from the PC continue to be processed, so a FULLSTOP event will be dispatched if the PC stops, but this command won't return until the given length of time has elapsed.
-
<seconds> is a real number, so "1.5" is a valid argument.
-
Returns non-zero if it slept for the entire time, or 0 if the sleep was interrupted by the user.
slist
slist [<args>]
Examples:
-
"slist"
- list the current point of execution
-
"slist foo.asm::15"
-
list foo.asm at line 15
-
"slist foo.asm::15,45"
-
list foo.asm from lines 15 to 45
List source file lines in swat.
-
The args argument can be any of the following:
-
<address>
- Lists the 10 lines around the given address
-
<line>
- Lists the given line in the current file
-
<file>::<line>
-
Lists the line in the given file
-
<line1>,<line2>
-
Lists the lines between line1 and line2, inclusive, in the current file
-
<file>::<line1>,<line2>
-
Lists the range from <file>
-
The default is to list the source lines around CS:IP.
See Also: listi,
istep,
regs.
|
GEOS SDK TechDocs
|
|
scope ...
|
smatch ...