<div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000;text-align: left" dir="ltr">
                                        Hmm... at least you get a debugger. In Squeak 5.3, you are not able to put a "self halt" into that event handler in test03EventHandler. ^__^<div><br></div><div>Yet, I noticed that when stepping over that "^ self dispatchEvent:..." in #dispatchMouseDown:with:, a second debugger appears. That's a bug. The expected behavior would be that the same debugger shows the "halt." I think.<br><div><br></div><div><img id="670be242-bb99-4473-9c03-33ed2e27d845" src="cid:a5ced8c3-367c-42c8-ba0d-8b1cf7ba75b8" width="709" height="214"></img><br></div><div><br></div><div>Best,</div><div>Marcel</div></div><div class="mb_sig"></div>
                                        <blockquote class="history_container" type="cite" style="border-left-style: solid;border-width: 1px;margin-top: 20px;margin-left: 0px;padding-left: 10px;min-width: 500px">
                        <p style="color: #AAAAAA; margin-top: 10px;">Am 17.04.2021 10:58:06 schrieb Jaromir Matas <m@jaromir.net>:</p><div style="font-family:Arial,Helvetica,sans-serif">Hi Nicolas,<br><br><br>Nicolas Cellier wrote<br>> When debugging things like this:<br>> <br>>     [^2] ensure: [Transcript cr; show: 'done'].<br>> <br>> if we step into the protected block [^2], then step over ^2, we<br>> incorrectly get a BlockCannotReturn.<br><br>Hmm, that's the bug that plagued #terminate and caused unwind errors... I<br>didn't fully realize then; I simply avoided it by eliminating the simulation<br>code from #terminate :) This behavior happens when the VM calls<br>#aboutToReturn:through: and the Debugger executes #stepOver it (or over<br>#return:through: or #resume:through:) - sorry if I'm stating the obvious;<br>unfortunately I have negligible knowledge of the Debugger. I'm really<br>looking forward to seeing a solution!<br>Thanks, <br>best,<br><br><br><br>-----<br>^[^ Jaromir<br>--<br>Sent from: http://forum.world.st/Squeak-Dev-f45488.html<br><br></div></blockquote></div>