Programatically abandoning
Hi all, How can i within a method, programatically produce the same effect that would have abandoning a raised debug window? Best, Laura
(maybe ?) http://pharobooks.gforge.inria.fr/PharoByExampleTwo-Eng/latest/Exceptions.pd... search for "Abandon the protected block" On Fri, Mar 6, 2015 at 6:52 AM, Laura Risani <laura.risani@gmail.com> wrote:
Hi all,
How can i within a method, programatically produce the same effect that would have abandoning a raised debug window?
Best, Laura
Hi! Simply put a block [ ⦠] on: Error do: [ ] For example: 10 timesRepeat: [ [ 1 / 0 ] on: Error do: [ "do nothing" ] ] Cheers, Alexandre
On Mar 5, 2015, at 5:52 PM, Laura Risani <laura.risani@gmail.com> wrote:
Hi all,
How can i within a method, programatically produce the same effect that would have abandoning a raised debug window?
Best, Laura
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi Ben , hi Alexandre , Excellent! I wasn't aware of the fact that the exception handling bubbles back to senders. Should reread that chapter. Love, Laura On Thu, Mar 5, 2015 at 8:22 PM, Alexandre Bergel <alexandre.bergel@me.com> wrote:
Hi!
Simply put a block [ ⦠] on: Error do: [ ]
For example:
10 timesRepeat: [ [ 1 / 0 ] on: Error do: [ "do nothing" ] ]
Cheers, Alexandre
On Mar 5, 2015, at 5:52 PM, Laura Risani <laura.risani@gmail.com> wrote:
Hi all,
How can i within a method, programatically produce the same effect that would have abandoning a raised debug window?
Best, Laura
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
participants (3)
-
Alexandre Bergel -
Ben Coman -
Laura Risani