Search code examples
pharo

"Why you see this menu"


I broke something in my image (no idea what) and now my right-click menus only say "Why you see this menu, debug" -- what can I do to fix this ?


Solution

  • I can't really tell what happened unless you do what that text tells you:

    1. click on the menu entry
    2. in the workspace that appears evaluate menu debug
    3. post the contents of the debugger here

    update

    We need to find out what error is being signaled. Open the debugger again like you did, then select the first entry. Click on it with the right mouse button and select "Copy to clipboard" from the popup. Post the stack trace in you clipboard here.

    Alternative: Put the whole image somewhere I can download it and I'll take a peek.

    update 2

    The reason why Smalltalk at: #Behavior put: Behavior didn't change anything is that Behavior is a global reference equivalent to Smalltalk at: #Behavior. The effect is that you store the RTGraphBuilder class at the same location again :).

    Try this:

    Smalltalk at: #Behavior put: ClassDescription superclass
    

    The superclass of ClassDescription is Behavior and that link is independent of the global lookup.