From: Bob Arning [arning@charm.net] Sent: Mittwoch, 21. Juni 2000 22:01 To: karl.ramberg@chello.se; squeak@cs.uiuc.edu Subject: Re: Emergency Evaluator - need help On Wed, 21 Jun 2000 19:43:02 +0200 Karl Ramberg wrote: >I like that there is a emergency evaluator that pops up. >But I don't know how to use it. Could one list the >most common uses at the top of it or have a >help function ? Where is it in the system ? Karl, Check out Transcripter>>readEvalPrint. It wouldn't be a bad idea to have a few suggestions printed there for reference. Some handy possibilities I have used are Project current exit "gets me out of a potentiall corrupt project/world" ScreenController new fullScreenOff "gives access to the Mac menu bar again" Cheers, Bob From: Bolot Kerimbaev [bolot@cc.gatech.edu] Sent: Mittwoch, 21. Juni 2000 22:25 To: squeak@cs.uiuc.edu Subject: Re: Emergency Evaluator - need help Today, I had a need for yet another one: Utilities revertLastMethodSubmission "reverts the last method changed to the previous version" (I changed some SystemWindow handling code, so debugger couldn't be opened) It would be nice (and probably easy) to add completion (I had to open another Squ eak to get the aforementioned method name). Bolot From: Stefan Matthias Aust [sma@3plus4.de] Sent: Mittwoch, 21. Juni 2000 23:18 To: squeak@cs.uiuc.edu Subject: Re: Emergency Evaluator - need help If the system has trouble to open a debugger, that is there's an exception while opening the debugger because of another exception, the system switches to panic mode and uses #primitiveError: to display a black and white stacktrace together with the often not very helpful message to press any key to restart. Now press not any key but CR (Enter). A small black and white window opens that shows a command line on which you can enter any Smalltalk expression. This is the so called Transcripter. Try Transcripter emergencyEvaluator to open it right now. As that window says, you should type exit [CR] to leave that tool again. Otherwise you can enter any valid Smalltalk expression which will be evaluated and printed (like a print-it) upon pressing [CR]. Be careful not to make typing mistakes as there's no error handling for syntax errors. You can use [BS] (Backspace) to edit the input. Really use, if you for example crashed the system by modifying an important UI class, is this expression Utilities revertLastMethodSubmission If you're like me who of course edits MVC classes while working in MVC or who hacks Morphic while being in an Morphic project, it might be useful to define Utilities revert self revertLastMethodSubmission and Smalltalk at: #U put: Utilities bye Stefan Matthias Aust // Pilgrims, beware of the Dark between the Fading Stars