[squeak-dev] Should a non-resumable exception proceed from a debugger?
Jaromir Matas
mail at jaromir.net
Wed Jan 5 06:48:47 UTC 2022
My understanding is proceeding the debugger is not the same as resuming an exception.
`self error` behaves the same but
`[self error] on: Error do: [:ex | ex resume]` gives you the Illegal resume attempt…
From: tim Rowledge<mailto:tim at rowledge.org>
Sent: Wednesday, January 5, 2022 2:04
To: The general-purpose Squeak developers list<mailto:squeak-dev at lists.squeakfoundation.org>
Subject: [squeak-dev] Should a non-resumable exception proceed from a debugger?
Maybe I'm simply not understanding but...
Try
`WebUtils jsonDecode: 'Hello World' readStream`
You get a notifier because quite rightly there is an error. But you can proceed.
And that actually just returns the Error exception object. Which seems wrong, given that Error>>#isResumable returns false.
tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Strange OpCodes: SDD: Scratch Disk and Die
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20220105/c65f7abd/attachment.html>
More information about the Squeak-dev
mailing list
|