|
|
Use the quit (q) or quitif command to exit SCODB:
q address /* Quit debugger */ quitif expression /* If (expression) then quit */The debugger is exited by using q. If address is given, execution resumes there, otherwise the debugger makes a normal function return back to its calling point.
The quitif form is very useful in breakpoint command lists. If the given expression evaluates to a non-zero value, control returns to the kernel as in q.