rudimentary support for stepping through for-loops