Stephane Payrard
2008-05-19 22:29:33 UTC
# New Ticket Created by Stephane Payrard
# Please include the string: [perl #54478]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=54478 >
Request for enhancement:
At the PIR level, trace should be a number that can be decremented
and incremented with two new opcodes
inc_trace and dec_trace. trace mode would be active when the trace
variable is strictly positive. This is useful
for tracing recursive calls.
A :trace flag should be implemented for routine and methods to
prepend inc_trace and append dec_trace.
A the Perl6 level, this could be a trait 'is :pirtrace' and and
'is :pirtrace<rec>. for functions and methods.
:pirtrace would cause subcalls to be wrapped: trace 0; subcall(); trace 1.
:pirtrace would cause a whole method function PIR code wrapped by
inc_trace and dec_trace.
# Please include the string: [perl #54478]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=54478 >
Request for enhancement:
At the PIR level, trace should be a number that can be decremented
and incremented with two new opcodes
inc_trace and dec_trace. trace mode would be active when the trace
variable is strictly positive. This is useful
for tracing recursive calls.
A :trace flag should be implemented for routine and methods to
prepend inc_trace and append dec_trace.
A the Perl6 level, this could be a trait 'is :pirtrace' and and
'is :pirtrace<rec>. for functions and methods.
:pirtrace would cause subcalls to be wrapped: trace 0; subcall(); trace 1.
:pirtrace would cause a whole method function PIR code wrapped by
inc_trace and dec_trace.
--
cognominal stef
cognominal stef