On Mon, Feb 25, 2002 at 01:33:58PM -0800, Joshua Chamas wrote: > Maurice Aubrey wrote: > > The quick fix is to remove the line numbering stuff. > > The real fix is to make it configurable and maybe just honor the > > $Apache::Registry::MarkLine value. > > I could make Apache::ASP honor the Apache::Registry::MarkLine value > for this purpose, but pretty soon now, I will be making the subroutines > that are compiled named by MD5 checksums, so if one does a &Carp::confess, > the stack will not yield anything meaningful when using Apache::DB. > > Would this be OK? Might it be possible instead to have Apache::DB > understand standard perl #line directives?
I don't know. I think this is a general debugger issue and not specific to Apache::DB. Here's some test code that elicits the problem: #!/usr/bin/perl my $s = <<EOF; package A; #line 1 foofile sub foo { for (1..5) { print "Ni! \$_\n"; } } EOF eval $s; die $@ if $@; my $subid = 'A::foo'; &$subid(); At least under perl 5.6.0, if I leave the #line directive in there then the debugger doesn't display the statements when I enter foo(); if I remove it, everything works. Maurice --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]