On Wednesday 12 July 2017 08:33 AM, horrido wrote:
But for the life of me, I can't figure out how to create new classes for my
application from within the Debugger. Must I create new classes using the
System Browser first before I can continue adding new methods from within
the Debugger? What's the recommended procedure for all this?
Not necessarily. In Pharo, everything happens through message sends.
Classes are created by sending any one of subclass:* family of messages
to the parent class. System Browser makes it convenient by adding a
template to its bottom text panel. Magic happens in the subclass:*
message sends.
When you "inspect" an object in the Debugger, a text panel will open up
along the right side where you can type in a command just like in System
Browser and "doIt". E.g. to create a subclass from Object.
Object subclass: ...
HTH .. Subbu