Stop at the buggy code for a prompt for user intervention. Users can put new code right at the spot where the problem occurs, remove any lines which will cause trouble, then continue execution without restarting the process.
Pitch
Suppose there's some code running for 4 hours and suddenly popping up for a bug, losing all the context. Traceback is there, and all you can do is some guess work trying to fix the bug and rerun the code for another 4 hours then hope for no bugs.
With resurrection debugging, code will stop when bug happens, and you can fix the bug, persist your patch to the disk with all context avaliable.
James4Ever0 commentedNov 7, 2022
•
edited
Feature or enhancement
Stop at the buggy code for a prompt for user intervention. Users can put new code right at the spot where the problem occurs, remove any lines which will cause trouble, then continue execution without restarting the process.
Pitch
Suppose there's some code running for 4 hours and suddenly popping up for a bug, losing all the context. Traceback is there, and all you can do is some guess work trying to fix the bug and rerun the code for another 4 hours then hope for no bugs.
With resurrection debugging, code will stop when bug happens, and you can fix the bug, persist your patch to the disk with all context avaliable.
Previous discussion
Discussed in python forum
For anyone wants more links: My note on this topic
The text was updated successfully, but these errors were encountered: