GemTools Smalltalk Browser for MagLev
GemTools is a Smalltalk Development environment that can be used to view the Smalltalk source code built into the MagLev image. You can view the same information with Topaz (the built-in command line debugger/inspector), but GemTools provides a nice GUI for interacting with the image.
The GemTools download includes everything you need to run Pharo Smalltalk on Linux and OSX.
Unzip the archive. You should have a directory named
OSX users may want to move it to
Ensure the MagLev stone is running:
$ cd $MAGLEV_HOME $ rake maglev:start
netldiprocess is running:
$ cd $MAGLEV_HOME $ rake netldi:start
OSX users can either
open GemTools-1.0-beta.8.7-310x.appor open it from the Finder as a normal OSX app.
Linux users can run
Connect to MagLev
After the Pharo Smalltalk process opens, you’ll need to connect to the MagLev stone. To do that, select “MagLev” in the GemTools Launcher window, and then click “Login”.
The first time you login, you’ll be asked for your first and last name. This allows the Monticello source code system to know who is making changes (just like adding your user info into
Browse some source code
After you’ve logged into the image, you can look at some MagLev code by:
- Click the “Find…” button
- Select “Hierarchy browser”
- Enter “Kernel” into the dialog and hit enter (or click “Ok”).
You can explore the source code from here.
netldi between Smalltalk and MagLev
If you are a GemStone/S Smalltalk user, and would like Smalltalk and MagLev to use the same locks directory (one
netldi to rule them all), then run