debug
Debugging environment in Scilab
Syntax
debug()
Description
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 en error, execute script step by step, ...
When debug mode is active, prompt change to debug>
.
- (h)elp:
Show help on console
- help:
Show help on help browser when possible otherwise display help in console
- (q)uit:
Leave debug mode to return to normal mode of Scilab.
- (w)here or bt:
Display callstack.
- (e)xec:
(r)un:
Execute command.
- (d)isp var:
(p)rint var:
Display variable
var
. - (c)ontinue:
Continue execution.
- (a)bort:
Abort execution.
- step(n)ext or next:
Continue execution to next expression.
- step(i)n or in:
Continue execution to next expression in sub function.
- step(o)ut or out:
Continue execution to next expression in previous function.
- (b)reakpoint or break:
breakpoint function [line [condition]]
Add a breakpoint in a function at line
line
If a condition is specified, a breakpoint become enable only if condition is
%t
- (del)ete [n]:
Remove all breakpoints.
If n is specified, remove breakpoint #n
- enable [n]:
Enable all breakpoints.
If n is specified, enable breakpoint #n
- disable [n]:
Disable all breakpoints.
If n is specified, disable breakpoint #n
- (s)how [n]:
Show all breakpoints information.
If n is specified, show breakpoint #n
Examples
History
Version | Description |
6.0.0 | New version: console interface to Scilab 6 debugger. |
Comments
Add a comment:
Please login to comment this page.