mardi 4 août 2015

Live patching in python

I have a python test, which setUp function takes a lot of time (a few hours). My test function fails, and to debug it and check how to fix the exception, I use pdb.

Problem is when I have an exception in one line, I fix it with pdb and change the test function, I need to run the test all over again, including the very long setup, in order to get to the next line and check it, and then all over again (it throws an exception, reach it with pdb, fix, etc.).

Is there a way to live patch my script, and to continue to the next line without running the hall script all over again?

Aucun commentaire:

Enregistrer un commentaire