next back next

button functions

The common functions are available in a row of buttons:

continue
continue execution
The process continues execution where it was stopped originally.

terminate
terminate the erronous process.
This is a soft terminate, in that the process gets a chance to perform its cleanup actions (see stack unwinding and signal handling). If the process is one controlling a view (actually a windowGroup), its views will be closed.
This function is not available for modal debuggers (because this would terminate the event dispatcher or scheduler).

abort
abort the current activity (if possible)
This function simply raises the abortSignal, which is cought by most processes at some save places. For example, workspaces catch this signal when executing a 'doIt' expression, the fileBrowser while filing in code or the event dispatcher when dispatching an event. Pressing 'abort' will break out and return to this save place.

Typically, this is equivalent to a resume of the corresponding handler contexts sender.

next
single step for next sourceline
Let the process continue execution, until the current source line changes in the selected context. Due to the implementation, single stepping may be a bit slow, if many computations are done in called methods.
This function is not available for inspecting debuggers.

step
single step for send in this method
Let the process continue execution, until the next message send is performed in the selected context. Due to the implementation, single stepping may be a bit slow, if many computations are done in called methods.
This function is not available for inspecting debuggers.

send
single send
Let the process continue execution for one message send - showing every message send.
This function is not available for inspecting debuggers.

return
return from this method
continue execution as if the selected context returned - effectively "jumping out" and returning from this context (i.e. simulate a '^ nil' from the selected context).
If there is a selection in the codeview, which forms a valid expression, that value is used as return value. Otherwise the method returns nil to its sender.

In the current ST/X implementation, this function cannot be performed on block contexts.

restart
restart this method
continue execution by restarting the selected context.

In the current ST/X implementation, this function cannot be performed on block contexts.