Y
Hacker News
new
|
ask
|
show
|
jobs
by
nitrogen
3631 days ago
I believe Visual Studio does this by simply rewinding to the function entry point which addresses most of the concerns you've raised.
Live recompilation in Java (at least in Eclipse) behaves basically the same way.