Skip Menu |

This queue is for tickets about the trace CPAN distribution.

Report information
The Basics
Id: 20132
Status: rejected
Priority: 0/
Queue: trace

People
Owner: Nobody in particular
Requestors: Ethan.Mallove [...] Sun.COM
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Feature requests for trace.pm (Devel::Xray)
Date: Tue, 27 Jun 2006 09:46:18 -0400
To: bug-trace [...] rt.cpan.org
From: Ethan Mallove <Ethan.Mallove [...] Sun.COM>
Hi Jeff, Great module - thanks! 1. Print subroutine exit, as well as subroutine entry. E.g., I would prefer: [timestamp] entering foo ... [timestamp] exiting foo Right now I see [timestamp] foo ... [timestamp] foo 2. Make it so the "use trace;" statement is global, such that we don't have to insert it into every file we want trace output from. Thanks again, Ethan
Subject: Re: [rt.cpan.org #20132] Feature requests for trace.pm (Devel::Xray)
Date: Tue, 27 Jun 2006 09:22:29 -0500
To: bug-trace [...] rt.cpan.org
From: "Jeff Bisbee" <jbisbee [...] gmail.com>
On 6/27/06, Ethan.Mallove@Sun.COM via RT <bug-trace@rt.cpan.org> wrote: Show quoted text
> 1. Print subroutine exit, as well as subroutine entry. E.g., I would prefer: > > [timestamp] entering foo > ... > [timestamp] exiting foo > > Right now I see > > [timestamp] foo > ... > [timestamp] foo
Right now I'm just using regexs to find "sub STRING {" and putting the debug after the brace. I don't try to match the end of the sub. I'm planning looking at PPI and using it instead of regexs so I can put hooks at the start AND all returns from a subroutines. -- Jeff Bisbee / jbisbee@gmail.com / jbisbee.com
On Tue Jun 27 10:22:51 2006, jbisbee@gmail.com wrote: Show quoted text
> On 6/27/06, Ethan.Mallove@Sun.COM via RT <bug-trace@rt.cpan.org> > wrote:
> > 1. Print subroutine exit, as well as subroutine entry. E.g., I would
> prefer:
> > > > [timestamp] entering foo > > ... > > [timestamp] exiting foo > > > > Right now I see > > > > [timestamp] foo > > ... > > [timestamp] foo
> > Right now I'm just using regexs to find "sub STRING {" and putting the > debug after the brace. I don't try to match the end of the sub. I'm > planning looking at PPI and using it instead of regexs so I can put > hooks at the start AND all returns from a subroutines. >
Going to leave Devel::XRay in its current form (just a simple source filter) -- Jeff Bisbee / jbisbee@cpan.org