[squeak-dev] Abandoning in debugger and ensure: blocks

Jaromir Matas mail at jaromir.net
Tue Jun 21 19:04:29 UTC 2022


Hi Marcel,

Very cool, thanks!

>From a "user experience" perspective we could discuss (after the release) the UI responsiveness issue when terminating

                [self halt] ensure: [self error]

from the notifier (either terminating the process indirectly via #fork in #windowIsClosing or reviving the UI somehow which is still beyond my skills) to avoid the need to Cmd+dot the UI.

Best,
Jaromir

From: Marcel Taeumel<mailto:marcel.taeumel at hpi.de>
Sent: Tuesday, June 21, 2022 12:14
To: squeak-dev<mailto:squeak-dev at lists.squeakfoundation.org>
Subject: Re: [squeak-dev] Abandoning in debugger and ensure: blocks

Hi Tony --

Do as you prefer via Tools-mt.1164.

[cid:image001.png at 01D885B2.7BA3B9B0]

Best,
Marcel



Am 21.06.2022 12:02:53 schrieb Marcel Taeumel <marcel.taeumel at hpi.de>:
Hi Tony --

> If that's genuinely the case, is there some mechanism I should be using
> to `reallyEnsure:` that something happens as part of process termination?

Hehe, nope. But you can terminate a process in the "normal" way via the menu:

[cid:image002.png at 01D885B2.7BA3B9B0]

I will tweak this UI in a bit to clarify the options.

Best,
Marcel

Am 21.06.2022 10:50:21 schrieb Tony Garnock-Jones <tonyg at leastfixedpoint.com>:
Hi all,

Is it true that with recent changes to termination, if I "Abandon" a
process in the debugger, that process's `ensure:` blocks will NOT run?

That's a change from before, right?

Or am I mistaken?

If that's genuinely the case, is there some mechanism I should be using
to `reallyEnsure:` that something happens as part of process termination?

Thanks!

Tony

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20220621/101cdb44/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 253D6DF8D24E40E78380A1874AF540CF.png
Type: image/png
Size: 92244 bytes
Desc: 253D6DF8D24E40E78380A1874AF540CF.png
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20220621/101cdb44/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 63F63807F2A14F6187AE0AEE6B86036B.png
Type: image/png
Size: 70162 bytes
Desc: 63F63807F2A14F6187AE0AEE6B86036B.png
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20220621/101cdb44/attachment-0003.png>


More information about the Squeak-dev mailing list