Bug 45321

GemBuilder for Smalltalk/VW

8.7.1, 8.7, 8.6, 8.5, 8.4, 8.3, 8.2, 8.1, 7.6.1, 7.6, 7.5, 7.4.1, 7.4, 7.3.3, 7.3.2, 7.3.1, 7.3, 7.2.2, 7.2.1, 7.2, 7.1.2, 7.1.1, 7.1, 7.0.2, 7.0.1, 7.0, 6.2, 6.1, 6.0

All Platforms

with GS64 3.3

Debugging: Step on an interval #do will skip down to the end of the code

If you are debugging code in GBS that contains an interval #do: loop like the following:

...
(1 to: 3) do: [ ... loop code ... ].
... subsequent code ...

And step through the loop code, at the end of the loop code, rather than stepping into the subsequent code you will instead complete execution of the subsequent code and end up on the "GbsSession>>gsDoIt: codeString inContext: receiver" frame in the debugger.

This is related to server bug 45320, which is fixed in GemStone/S 64 Bit v3.3 and later

Workaround

Replace interval #do: loops like:

(1 to: 3) do: [ ... ]

with a #to:do: loop like:

1 to: 3 do: [ ... ]


                

Last updated: 11/17/17