- Manuel Scilab
- Scilab
- Mots clef Scilab
- TMPDIR
- abort
- argn
- banner
- boolean
- break
- clear
- clearglobal
- comp
- debug
- errcatch
- errclear
- error
- exists
- exit
- external
- extraction
- getos
- getshell
- gstacksize
- ieee
- insertion
- inv_coeff
- iserror
- isglobal
- macr2tree
- matrices
- matrix
- mode
- mtlb_mode
- names
- null
- pause
- perl
- poly
- predef
- quit
- rational
- resume
- sciargs
- scilab
- stacksize
- startup
- symbols
- testmatrix
- type
- typename
- user
- varn
- what
- where
- whereami
- who
- whos
- with_atlas
- with_javasci
- with_macros_source
- with_pvm
- add_demo
- clearfun
- continue
- delbpt
- dispbpt
- edit
- error_table
- format
- funcprot
- funptr
- getdebuginfo
- getmd5
- getmemory
- getmodules
- getscilabmode
- getvariablesonstack
- getversion
- intppty
- lasterror
- macr2lst
- newfun
- readgateway
- setbpt
- ver
- warning
- who_user
- with_module
- with_texmacs
- with_tk
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
However, this page did not exist in the previous stable version.
setbpt
set breakpoints
Calling Sequence
setbpt(macroname [,linenumb])
Arguments
- macroname
string
- linenumb
scalar integer or vector of integers
Description
setbpt
interactively inserts a breakpoint in the
line number linenumb
(default value is 1) of the
function macroname
.
linenumb
can be a line or column vector of line
numbers, or a single scalar line number.
Line numbers in linenumb
are
physical line numbers in function
macroname
. 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.
<< readgateway | Scilab | ver >> |