Error did not understand #sender
There is an error in the code below (See title above):
aFuture := [ Error signal ] future.
aFuture onFailureDo: [ :error | error sender method selector logCr ].
Could you check what is the class of the received object?
The code below dont halt.
aFuture := [ Error signal ] future. aFuture onFailureDo: [ :error | self halt ].
Phar 8 @ Windwos cannot reproduce.
The Exceptions do not understand sender. you have to ask it to the signaling context inside the exception
Could you give me more details, like installation, pharo version, step by step how did you treat your image before executing this code?
@chicoary I get the debugger with the HALT a couple of seconds after "do it", with:
aFuture := [ Error signal ] future.
aFuture onFailureDo: [ :error | self halt ].
(it's a Pharo 7)
Aha! but after closing the debuger, try again and it doesn't show up.
After debugging a bit, I saw the TKTConfiguration runner is not running and has the 2nd HALT task in the queue. When you #restart the runner, the 2nd HALT appears.