Has anyone figured out a magic way to save the state of a python program so I can: 1. Enter post mortem debugging afterward as many times as I want without rerunning the program? 2. Everything in (1) but other people to enter post mortem debugging remotely in the same way
See
@rogarcia_sanz's library, flor, from Berkeley RISELab
@ucbrise. github.com/ucbrise/flor. Targeted at ML training but may be a good start
For the youngsters, this is exactly what a core dump is for in C/C++ land. I'm not aware of anything like that for python though. Maybe a "python core dump pdb" search may find something?


