Debugger very slow when launched from TestRunner

Andreas Raab andreas.raab at gmx.de
Tue Jun 21 22:26:40 UTC 2005


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".

Cheers,
   - Andreas



More information about the Squeak-dev mailing list