[squeak-dev] Should Debugger Restart unwind contexts?
Christoph.Thiede at student.hpi.uni-potsdam.de
Mon Oct 25 19:17:24 UTC 2021
[self basicDoSomething] ensure: [self tearDown].
Considering debugging the example above and you would just be about to send #basicDoSomething: If you hit the Restart button in this situation in the context of the DoIt method, should the #ensure: context in #doSomething be unwound, i.e., should #tearDown be evaluated? Currently, the unwind is skipped.
Performing the unwind might be considered a confusing side-effect. Not performing the unwind could lead to dangling temporary state in the images, unreleased resources, etc.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Squeak-dev