Closed micharaze closed 5 years ago
Hey Michael,
If that's the entire program then yes. The debugger will be killed before the plot is finished.
That's by design. If I don't kill the process on exit they you would have to kill it yourself.
In my opinion I prefer to have the debug session cleanup after itself. If you want to see the plot you could add a waitforbuttonpress;
as the last line of the program.
I could add a flag to the launch.json to prevent the extension from killing octave on exit. But the work between setting that in your launch.json versus just using waitforbuttonpress;
doesn't seem to be worth it.
Thanks for the fast response!
When starting the code, no plot is displayed:
Works only if i add an
pause
to the end.VS Code version: 1.28.2