Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How does the implementation of #doesNotUnderstand in the Object class result in opening a debugger in Squeak smalltalk?

I know that the implementation signals a MessageNotUnderstood exception, but how does that end up opening a debugger?

like image 887
rationalrevolt Avatar asked Jul 16 '18 13:07

rationalrevolt


People also ask

How does the implementation of an enterprise wide data and analytics strategy health Organisation?

Expert-verified answer An enterprise analytics strategy helps organizations to identify the tools and techniques they need to deploy to work with these huge data sets and extract meaningful insights from them that can be used to inform business decisions. ...

What is implementation and example?

Implementation is preparation and putting elements of the strategy into place. Execution is the decisions made and activities performed throughout the company, with the objective of meeting goals outlined in the strategy. For example, imagine you're the coach of a football team in a critical 4th-and-1 situation.

What does implementation mean?

Means of implementation (MoI) describes the interdependent mix of financial resources, technology development and transfer, capacity‐building, inclusive and equitable globalization and trade, regional integration, as well as the creation of a national enabling environment required to implement the sustainable ...


1 Answers

When an Exception remains unhandled after it has been signalled, its #defaultAction is invoked. MessageNotUnderstood>>defaultAction delegates to Error>>defaultAction, which signals an UnhandledError (another Exception). This exception, in turn, has a defaultAction whose code reads like this:

^ ToolSet debugError: self exception

...which opens the debugger if you use the StandardToolSet (which is the default in regular Squeak images).

like image 114
JayK Avatar answered Sep 28 '22 15:09

JayK