[squeak-dev] Exception and defaultAction

Bergel, Alexandre bergel at iam.unibe.ch
Wed Aug 6 11:29:55 UTC 2008


Dear List,

I wish to understand a crucial (and difficult) point of the Squeak  
exception handling mechanism.
Basically, my question is: How a debugger gets opened when an  
exception is thrown?

Clearly, the method Error>>defaultAction gets invoked somehow. By  
UndefinedObject>>handleSignal: when reaching the bottom of the method  
call stack I suspect.
I suspect that this handleSignal: is called by a Exception>>pass. So,  
my question is where? in PasteUpMorph>>becomeActiveDuring: ?

This is not easy to figure out since when a debugger gets opened, the  
part of the stack used to open it is discarded (how?).

Cheers,
Alexandre

-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.








More information about the Squeak-dev mailing list