I have a question about how do you do when you want to restart JSL code after fixing an error part. I got this question at JMP Discovery Summit Japan last week.
Do you know good practices to program a long JSL code, detect errors, and fixing them smoothly in JMP?
The original question is whether you can change a JSL code and restart it without restarting from the beginning in the JSL Debugger. Please see the folloing screen shot as an example. The error happens at the 4th line. The user wants to change this error part and restart it without running the first two line (x=1; and Show(x);).

He sometimes do very heavy process with JSL on JMP, and he doesn't want to do the same thing again from the beginning.
As far as the user and I check, there is no way to do such restarting in the JSL Debugger. We need to stop the JSL Debugger, fix it in the Script Editor, and redo all codes from the beginning.
In Jupyter Notebook and Google Colab for programming R and Python, you can separate your long code into several small parts, and you can run only problematic part in which error happens without running from the begining.
I myself put many "Throw()" function in order to see where error happens when I program a long JSL code. But it's not elegant.
I will thank you for any idea, tricks or advice.