Hi, I have a script doing some computation and save some invisible plots into image files inside a for-loop on a linux server.
When I run the script, it usually get stuck in somewhere in the middle. I am not sure where exactly it stopped, but I can know at which iteration of the for-loop it stops by print-out. if I rerun it from the iteration where it stopped, it could continue to run past that place. So it seems to me there is no bug.
I just wonder how I can identify at which line it stops?
what might be the cause of the problem and how I can run the whole script from the beginning till the end?
Thanks!
UPDATE:
I use dbstop
dbstop if error
dbstop if warning
run path2script
The running still gets stuck somewhre and no message is given regarding why.