Run script in a loop until error found

Answered

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

Hi,

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

You could also use conditional breakpoints https://www.jetbrains.com/help/phpstorm/using-breakpoints.html?_ga=2.19657528.1035227312.1566806262-1008440075.1542195451

0

Please sign in to leave a comment.