From: Clint Adams <clint@zsh.org>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: zsh-workers@sunsite.dk
Subject: Re: PATCH: functrace [was Re: funcstack and backtraces]
Date: Mon, 18 Sep 2006 07:07:59 -0400 [thread overview]
Message-ID: <20060918110758.GA23984@scowler.net> (raw)
In-Reply-To: <060917225733.ZM1116@torch.brasslantern.com>
> 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.
next prev parent reply other threads:[~2006-09-18 11:08 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-01 19:10 funcstack and backtraces Clint Adams
2006-09-04 21:26 ` Bart Schaefer
2006-09-04 23:15 ` Clint Adams
2006-09-17 19:14 ` PATCH: functrace [was Re: funcstack and backtraces] Clint Adams
2006-09-17 22:39 ` Bart Schaefer
2006-09-18 3:37 ` Clint Adams
2006-09-18 5:57 ` Bart Schaefer
2006-09-18 11:07 ` Clint Adams [this message]
2006-09-18 15:16 ` Bart Schaefer
2006-09-17 22:52 ` Bart Schaefer
2006-09-17 23:38 ` Clint Adams
2006-09-18 2:20 ` Bart Schaefer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060918110758.GA23984@scowler.net \
--to=clint@zsh.org \
--cc=schaefer@brasslantern.com \
--cc=zsh-workers@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).