3 ms·
Doesn't solve the problem. The same function can get called a 1000 times and take different paths each time. Which method is your hypothetical rewinding debugg
by statictype 15y ago
Doesn't solve the problem.
The same function can get called a 1000 times and take different paths each time. Which method is your hypothetical rewinding debugger going to show? (Leaving aside the big gaping hole of how your program is executing while you are typing it out).
The problem of deciding which method actually gets called by static analysis in a text editor (and it would have to be static analysis) is literally impossible for dynamic languages - pretty much by definition.
- modeless 15y agoYou are far too pessimistic; a few very simple heuristics would work great in most cases. It doesn't have to be perfect. Something imperfect would be miles better than nothing, which is what we have now for dynamic languages.