[Vm-dev] Exploring the simulator (was Re: REPL image for
simulation)
Bert Freudenberg
bert at freudenbergs.de
Tue Jun 7 11:05:08 UTC 2016
> On 04.06.2016, at 04:17, Ben Coman <btc at openinworld.com> wrote:
>
>
>> On Fri, Jun 3, 2016 at 3:45 PM, Ben Coman <btc at openinworld.com> wrote:
>>>
>>>
>>> Is their some method I can call in the Image to cause the simulator to
>>> break into a debugger? I want to do this right before the end block
>>> bracket, so I can trace the termination of a forked block without
>>> needing to trace over the block's statements.
>>>
>>> cheers -ben
>
> On Fri, Jun 3, 2016 at 11:50 PM, Clément Bera <bera.clement at gmail.com> wrote:
>>
>> Well you can call a method with a specific selector name and use the [break selector] feature in the simulator. Alternatively you call a specific primitive and put a halt in it in the simulator.
>
> cool, thanks.
> cheers -ben
Smalltalk exitToDebugger
calls primitive 114 which runs primitiveExitToDebugger which maybe the simulator should handle differently ...
- Bert -
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4207 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20160607/0a74e2ee/smime.bin
More information about the Vm-dev
mailing list