Happy !

hernan / WatchIt

Project infos

License MIT
Tags debugger
Creation date 2013-07-07
Website

Monticello registration

About WatchIt

This adds a 'watch it' choice to the context menus in text editors. This will take the selection, make a BlockContext out of it, and give you a Morph that will display the value of that block every half second. It can be used, for instance, from the Debugger to display an instance variable as your program runs. Test 1: Paint this and select "watch it" from the menu:

World currentHand cursorPoint

Test 2: "debug it" to the following, once inside the debugger, paint the "collection", select "watch it" and voilĂ !

| collection |
collection := #(1 2 3 4) asOrderedCollection.
collection add: 88.
collection add: 99.
collection