I went back an did some more testing. You are correct, the first "Trace Off" turns trace off in the called routine. Tracing is resumed on return to the caller and the second "Trace Off" ends all tracing.
James Johnson Rick McGuire wrote: > I'm not sure I understand what you are doing, you might need to > provide a real example. > > However, this just could be a case of the fact that the trace settings > are saved/restored whenever a call out of any context is made, so > turning trace off in a routine only effects that routine. If tracing > was on in the caller, you will be back in interactive trace upon > return. > > Rick > > On Mon, Jul 20, 2009 at 9:06 PM, James Johnson<[email protected]> wrote: > >> I have found an oddity with interactive tracing under the following >> conditions. >> >> 1) Turn interactive tracing on, "Trace ?I" or "Trace ?R", within a program. >> 2) The program issues a call to an internal routine. >> 3) While in this routine issue "Trace Off" or "Trace O". >> The command appears to be ignored. >> 4) Enter "Trace Off" a second time and it is honored. Tracing ends and >> program runs to completion. >> >> I used the "qdate.rex" program for my testing and issued the "Trace Off" >> commands >> while in the "init" routine. >> >> James Johnson >> >> ------------------------------------------------------------------------------ >> Enter the BlackBerry Developer Challenge >> This is your chance to win up to $100,000 in prizes! For a limited time, >> vendors submitting new applications to BlackBerry App World(TM) will have >> the opportunity to enter the BlackBerry Developer Challenge. See full prize >> details at: http://p.sf.net/sfu/Challenge >> _______________________________________________ >> Oorexx-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/oorexx-devel >> >> > > ------------------------------------------------------------------------------ > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited time, > vendors submitting new applications to BlackBerry App World(TM) will have > the opportunity to enter the BlackBerry Developer Challenge. See full prize > details at: http://p.sf.net/sfu/Challenge > _______________________________________________ > Oorexx-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/oorexx-devel > > ------------------------------------------------------------------------------ _______________________________________________ Oorexx-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/oorexx-devel
