Up: GEOS SDK TechDocs | Up | Prev: twalk ... | Next: wclear ...

varwin

varwin <num-lines> <var-name> 

view

view [<args>]

Examples:

"view foo.goc"
Bring up foo.goc in the source window.

View a file in Swat.

See Also: view-default, srcwin.

view-default

view-default [patient]

Examples:

"view-default spool"
sets the default view to the spool patient.
"view-default"
turns off the view default.

If the view-default is set the view command will automatically look for source files from that patient. If it's not set then the view command will look for files from the current patient.

See Also: view, srcwin.

vistree

vistree [<address>] [<instance field>]

Examples:

"vistree"
print the visual tree starting at *DS:SI
"vistree -i"
print the visual tree under the mouse
"vistree @23 VI_optFlags"
print the visual tree with opt flags
"vistree *uiSystemObj"
starts the visual tree at the root of the system.

Print out a visual tree.

See Also: vup, gentree, impliedgrab, pobject.

vup

vup [<address>] [<instance field>]

Examples:

"vup"
print the visual object at *DS:SI and its ancestors
"vup @23 VI_optFlags"
print the states of object @23 and its ancestors
"vup -i"
print the visual object under the mouse and the object's ancestors

Print a list of the object and all of its visual ancestors.

See Also: vistree, gup, gentree, impliedgrab, pobject.

wait

wait

Examples:

"wait"
Wait for the target PC to halt.

This is used after the machine has been continued with "continue-patient" to wait for the machine to stop again. Its use is usually hidden by calling "cont" or "next".

See Also: brk, ibrk.

waitForPatient

var waitForPatient [(1|0)]

Examples:

"var waitForPatient 0"
Tells Swat to return to the command prompt after continuing the machine.

Determines whether the command-level patient-continuation commands (step, next, and cont, for example) will wait for the machine to stop before returning.

See Also: step, next, cont, int.

wakeup

Wait for a given patient/thread to wake up. WHO is of the same form as the argument to the "switch" command, ("help switch" to find out more). Leaves you stopped in the kernel in the desired thread's context unless something else causes the machine to stop before the patient/thread wakes up. WHO defaults to the current thread.

wakeup-thread

Subroutine to actually wake up a thread. Argument WHO is as for the "switch"command. Returns non-zero if the wakeup was successful and zero if the machine stopped for some other reason.


Up: GEOS SDK TechDocs | Up | Prev: twalk ... | Next: wclear ...