Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Getting source file and line number of a function.
- X-seq: zsh-workers 25433
- From: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Getting source file and line number of a function.
- Date: Mon, 11 Aug 2008 20:32:56 +0100
- In-reply-to: Message from "Rocky Bernstein" <rocky.bernstein@xxxxxxxxx> of "Sat, 09 Aug 2008 21:11:15 EDT." <6cd6de210808091811pa8ddf92oc66a7a10d4cc3904@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
"Rocky Bernstein" wrote:
> Great! Let me know when code is committed into CVS which includes
> tracking source calls, and I'll revise the zshdb code then.
>
> Ditto for instruction skipping and/or showing the command to be run.
I've committed the source code tracing, but I decided "funcsourcetrace"
was a better name than "funcfiletrace", since "file" doesn't really
distinguish the purpose of the new variable. I've added a test and
fixed a couple of additional bugs. The test is fairly simple and it's
quite possible that extending it would reveal further problems.
The instruction skipping using "setopt ERR_EXIT" is also there.
--
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