Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: functrace [was Re: funcstack and backtraces]
- X-seq: zsh-workers 22735
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: PATCH: functrace [was Re: funcstack and backtraces]
- Date: Sun, 17 Sep 2006 22:57:33 -0700
- In-reply-to: <20060918033708.GA6522@xxxxxxxxxxx>
- 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>
On Sep 17, 11:37pm, Clint Adams wrote:
}
} Operator precedence might be a good thing to pay attention to,
} though I don't know if it's your problem.
That does in fact seem to have stopped the crash.
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?
schaefer<506> TRAPDEBUG() { print $funcstack ; print $functrace }
TRAPDEBUG
Src/zsh:8
TRAPDEBUG precmd
Src/zsh:1 Src/zsh:9
TRAPDEBUG title precmd
title:1 Src/zsh:1 Src/zsh:9
TRAPDEBUG title precmd
title:2 Src/zsh:1 Src/zsh:9
TRAPDEBUG precmd
Src/zsh:1 Src/zsh:9
TRAPDEBUG prompt_bart_precmd precmd
prompt_bart_precmd:1 Src/zsh:2 Src/zsh:9
TRAPDEBUG prompt_bart_precmd precmd
prompt_bart_precmd:2 Src/zsh:2 Src/zsh:9
TRAPDEBUG prompt_bart_precmd precmd
prompt_bart_precmd:6 Src/zsh:2 Src/zsh:9
TRAPDEBUG prompt_bart_precmd precmd
prompt_bart_precmd:7 Src/zsh:2 Src/zsh:9
TRAPDEBUG prompt_bart_precmd precmd
prompt_bart_precmd:8 Src/zsh:2 Src/zsh:9
TRAPDEBUG prompt_bart_precmd precmd
prompt_bart_precmd:11 Src/zsh:2 Src/zsh:9
TRAPDEBUG prompt_bart_precmd precmd
prompt_bart_precmd:12 Src/zsh:2 Src/zsh:9
TRAPDEBUG prompt_bart_precmd precmd
prompt_bart_precmd:1 Src/zsh:2 Src/zsh:9
TRAPDEBUG prompt_bart_precmd precmd
prompt_bart_precmd:15 Src/zsh:2 Src/zsh:9
TRAPDEBUG prompt_bart_precmd precmd
prompt_bart_precmd:12 Src/zsh:2 Src/zsh:9
TRAPDEBUG prompt_bart_precmd precmd
prompt_bart_precmd:19 Src/zsh:2 Src/zsh:9
TRAPDEBUG prompt_bart_precmd precmd
prompt_bart_precmd:20 Src/zsh:2 Src/zsh:9
TRAPDEBUG prompt_bart_precmd precmd
prompt_bart_precmd:23 Src/zsh:2 Src/zsh:9
TRAPDEBUG prompt_bart_precmd precmd
prompt_bart_precmd:26 Src/zsh:2 Src/zsh:9
TRAPDEBUG precmd
Src/zsh:2 Src/zsh:9
torch [TRAPDEBUG() { print $funcstack ; print $functrace }] /usr/src/local/zsh
schaefer<507>
Messages sorted by:
Reverse Date,
Date,
Thread,
Author