See section 4.3 "Smalltalk interactor mode" in (gst.info)Interactor::.
It provides a similar experience to the run-lisp interface you describe.
I do not describe all its features; please see that node.

After running M-x gst, I mostly rely on C-c f, which files in a file,
defaulting to the current.  I occasionally use C-c c, which sends the
current method, when trying to fix test failures.

The same, together with prints.

There's also a crude gdb-like debugger, but it's not that much of a performance boost.

Needless to say, unit tests are fundamental if debugging is a little harder. Up to a while ago I was lazy and used a "test" method which had to print only "true"s, but now I saw the light and many more GST packages come with SUnit testsuites (more on that next week).

Paolo


_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to