19 ms·
rr is magic. Unfortunately I have no use for it since I'm not programming C/C++ anymore. Do you have good experiences with useful (non prototype) reverse debug
by neves 5y ago
rr is magic. Unfortunately I have no use for it since I'm not programming C/C++ anymore.
Do you have good experiences with useful (non prototype) reverse debuggers for Python, or Java or Javascript? I would like not just links to projects that you can google for, but real world experience telling if something is useful or not.
- kevincox 5y agorr should work on Python, but you need to make sure that you have all of your GDB config set up to properly interact with python objects so that you aren't dealing with the raw CPython too much. GDB plugins are very powerful and if you find the right ones you can have an excellent experience in just about any language. (I don't know the current state of Python but a number of years ago it was pretty acceptable). However it probably will never be quite as convenient as IPDB on pure-python code. So in the past I have switched back and forth, using IPDB for the simpler stuff and breaking out rr+GDB when I needed advanced features (like time travel)
- iudqnolq 5y agoThis is just a link, sorry, but undo.io has "call for a quote" reverse debugging for Java. I've used pernos.co (~$4 per execution) a little on Rust. They claim to also support JavaScript running on v8, but are geared toward debugging javascript that interacts with native code. They don't have good support for debugging interacting with the dom.