Run script in a loop until error found


How can keep running my program in a loop and stop on error.

Basically I want to keep rerunning my program for some time to check that there is no error.

Is there a possible feature in pycharm ?

thank you

1 comment
Comment actions Permalink


Have you tried debugger? It will stop at exception automatically, if any appears in the code.

You could also use conditional breakpoints


Please sign in to leave a comment.