Scilab IDE alternatives not working!

I installed the ‘scilab language support’ extension from the vscode market place a few weeks ago and it had been working fine most of the time. Then, starting last week, it started saying “Scilab connection problem. Open launch.json?” when I try to start a new debug session. But it used to work again when I try again or when I restart Vscode. But now, it rarely works. Also, sometimes it does successfully run the script (display the plots) but the intellisense (auto-complete) is gone or the plotting doesn’t work again. And when I end the debug session and I try to execute another file, it fails to launch altogether. Does anyone else experience issues like these? I was really excited to write scilab from VScode because the editor is so much better! Thanks for any comment in advance!
PS: Extra info: Scilab version 2025.0.0, I tried reinstalling the extension but that didn’t work. My PC is Windows 10.
The error message I get the most is “Scilab quit with status 3221225477”, whatever that means…

Hi Maverick,

If I understand well, what you describe happens only when running a debug session.

There are some points I would like you to check:

  • Is your script running well in Scilab without VSCode?
  • Can you provide the content of the logs displayed in the output panel?
  • Can you check the status located in the bottom right by clicking on {}:
  • Have you installed toolboxes?

Thanks,
Cédric

Thanks for replying, Cedric,
Yes, the scripts all run well on Scilab’s native editor. It has never crashed.

Here is the output logs after a launch failure:
Scilab Debug Adapter:

Scilab Extension Logs:

I couldn’t find ‘Scilab Language Server’ in the drop-down menu under Ouput.
Status:

As for the toolboxes, I have 4 installed.

Coselica 2024.0.0-1
odesolver 0.1.0
mingw 10.3.1
SIMM 0.6.2.2
However SIMM doesn’t seem to work (doesn’t display plots after simulation) so I removed it from autoload. Also, the connection problem on VScode started before I installed SIMM so I don’t that’s it. Anyway, I hope this helps…
Till next time,
Nahom

Hi Nahom,

Can you check that you are on the good version of the extension?

In the Scilab Extension Logs, you should have at least “Testing Scilab” with the command used to test the Scilab startup, followed by the startup log of all installed toolboxes.
Here is my log:

Because you have no “Scilab Language Server” logs, I think something’s wrong when Scilab is tested.