Re: Tackling Context>>#runUntilErrorReturnFrom: (was: BUG/REGRESSION while debugging Generator >> #nextPut:)
Posted by
Christoph Thiede on
May 15, 2021; 6:11pm
URL: https://forum.world.st/BUG-REGRESSION-while-debugging-Generator-nextPut-tp5108125p5129721.html
Hi all, hi Jaromir,
with regard to the bug mentioned in [1], I have updated the changeset from
above: runUntilErrorOrReturnFrom.cs
<
http://forum.world.st/file/t372205/runUntilErrorOrReturnFrom.cs>
Basically, I inserted a send to #informDebuggerAboutContextSwitchTo: in the
loop body of Context >> #resume:through: as well.
I could not find any regressions from the previous changeset, but since this
is a very low-level method, any crash tests will be appreciated. I believe
that in the past a similar approach has crashed my image, but I could not
reproduce this any longer today ...
I am also - still :-) - very excited to hear your feedback and thoughts on
the general approach. In my message from above, I have highlighted two bold
questions, it would be great if some of our Kernel experts could find a few
minutes for them. Nicolas? Eliot? Jaromir? :-)
Best,
Christoph
[1]
http://forum.world.st/stepping-over-non-local-return-in-a-protected-block-td5128777.html-----
Carpe Squeak!
--
Sent from:
http://forum.world.st/Squeak-Dev-f45488.html
Carpe Squeak!