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

Re: Getting source file and line number of a function.



funcsourcetrace contains entries for source'd files, right?

On Mon, Aug 11, 2008 at 3:32 PM, Peter Stephenson
<p.w.stephenson@xxxxxxxxxxxx> wrote:
> "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