Debugging through events

Ned Konz ned at bike-nomad.com
Mon May 29 13:42:46 UTC 2006


Cowdery, Bob [UK] wrote:
> Is there a way to debug or even put Transcript writes into event 
> handlers like drawOn and extent. My attempts seem to hang Squeak.

Look at my CircularTranscript package (should be on SqueakMap but I 
don't seem to have put it there); it is a transcript that you can write 
to during event handlers, as it doesn't cause an immediate redraw.

http://bike-nomad.com/squeak/monticello/MiscTools/CircularTranscript-nk.11.mcz

You can't usefully use an interactive debugger from an event handler.

Thanks,
-- 
Ned Konz
ned at bike-nomad.com
http://bike-nomad.com



More information about the Squeak-dev mailing list