Open Rinzwind opened 4 months ago
Thanks. Would you like to try to add a custom action for this specific to DNU in the debugger?
I’m not sure it should be a custom action, it would seem better to have the option to return from any context. Using the same example, for the following screenshot, I’ve selected the context below the top one, pressed ‘Return’ and am giving { aBlock value: self first. aBlock value: self third }
as the expression so that the inspected result will be #(2 3)
.
In Pharo 11 build 726, when inspecting
#(1.5 nil 2.5) collect: [ :n | n rounded ]
, the MessageNotUnderstood can be returned from using ‘Return’ in the debugger (see screenshot below) giving it for examplenil
as the return expression so that the inspected result is#(2 nil 3)
. The Glamorous Toolkit debugger in v1.0.977 seems to lack a similar option (unless I’m just overlooking it).