From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17305 invoked from network); 11 Aug 2008 19:39:46 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 11 Aug 2008 19:39:46 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 22647 invoked from network); 11 Aug 2008 19:39:36 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 11 Aug 2008 19:39:36 -0000 Received: (qmail 5375 invoked by alias); 11 Aug 2008 19:39:24 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 25434 Received: (qmail 5348 invoked from network); 11 Aug 2008 19:39:19 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 11 Aug 2008 19:39:19 -0000 Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.29]) by bifrost.dotsrc.org (Postfix) with ESMTP id AC549809A180 for ; Mon, 11 Aug 2008 21:39:12 +0200 (CEST) Received: by yx-out-2324.google.com with SMTP id 31so669550yxl.81 for ; Mon, 11 Aug 2008 12:39:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=SRgnAllOyny+1SEY+JmzgIXHagEwsfNzBsOU6ga+19Y=; b=Vozque7cYuVXy+AvoQBSu/74cQTF60PWGSW0ABpOYEOwnt1FzF4jWd2v40euf22Z2n wfhMiw1NU7OyTzb+cPouyzJwnH8zqRpcAwEGB+bCA3pCIC3wdXJPXLB9O+h/atZOOXTq bJ+C5K4t/2Ny/+LlzGHsTJXdsu7HXWZDyTocI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=ubs6mP4QCN1x8U1Mld/XnPaLtcmO6mxOfA+hvIlje/K9k75ZnqPBm3YlmL3mbFL7Eh 37RrRwlZ6oYn0ga5QJ4LTXt8j0/X+nCStSnfUILy7ZdW5TVrLYuaVKHzq0OYM5e0JXXu CCs5rDTjPUn62YPtWFSQhEwQrIbYUWj9qPpIY= Received: by 10.114.161.11 with SMTP id j11mr3918644wae.105.1218483551253; Mon, 11 Aug 2008 12:39:11 -0700 (PDT) Received: by 10.114.159.2 with HTTP; Mon, 11 Aug 2008 12:39:11 -0700 (PDT) Message-ID: <6cd6de210808111239v480710a2xbbf45b5fafa7cf59@mail.gmail.com> Date: Mon, 11 Aug 2008 15:39:11 -0400 From: "Rocky Bernstein" To: zsh-workers@sunsite.dk Subject: Re: Getting source file and line number of a function. In-Reply-To: <200808111932.m7BJWu1f008907@pws-pc.ntlworld.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6cd6de210808091811pa8ddf92oc66a7a10d4cc3904@mail.gmail.com> <200808111932.m7BJWu1f008907@pws-pc.ntlworld.com> X-Virus-Scanned: ClamAV 0.92.1/8008/Mon Aug 11 19:34:45 2008 on bifrost X-Virus-Status: Clean funcsourcetrace contains entries for source'd files, right? On Mon, Aug 11, 2008 at 3:32 PM, Peter Stephenson wrote: > "Rocky Bernstein" wrote: >> Great! Let me know when code is committed into CVS which includes >> tracking source calls, and I'll revise the zshdb code then. >> >> Ditto for instruction skipping and/or showing the command to be run. > > I've committed the source code tracing, but I decided "funcsourcetrace" > was a better name than "funcfiletrace", since "file" doesn't really > distinguish the purpose of the new variable. I've added a test and > fixed a couple of additional bugs. The test is fairly simple and it's > quite possible that extending it would reveal further problems. > > The instruction skipping using "setopt ERR_EXIT" is also there. > > -- > Peter Stephenson > Web page now at http://homepage.ntlworld.com/p.w.stephenson/ >