Please note that the recommended version of Scilab is 2024.0.0. This page might be outdated.
However, this page did not exist in the previous stable version.
a scalar integer or a vector of integers
setbpt interactively inserts a breakpoint in the
linenumb (default value is 1) of the
linenumb can be a row or column vector of line
numbers, or a single scalar line number.
Line numbers in
physical line numbers in function
Note that Scilab versions before 5.0 used logical line numbers. The difference between physical and logical line numbers is the number of continued lines (see dot).
When reaching a breakpoint, Scilab evaluates the specified physical line and stops the execution flow. If the function is not compiled (see comp) the line is printed on the screen. Then Scilab goes into a pause mode in which the user can check current values. The pause is exited with resume or abort.
Redefining the function does not clear the breakpoints, the user must explicitly delete breakpoints using delbpt. The maximum number of functions with breakpoints enabled must be less than 100 and the overall maximum number of breakpoints is set to 1000.
|Report an issue|
|<< dispbpt||Debugging||where >>|