RE: Debugger Doesn't Show Program Lines

[email protected] ("Nelson R Pardee") Fri, 4 May 2007 10:17:28 -0400
Newsgroups perl.debugger
Message-ID <[email protected]>
I found that the combination of -w -d didn't work. But if I did "use
warnings" with -d, the problem went away. I don't think that's what's
supposed to happen, but it's a usable workaround. And 5.8.x had the same
problem, I believe.

> -----Original Message-----
> From: Richard Foley [mailto:[email protected]]=20
> Sent: Friday, May 04, 2007 08:25
> To: [email protected]
> Cc: Nelson R Pardee
> Subject: re: Debugger Doesn't Show Program Lines
>=20
> Perhaps it's a problem with 5.6.1, have you tried a more=20
> recent version of Perl, like 5.8.n?
>=20
> --
> Richard Foley
>=20
> > In-ReplyTo: [email protected]
> >
> > We're upgrading from an old 5.005_03 to v5.6.1. Now when I=20
> use -d on=20
> > via the first line of the program, it starts in debug mode but no=20
> > lines of the program are visible &amp; they are unlistable.=20
> If I do an=20
> > R, then they
> are
> > visible. &lt;Perl -d pgmname&gt; doesn't have this problem.
> >=20
> > We're also running into problems reading stdin, and nntp complains=20
> > about Can't call method &quot;post&quot; on an undefined=20
> value at eg.pl line 1607.
> The
> > script runs fine under the old version of perl.