develooper Front page | perl.perl5.porters | Postings from July 2001

[PATCH 5.7.2] debug reloading selfloaded stuff

From:
Ilya Zakharevich
Date:
July 23, 2001 15:13
Subject:
[PATCH 5.7.2] debug reloading selfloaded stuff
Message ID:
20010723181320.A14005@math.ohio-state.edu
The format of "defined-in-file" info for subroutines defined in eval's
was changed some time ago.  It was (eval 19), now it is (eval 19)[f/ile:34].

Additionally, (?{}) inside a REx has the format (reval 19)[f/ile:34].

The logic to reset breakpoints when doing `R'estart in the debugger
was not updated.

Enjoy,
Ilya

--- ./lib/perl5db.pl-pre-postponed	Tue Jul  3 01:39:36 2001
+++ ./lib/perl5db.pl	Mon Jul 23 13:47:50 2001
@@ -1226,7 +1226,7 @@ EOP
 			  *dbline = $main::{'_<' . $file};
 			  next unless %dbline or $postponed_file{$file};
 			  (push @hard, $file), next 
-			    if $file =~ /^\(eval \d+\)$/;
+			    if $file =~ /^\(\w*eval/;
 			  my @add;
 			  @add = %{$postponed_file{$file}}
 			    if $postponed_file{$file};



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About