The Hammer of the Gods…

The hammer of the gods will drive our ships to new lands,
To fight the horde, singing and crying: Valhalla, I am coming!

Led Zeppelin – Immigrant song

Well there, welcome.

I am here to tell you a little bit of my experience during my Google Summer of Code project.

And what is it about? The not despicable process of improving Pharo‘s Debugger. There’s a lot to be done, but me and my mentors think that it’s a very important task, being the debugger a tool to introspect the system and which provides (or would be able to provide) so much information… our true Hammer of the Gods.

So, first things first: the actual state of the art of the debugger.

There are already some things done: the old debugger was (is) quite a mess,  there wasn’t a separation between de UI and the model. So Pharo guys started a new debugger, with a new and fresh UI, separated from the model. The idea is to provide a robust, smart debugger model that can be attached to any UI you can think of; being the default the one made in Spec.

And here is where I came in 🙂  The first step towards a better debugger is, as you might realize, to continue cleaning up the code. As a part of it, there are also some features the old debugger had that are still missing in the new one, so they have to be added. For instance, at the moment I’ve added tests, and I’m adding support for handling post-mortem contexts (contexts that have no longer a process attached).

In that regard, I had to get to know the internals of the debugger. It’s proving to be an interesting challenge for me to think of processes and contexts and getting my hands into them, since I’m much more used to work with other abstractions, closer to the “bussiness logic”. Also I have to get to be friends with Spec, since my little incursions into UI design in smalltalk have all been done in Morphic.

And then, once we get the new debugger as good as the current one, comes the fun(nier) part: calling Heimdall to open the Bifröst.

But that’s another post’s tale 🙂

By clariallende

4 comments on “The Hammer of the Gods…

  1. Did you check the latest model of UI made by andrei in Pharo30.
    What would be really nice is also to look at Reflectivity since it should just be pushed into Pharo 3.0 alpha.
    What is important is that if you improve the system, the changes should be pushed in 30.

    • Hi Stef! Glad to hear from you 🙂
      Yes, I did, I am constantly in touch with Andrei, actually the next post will be about the new debugger model, because I want to gather all the explanations he gave me through skype and write them down, to be used as documentation 🙂

      As for Reflectivity, yes, it is on my backlog of things to take a look at 🙂

      All in all, I’m working on Pharo30 and pushing on Andrei and Marcus’ debugger repo.

      Thanks a lot for the feedback, I really appreciate it.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s