pharo-contributions / taskit

TaskIt is a library that ease Process usage in Pharo. It provides abstractions to execute and synchronize concurrent tasks, and several pre-built mechanisms that are useful for many application developers.
MIT License
43 stars 24 forks source link

Error management | Futures #31

Closed sbragagnolo closed 6 years ago

sbragagnolo commented 6 years ago

The futures are exploding and spawning a debugger as soon are they deploy an error. This leads to many problems, like the inhability of analysing sets of errors as dead errors, the spawning of massive amounts of debuggers, etc.

For this I propose to change the behaviour of the debugging extention for spawning the Debugger when the future value is used as a value.

guillep commented 6 years ago

Don't get this. Do you have a code example?

sbragagnolo commented 6 years ago

futures := contracts collect:[ : c | [ c doSomething ] future ] .

guillep commented 6 years ago

Ahhh, did not know that. YES, otherwise it kills the purpose.

sbragagnolo commented 6 years ago

Done. There was an structural error