Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: functrace [was Re: funcstack and backtraces]
- X-seq: zsh-workers 22736
- From: Clint Adams <clint@xxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: PATCH: functrace [was Re: funcstack and backtraces]
- Date: Mon, 18 Sep 2006 07:07:59 -0400
- Cc: zsh-workers@xxxxxxxxxx
- In-reply-to: <060917225733.ZM1116@xxxxxxxxxxxxxxxxxxxxxx>
- Mail-followup-to: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>, zsh-workers@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20060901191034.GA31335@xxxxxxxxxxx> <060904142643.ZM9472@xxxxxxxxxxxxxxxxxxxxxx> <20060917191418.GA22898@xxxxxxxxxxx> <060917153954.ZM32752@xxxxxxxxxxxxxxxxxxxxxx> <20060918033708.GA6522@xxxxxxxxxxx> <060917225733.ZM1116@xxxxxxxxxxxxxxxxxxxxxx>
> There just seems to be one more problem: It looks as if functrace and
> funcstack are indexed in the opposite order from one another? Would it
> not be better if they were in parallel? Or am I misreading this?
They're supposed to be.
> TRAPDEBUG prompt_bart_precmd precmd
> prompt_bart_precmd:1 Src/zsh:2 Src/zsh:9
So Src/zsh:9 calls precmd, Src/zsh:2 (precmd?) calls prompt_bart_precmd,
and prompt_bart_precmd:1 unwittingly calls TRAPDEBUG.
Maybe grabbing the name of the previous function from the funcstack
would be more useful.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author