[squeak-dev] Re: MVC debugging

David T. Lewis lewis at mail.msen.com
Wed Sep 8 02:57:23 UTC 2010


On Mon, Sep 06, 2010 at 10:46:01PM -0700, Andreas Raab wrote:
> On 9/6/2010 10:36 PM, Florin Mateoc wrote:
> >  On 9/7/2010 1:03 AM, Andreas Raab wrote:
> >>Yes, but if the old one is the process we want to debug, there is no 
> >>point in terminating it, is there? After all it's
> >>the process that hit an error - we want to look at it, inspect it, step 
> >>through it; not terminate it.
> >>
> >
> >Well, it looks like the method was written with the assumption that 
> >'process' is not the active process. Anyway, I
> >looked in VW and it uses a very similar method to 
> >searchForActiveController (launchBaseProcess), the only difference
> >being that it does not call terminate.
> 
> A-ha! That's it! I added a method #searchForActiveControllerNoTerminate 
> that simply does not terminate the active process and it works.

I can't reproduce this. Are you able to get a debugger to open under
MVC at this point?

Specifically, I changed Debugger class>>openOn:context:label:contents:fullView:
to call #searchForActiveControllerNoTerminate, where #searchForActiveControllerNoTerminate
is a copy of #searchForActiveController with the #terminateActive removed.
I'm not seeing any difference in behavior, so I must be missing a step
in the recipe.

Thanks,
Dave

> 
> Woohoo! Thank you so much!
> 
> Cheers,
>   - Andreas



More information about the Squeak-dev mailing list