The ability to search all of Squeak's method source (via the "method source with it" text menu selection) seems to be broken in the current 2.8alpha (updates through #1899).
About halfway through the search, an exception comes up in BlockNode>>printTemporariesOn:indent:, where the temporaries inst var equals nil. It looks like the culprit is probably update #1898, related to block temporaries.
By the way, is there some way to get a hold of the text of a debugger's error stack? I wanted to post some of the stack in this message, but I didn't see any easy way to do it. Something like "file out stack" or "edit stack text" added to the stack menu might be nice. I also used the Morphic halo to get to the PluggableListMorph's menu, but didn't see anything there either.
- Doug Way EAI/Transom Technologies, Ann Arbor, MI http://www.transom.com dway@mat.net, @eai.com
Doug Way dway@mat.net wrote...
By the way, is there some way to get a hold of the text of a debugger's error stack? I wanted to post some of the stack in this message, but I didn't see any easy way to do it. Something like "file out stack" or "edit stack text" added to the stack menu might be nice. I also used the Morphic halo to get to the PluggableListMorph's menu, but didn't see anything there either.
Ubetcha...
Among other things, Squeak writes the file... SqueakDebug.log ...whenever it brings up a debugger.
Browse implementors of... Smalltalk logError: aString inContext: aContext to: 'SqueakDebug.log' ...to see how it is done.
- Dan
About halfway through the search, an exception comes up in BlockNode>>printTemporariesOn:indent:, where the temporaries inst var equals nil. It looks like the culprit is probably update #1898, related to block temporaries.
Aehm, I think that was my fault. I fixed the pretty printer in #1898...
The exception occurs because the system eventually tries to search the decomplied source of "PlayWithMe1>>listPane1NewSelection:" which cannot be decompiled.
The short fix is to add a
temporaries _ #().
at the end of BlockNode>>statements:returns:. The real fix is queued for the next set of updates.
bye -- Stefan Matthias Aust // Bevor wir fallen, fallen wir lieber auf.
squeak-dev@lists.squeakfoundation.org