Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: trace information for sourced files



On Tue, 12 Aug 2008 15:58:03 -0400
"Rocky Bernstein" <rocky.bernstein@xxxxxxxxx> wrote:
> > I'm not sure what to put in $funcsourcetrace since there is no separate
> > point of definition from that of the caller in this case.
> 
> How about "source" or ".". Down the line one may want to record the
> number of parameters passed, and here I note that zsh allows passing
> parameters in a source command.

OK, I've committed it so that the funcsourcetrace element shows up as
"source:0".

I had a look at providing the text for debug traps but it wasn't as
trivial as I'd hoped so that may have to wait.

-- 
Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/



Messages sorted by: Reverse Date, Date, Thread, Author