The recent post by Terry Fuller inspired me to explore the "trace L" option which the documentation says "Traces method and routine invocations, internal subroutine calls, transfers of control because of the SIGNAL instruction, and labels passed during program execution." Since I hadn't ever had an occasion to use it I wrote the following to see how it works.  Unfortunately, I get no trace output from this program.  Can someone explain?

say'TESTM starting...' trace?L fred1=.fred~new fred1~foo fred1~bar

say'...end of TESTM'

::classfred

::methodfoo
ts='at 'time()
ts||=' on'date()'.'
say'This is method FOO in an instance of'self~classts

::methodbar
exposealpha
ts='at 'time()
ts||=' on'date()'.'
say'This is method BAR in an instance of'self~classts
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to