News for hackers. Stuff that matters.
Re:Dart language by drothlis on Monday October 10, 2011 @08:44AM (#3093509)
Certainly feasible: Smalltalk debuggers do this. And Smalltalkers (allegedly) use a workflow just like you describe.
Re:Dart language by cwp on Tuesday October 11, 2011 @12:33AM (#3097119)
Yup. I often do something like this:

  - write a test for a method that isn't there yet
  - run it, get a red bar, as expected
  - run it in debug mode, and get a debugger
  - write the method implementation in the debugger
  - possibly write other methods that the new method calls, also in the debugger
  - resume the program, get a green bar
Writing code in the debugger is great, because you've got all the runtime state right in front of you, and you can step through the code you're working on. I'd love, love, love to see this in Dart.
Re:Dart language by danmaz74 on Wednesday October 12, 2011 @06:13AM (#3102290)
But, is it possible to step backwards from the current state of the VM, to execute a changed code?
Re:Dart language by danmaz74 on Monday October 10, 2011 @10:46AM (#3093972)
I read about this, and even tried downloading squeak once, but didn't find it very compelling. I admit that I might not have given it the time it needed, though...
Re:Dart language by drothlis on Tuesday October 11, 2011 @08:13AM (#3098220)
A few weeks ago I whipped up this 3-minute video showcasing a Smalltalk class browser, method finder, and debugger: http://vimeo.com/27850933