Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Oct 2002 00:25:03 -0400
From:      parv <parv_fm@emailgroups.net>
To:        Fernando Gleiser <fgleiser@cactus.fi.uba.ar>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: perl crashing - how to debug??
Message-ID:  <20021023042502.GA384@moo.holy.cow>
In-Reply-To: <20021022085732.C11230-100000@cactus.fi.uba.ar>
References:  <20021022014442.GB2742@moo.holy.cow> <20021022085732.C11230-100000@cactus.fi.uba.ar>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021023042502.GA384>