Search code examples
smalltalkpharo

How to find which was the wrong message in a Message Not Understood message?


I want to find the name of the message that triggered the MNU , how do I do that ?

For example if I do

Transcript explode . 

This will trigger a MNU because method explode does not exist but how do I find that the name of the message that triggered MNU is "explode" ?


Solution

  • If I DoIt that, I get a debugger. The title there is

    MessageNotUnderstood: ThreadSafeTranscript>>explode
    

    When I select the first element, I get to see the doesNotUnderstand: aMessage, where aMessage is the message