How can I control the debugger?

Chris Muller afunkyobject at yahoo.com
Wed Jul 14 05:17:36 UTC 2004


I want to stop the debugger in a particular context, kind of like
#debugAsFailure does,

  [ debugger interruptedContext method == myMethod ]
	whileFalse: [ debugger send ]

except I'm gonna need to return the value of the method I'm debugging, so I
don't want the debugger to open on a separate process and then have the parent
process return..  I tried opening it on the activeProcess and thisContext, but
it fails in Process>>calleeOf: seeming to expect the suspendedContext to be
populated (as it is in debugAsFailure because it creates a newProces..).

Any way to do this?  Thanks..



More information about the Squeak-dev mailing list