Trace returning from sunroutine
Brought to you by:
rexx
I put trace ?r;nop somewhere in my code. When it gets there, I follow the code by pressin Enter. Sometimes it goes off into a big, proven subroutine. In order to save me watching it I type trace o. I came only recently to Regina, on my previous REXX it would execute the code without tracing, but resume tracing after returning from the subroutine. The way I understand the documentation, this supposed in Regina too, instead it traces without interaction. Can you please explain, or attend to it if there truly is a bug.
Regards. Kurt
FWIW, TRL2 specifically recommends this technique in the notes to the CALL statement under "States saved across calls." It recommens putting a "TRACE N" at the beginning of proven subroutines with the statement "and this will not affect the tracing of the caller."
So it is definitely a non-compliance to TRL2, if not a bug.