Re:rr – record and replay debugger for C/C++
by leni536 on Sunday July 21, 2024 @08:20AM
(#41024581)
Interestingly gdb (and in turn rr) has some limited support for debugging python. At least you can get a python backtrace, but I didn't have success in setting pyhton breakpoints.
[ Parent
| on HN ]
Re:rr – record and replay debugger for C/C++
by laserbeam on Sunday July 21, 2024 @08:32AM
(#41024631)
Yeah, 'cause you're technically debugging the python interpreter. I've had some success with tracing tools designed for C/C++ for a python project. Was not easy to set up and will obviously include frames from the interpreter.
Tho, it feels wrong to expect a tool designed for native binaries to work well with python in this context. And that's ok. It feels lucky when it works as much as it does.
Re:rr – record and replay debugger for C/C++
by greg_law on Monday July 22, 2024 @03:08PM
(#41038497)
https://undo.io/resources/how-i-debug-python-code-with-a-tim...
"How I debug Python code with a Time Travel Debugger"
Works surprisingly well.