newProcess debugging help
Ron Teitelbaum
Ron at USMedRec.com
Fri Jun 9 16:58:11 UTC 2006
Hello all,
Is there a way to know that a method is being simulated in a debugger? I
would like to have two different paths
thisContext isDebugging ifTrue: [aBlock value]
ifFalse: [aBlock newProcess].
so that I can debug the new process without having to change the code and
remove the threading. Or is there a better way to step through code that is
executing in a different thread? It would be nice if when the debugger hit
a new thread it would simply open up a new debugger on that thread, then you
could keep stepping through either debugger.
Thanks,
Ron Teitelbaum
More information about the Squeak-dev
mailing list
|