[squeak-dev] Re: MVC debugging

Andreas Raab andreas.raab at gmx.de
Tue Sep 7 05:46:01 UTC 2010


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.

Woohoo! Thank you so much!

Cheers,
   - Andreas



More information about the Squeak-dev mailing list