Debug your Scilab scripts directly in SciNotes!

Debugging your code shouldn’t mean adding disp() and pause statements everywhere or trying to guess what’s going wrong.

With the new debugger in SciNotes, available in the Scilab 2027.0.0, you can step through your scripts and understand what happens during execution, directly in your development environment.

What can you do with the new debugger ?

  • Set breakpoints to pause execution exactly where you want.

image

  • Inspect variable values by hovering over variable names during debugging.

  • Use conditional breakpoints to pause execution only when specific conditions are met.

  • Manage breakpoints easily by enabling, disabling or removing them, including across multiple files.

  • Whether you’re tracking down a tricky bug or simply trying to understand how your code behaves, the debugger makes the process more intuitive and efficient.

Ready to give it a try?

Open a script in SciNotes, set a breakpoint and start debugging with F5. Step through your code, inspect your variables and find out what’s really happening.

For more details, check out the help page scinotes_debugger

Give the new debugger a try and share your feedback with the community!

1 Like

This Scinotes integrated visual debugger is very practical, so it really makes the development more fluid, easy to locate and to understand the issue as it was brought by VScode extension for Scilab last year.

An advantage of debugging in Scilab IDE vs. in VScode is that it enables to keep the console open for quick check during the development.

The Scilab integrated variable browser and Tree_View could be improved to mimic these available in VScode where you can easily fold/unfold the variables to see the underlying tree structure as below.

Thank you for this great improvement !

David