Debugger very slow when launched from TestRunner

Avi Bryant avi.bryant at gmail.com
Tue Jun 21 22:38:59 UTC 2005


On 6/22/05, Andreas Raab <andreas.raab at gmx.de> wrote:
> Avi Bryant wrote:
> > Yes, ok - but what about when I do want to raise a debugger from a
> > non-UI process?  Is there some safe, accepted way to do that?
> 
> The following is pretty safe (no idea if it's "accepted" ;-)
> 
>         | process |
>         process := Processor activeProcess.
>         WorldState addDeferredUIMessage:[
>                 process debugWithTitle: 'Debug me!'.
>         ].
>         process suspend.
> 
> To try this just put it into a "[ ]fork".

I tried that several times; about half the time it worked just fine,
the other half I got the slow redrawing.  Once I got an error while
trying to draw the main pane of the debugger.

Avi



More information about the Squeak-dev mailing list