Debugging environment in Scilab
debug()
Use to debug Scilab script.
After call of debug()
, you enter in debug mode.
This mode allows you to manage breakpoints
,
launch execution with stop on error, execute script step by step, ...
In debugging mode, the prompt is debug>
.
Show always the debuger help in the console, whatever is the Scilab running mode.
In Scilab standard running mode (with GUIs), displays the debug() help page in the help browser. Otherwise, displays the help in the console (as with "h").
Leave debug mode to return to normal mode of Scilab.
Display callstack.
Execute command.
Display variable var
.
Continue execution.
Abort execution.
Continue execution to next expression.
Continue execution to next expression in sub function.
Continue execution to next expression in previous function.
breakpoint function [line [condition]]
Add a breakpoint in a function at line line
If a condition is specified, the breakpoint is enabled only if the condition
is %t
Remove all breakpoints.
If n is specified, remove breakpoint #n
Enable all breakpoints.
If n is specified, enable breakpoint #n
Disable all breakpoints.
If n is specified, disable breakpoint #n
Show all breakpoints information.
If n is specified, show breakpoint #n
Version | Description |
6.0.0 | New version: console interface to Scilab 6 debugger. |