in message <[EMAIL PROTECTED]>,
wrote Fernando Gleiser thusly...
>
> On Mon, 21 Oct 2002, parv wrote:
> 
> > in message <[EMAIL PROTECTED]>,
> >
> > 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to