From owner-freebsd-questions Tue Oct 22 21:22:37 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AE7D837B401 for ; Tue, 22 Oct 2002 21:22:35 -0700 (PDT) Received: from gull.mail.pas.earthlink.net (gull.mail.pas.earthlink.net [207.217.120.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1AC5943E6E for ; Tue, 22 Oct 2002 21:22:30 -0700 (PDT) (envelope-from parv_fm@mailsent.net) Received: from sdn-ap-029dcwashp0179.dialsprint.net ([65.177.104.179] helo=moo.holy.cow) by gull.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 184D2B-0005Iv-00; Tue, 22 Oct 2002 21:22:20 -0700 Received: by moo.holy.cow (Postfix, from userid 1001) id 32BEAAB2C; Wed, 23 Oct 2002 00:25:03 -0400 (EDT) Date: Wed, 23 Oct 2002 00:25:03 -0400 From: parv To: Fernando Gleiser Cc: freebsd-questions@freebsd.org Subject: Re: perl crashing - how to debug?? Message-ID: <20021023042502.GA384@moo.holy.cow> Mail-Followup-To: Fernando Gleiser , freebsd-questions@freebsd.org References: <20021022014442.GB2742@moo.holy.cow> <20021022085732.C11230-100000@cactus.fi.uba.ar> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021022085732.C11230-100000@cactus.fi.uba.ar> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG in message <20021022085732.C11230-100000@cactus.fi.uba.ar>, wrote Fernando Gleiser thusly... > > On Mon, 21 Oct 2002, parv wrote: > > > in message <3DB48A31.90205@potentialtech.com>, > > > > mind you that perl5.6 port w/ "-DDEBUGGING" option alone didn't > > build w/ the debugging support the last time i tried. "-g" option > > was necessary in addition. > > That's because "-DDEBUGGING" is for enabling the -D command line switch > (see perlrun(1) for details). If you want to attach a debugger to perl(1), > you need "-g". i take it you mean that "perl -Dr" (regex debugging) would/should work w/ "-DDEBUGGING" option alone, w/o the need of "-g" to the compiler. if that's the case, i did not find it to be. first i did try (perl 5.6 port) w/ "-DDEBUGGING" option alone; tried "perl -Dr -e 'm/moo/'" which produced an error message on the lines that "-D" is not supported/complied. after compiling w/ "-g" option, things worked as expected. from what you say & from perlrun(1), it does seem that if perl is configured w/ "-DDEBUGGING" alone, it should Just Work, but doesn't... possibly a bug(?). - parv -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message