How to - snippets with multiple halts for resume in the GemStoneDebugger

Here we use multiple halts in a pice of code executed in GemStone. Executing this both sync and async should raise debuggers correctly and return the correct value if we just resume.

self halt.
Delay waitForSeconds: 2.
self halt.
Delay waitForSeconds: 2.
self halt.
Delay waitForSeconds: 2.
3 
  
self halt.
'2' printString.