From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18782 invoked from network); 5 Sep 2006 10:08:45 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.4 (2006-07-25) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,FORGED_RCVD_HELO autolearn=ham version=3.1.4 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 5 Sep 2006 10:08:45 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 95007 invoked from network); 5 Sep 2006 10:08:37 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 5 Sep 2006 10:08:36 -0000 Received: (qmail 8796 invoked by alias); 5 Sep 2006 10:08:27 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10679 Received: (qmail 8785 invoked from network); 5 Sep 2006 10:08:26 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 5 Sep 2006 10:08:26 -0000 Received: (qmail 93819 invoked from network); 5 Sep 2006 10:08:26 -0000 Received: from web8412.mail.in.yahoo.com (202.43.219.100) by a.mx.sunsite.dk with SMTP; 5 Sep 2006 10:08:25 -0000 Received: (qmail 10862 invoked by uid 60001); 5 Sep 2006 10:08:23 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.in; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=UeIUbdL8Xta8b9WEfPbnh85V9QiNP0HceUI1dPL96kH21V7qFDm7EnBvV+pdHDbn9FkIMjcQ914H4tvnWOIYNA8/Lh+aYYMmR/9yB2nHxP6+3cVcwKhj3vQKejNljM/9IJvmUZKuzx2z9DPH2BiaO4LbU3UxoEBR5D4d3SjrZrw= ; Message-ID: <20060905100823.10860.qmail@web8412.mail.in.yahoo.com> Received: from [203.101.60.91] by web8412.mail.in.yahoo.com via HTTP; Tue, 05 Sep 2006 03:08:23 PDT Date: Tue, 5 Sep 2006 03:08:23 -0700 (PDT) From: sac Subject: Debugging functions zsh To: Zsh users list MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi, When we want to debug a script, we use the -x flag, like `zsh -x script_name', and we get all the variables that are set etc. How do we debug a function, which is sourced from a script, other than putting print statements manually here and there. Thanks, sac. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com