From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18339 invoked from network); 3 Jun 2005 11:51:44 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 3 Jun 2005 11:51:44 -0000 Received: (qmail 37204 invoked from network); 3 Jun 2005 11:51:37 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 3 Jun 2005 11:51:37 -0000 Received: (qmail 21374 invoked by alias); 3 Jun 2005 11:51:30 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8946 Received: (qmail 21364 invoked from network); 3 Jun 2005 11:51:29 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 3 Jun 2005 11:51:29 -0000 Received: (qmail 36192 invoked from network); 3 Jun 2005 11:51:29 -0000 Received: from ms-smtp-03.texas.rr.com (HELO ms-smtp-03-eri0.texas.rr.com) (24.93.47.42) by a.mx.sunsite.dk with SMTP; 3 Jun 2005 11:51:25 -0000 Received: from amdxp.kalama.no-ip.org (cpe-66-68-88-186.austin.res.rr.com [66.68.88.186]) by ms-smtp-03-eri0.texas.rr.com (8.12.10/8.12.7) with ESMTP id j53BpLRZ013763; Fri, 3 Jun 2005 06:51:21 -0500 (CDT) Received: from [10.0.1.3] (unknown [10.0.1.3]) by amdxp.kalama.no-ip.org (Postfix) with ESMTP id A9B44732; Fri, 3 Jun 2005 06:51:21 -0500 (CDT) In-Reply-To: <20050603073753.GA25391@xpeerience.u-strasbg.fr> References: <20050603073753.GA25391@xpeerience.u-strasbg.fr> Mime-Version: 1.0 (Apple Message framework v730) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <3567AA8D-DE24-4854-9EF9-7010D437FF23@kalama.no-ip.org> Cc: zsh-users@sunsite.dk Reply-To: zsh-users@sunsite.dk Content-Transfer-Encoding: 7bit From: lists Subject: Re: zsh debug tips ? Date: Fri, 3 Jun 2005 06:51:19 -0500 To: Marc Chantreux X-Mailer: Apple Mail (2.730) X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Spam-Checker-Version: SpamAssassin 3.0.2 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, score=-2.6 required=6.0 tests=BAYES_00 autolearn=ham version=3.0.2 X-Spam-Hits: -2.6 Hi, You probably already know about this, but you can set the XTRACE and VERBOSE options to get a better idea about what's happening either like this: #!/bin/zsh -xv or like this: setopt XTRACE VERBOSE I don't know of a zsh 'debugger' if that's more what you were looking for, but maybe someone else does. Regards, Ryan On Jun 3, 2005, at 2:37 AM, Marc Chantreux wrote: > Hi all, > > as my zsh scripts grown, it becomes harder and harder to find bugs. I > would like to know if zsh have a tool to ease the debugging. > > I would like to see a step by step execution, backtraces and so on. Is > there a way ro have it ? if not , is there another way to ease > debugging > ? > > regards > mc >