Breakpoints and deff are incompatible 1. Exec the following sci file: fu
Reported by François VOGEL
-- Bug description --
Breakpoints and deff are incompatible
1. Exec the following sci file:
function deff_bpt_test()
d = 1000;
deff('[x]=myplus(y,z)','x=y+z');
d = 5555;
endfunction
2. In the Scilab shell, type:
setbpt("deff_bpt_test",2)
setbpt("deff_bpt_test",4)
deff_bpt_test()
Scilab then stops correctly at line 2 of function
deff_bpt_test. You can check at this point that d is equal
to 1000 (correct).
3. BUT now type resume in the shell.
deff_bpt_test resumes execution but ignores the breakpoint
set at line 4 (wrong!)
If line 3 of deff_bpt_test() is replaced by something else
than a function definition (deff), then it works nicely.
François
-- Scilab error message --
N/A
-- How to reproduce the bug --