I have some code that doesn't follow very good coding practices, which I've been asked to review and modify. It interfaces with another program, which it uses to setup and run simulations.
As it takes a very long time for the program to setup these simulations in memory (30m to 1h), every time I hit an un-handled exception in Python, it takes another 30-minutes to 1-hour for me to re-start from the beginning of the Python script.
Is there any way in Visual Studio Code//Python, to... 1) pause at an un-handled exception, then 2) correct the bad-line of code, and finally 3) continue execution (re-running that line)?
This would save me a tremendous amount of time. I understand it's probably not best practice, but deadlines are pretty tight on this one. Any ideas?