4 ms·
How is this more powerful than what I can already do in PTVS or PyCharm? I can move around the current executing line freely back-and-forth!
by denfromufa 10y ago
How is this more powerful than what I can already do in PTVS or PyCharm? I can move around the current executing line freely back-and-forth!
- deleted 10y ago[deleted]
- corysama 10y agoI believe in PTVS you can set the current executing line higher up in a function and execute those lines again, thus further mutating the state of the program. But, with this, you can roll back to earlier points of execution. Thus, un-mutating the state of the program. You can continue to roll backwards in execution to before the function was called, further and further until you observe some earlier code making a change that eventually led to the problem you are debugging.
- denfromufa 10y agoThen I guess http://www.pythontutor.com http://www.pythontutor.com could do this long before!
- corysama 10y agoCan it do this for arbitrary programs running on your command line?
- denfromufa 10y agoNot sure, seems only in browser
- Veedrac 10y agoPython Tutor is different; it records a very small subset of the information available. You can't, say, reverse and then run some introspection code.