|
From: | Paolo Bonzini |
Subject: | [Help-smalltalk] Re: GNU vs. Squeak vs. VW |
Date: | Fri, 20 Jul 2007 09:20:25 +0300 |
User-agent: | Thunderbird 2.0.0.4 (Macintosh/20070604) |
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
[Prev in Thread] | Current Thread | [Next in Thread] |