Adding a "define" option to the DoesNotUnderstand exception dialog...

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Adding a "define" option to the DoesNotUnderstand exception dialog...

talios@gmail.com
I've seen this before in VisuallWorks Smalltalk and liked it, and was
wondering if anyone had written a package to add the functionality, when
a DoesNotUnderstand exception is thrown the dialog prompts to terminate,
debug etc.  what would be handy is a "Define" option which opens the
class browser to said class, focused on the method source tab, with a
template method stub of somthing like:


nameOfMessageNotUnderstood
    "This message sent from ClassWhoSent::methodWhoSent was created by
    the stub generator."

    self halt.

I think this would be a great productivity gain, and probably shouldn't
be hard to implement, given what I've seen of Dolphin already...?

amrk


Reply | Threaded
Open this post in threaded view
|

Re: Adding a "define" option to the DoesNotUnderstand exception dialog...

Don Rylander-2
Mark,
"Mark Derricutt" <[hidden email]> wrote in message
news:cho3sr$[hidden email]...
> I've seen this before in VisuallWorks Smalltalk and liked it, and was
> wondering if anyone had written a package to add the functionality, when
> a DoesNotUnderstand exception is thrown the dialog prompts to terminate,
> debug etc.  what would be handy is a "Define" option which opens the
If you're using Dolphin pro version with the refactoring features, it's
available from within the debugger.  Right-clicking on the top entry in the
left-hand pane should give you the option to define it.

Don

> class browser to said class, focused on the method source tab, with a
> template method stub of somthing like:
>
>
> nameOfMessageNotUnderstood
>     "This message sent from ClassWhoSent::methodWhoSent was created by
>     the stub generator."
>
>     self halt.
>
> I think this would be a great productivity gain, and probably shouldn't
> be hard to implement, given what I've seen of Dolphin already...?
>
> amrk


Reply | Threaded
Open this post in threaded view
|

Re: Adding a "define" option to the DoesNotUnderstand exception dialog...

Christopher J. Demers
In reply to this post by talios@gmail.com
"Mark Derricutt" <[hidden email]> wrote in message
news:cho3sr$[hidden email]...
> I've seen this before in VisuallWorks Smalltalk and liked it, and was
> wondering if anyone had written a package to add the functionality, when
> a DoesNotUnderstand exception is thrown the dialog prompts to terminate,
> debug etc.  what would be handy is a "Define" option which opens the
> class browser to said class, focused on the method source tab, with a
> template method stub of somthing like:
...

Perhaps you are aware of the existing feature and just want a faster way to
it, but if not then open the debugger after a DNU then look on the "Debug"
menu and "Implement in" sub menu and you may find what you want.

Chris


Reply | Threaded
Open this post in threaded view
|

Re: Adding a "define" option to the DoesNotUnderstand exception dialog...

Yar Hwee Boon-3
In reply to this post by talios@gmail.com
On Thu, 09 Sep 2004 11:16:45 +1200, Mark Derricutt <[hidden email]>  
wrote:

> I've seen this before in VisuallWorks Smalltalk and liked it, and was  
> wondering if anyone had written a package to add the functionality, when  
> a DoesNotUnderstand exception is thrown the dialog prompts to terminate,  
> debug etc.  what would be handy is a "Define" option which opens the  
> class browser to said class, focused on the method source tab, with a  
> template method stub of somthing like:
>
>
> nameOfMessageNotUnderstood
>     "This message sent from ClassWhoSent::methodWhoSent was created by
>     the stub generator."
>
>     self halt.

Hit Debug, right click on the first line of the stack pane, there's a  
"Implement In" submenu.

--
Regards
Hwee Boon
MotionObj


Reply | Threaded
Open this post in threaded view
|

Re: Adding a "define" option to the DoesNotUnderstand exception dialog...

talios@gmail.com
In reply to this post by Christopher J. Demers
Christopher J. Demers wrote:

>Perhaps you are aware of the existing feature and just want a faster way to
>it, but if not then open the debugger after a DNU then look on the "Debug"
>menu and "Implement in" sub menu and you may find what you want.
>  
>
Ah sweet - didn't see that there - still finding my way around the
beast.  That'll suit me fine I rekon...