Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Help me track down a tough bug? (probably funcfiletrace, subshells and possibly I/O redirection)
- X-seq: zsh-workers 25779
- From: Peter Stephenson <pws@xxxxxxx>
- To: "Zsh hackers list" <zsh-workers@xxxxxxxxxx>
- Subject: Re: Help me track down a tough bug? (probably funcfiletrace, subshells and possibly I/O redirection)
- Date: Tue, 30 Sep 2008 17:53:00 +0100
- In-reply-to: <6cd6de210809291718n2fa49590q42eaec499d106284@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Organization: CSR
- References: <6cd6de210809281219i4bf1ed18mefa45b967fa835a6@xxxxxxxxxxxxxx> <20080928221651.6ee7f671@pws-pc> <6cd6de210809281932u2e04a844l219d1db5a7568a73@xxxxxxxxxxxxxx> <20080929095201.451381d0@news01> <6cd6de210809290411m60cb669bk3817d768adce378a@xxxxxxxxxxxxxx> <200809291125.m8TBPsQM005256@xxxxxxxxxxxxxx> <6cd6de210809290711j12363e1bo159e1739bae7b2fd@xxxxxxxxxxxxxx> <200809291425.m8TEPSoR007204@xxxxxxxxxxxxxx> <20080929224209.1bd8f3f6@pws-pc> <6cd6de210809291718n2fa49590q42eaec499d106284@xxxxxxxxxxxxxx>
On Mon, 29 Sep 2008 20:18:52 -0400
"Rocky Bernstein" <rocky.bernstein@xxxxxxxxx> wrote:
> zshdb<3> p ${funcfiletrace[@]}
>
> ./command/eval.sh:11 ./command/eval.sh:27 ./lib/processor.sh:96
> ./lib/processor.sh:44 ./zshdb2.sh:9 ./testing.sh:3 ./zshdb2.sh:34
> ./command/eval.sh:11 ./command/eval.sh:27 ./lib/processor.sh:96
> ./lib/processor.sh:44 ./zshdb2.sh:9 ./testing.sh:3 ./zshdb2.sh:34
> ./zshdb2.sh:9 ./testing.sh:3 ./zshdb2.sh:34
> # Were did that double set of lines come from?
Hmmm... I'm not convinced this has got anything directly to do with the
shell rather than the debugger. Here's what I get when I simply ask for
the PID repeated times:
---------------
./zshdb2.sh:7 ./zshdb2.sh:34
===============
(./zshdb2.sh:34):
. ./testing.sh
./zshdb2.sh:9 ./zshdb2.sh:34
zshdb<1> p $$
711
./zshdb2.sh:9 ./zshdb2.sh:34
zshdb<2> p $$
711
711
./zshdb2.sh:9 ./zshdb2.sh:34
zshdb<3> p $$
711
711
711
./zshdb2.sh:9 ./zshdb2.sh:34
zshdb<4>
It looks like something is odd with whatever is holding the command to be
executed. You know better than me how that works.
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
Messages sorted by:
Reverse Date,
Date,
Thread,
Author