![]() Squeak Smalltalk : Tools Tricks Usage : ![]() Debug Non UI Process |
> 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