preferred way to invoke debugger
What is the replacement for...? [ Smalltalk tools debugger openContext: self label:'Code simulation error' contents: nil]. In adding support to simulate new OwnedLock primitives, I see this is sent from Context>>doPrimitive:method:receiver:args: but this is no longer in the image. I can update it as I go. cheers -ben
Hi. Now you should first create DebugSession: debugSession := Processor activeProcess newDebugSessionNamed: 'Code simulation error' startedAt: self. Smalltalk tools debugger openOn: debugSession withFullView: true. 2016-02-21 4:34 GMT+01:00 Ben Coman <btc@openinworld.com>:
What is the replacement for...? [ Smalltalk tools debugger openContext: self label:'Code simulation error' contents: nil].
In adding support to simulate new OwnedLock primitives, I see this is sent from Context>>doPrimitive:method:receiver:args: but this is no longer in the image. I can update it as I go.
cheers -ben
participants (2)
-
Ben Coman -
Denis Kudriashov