develooper Front page | perl.perl5.porters | Postings from August 2013

[perl #116358] perl debugger 'n' steps into lvalue subs (not over)

Thread Previous
From:
kevin dawson via RT
Date:
August 26, 2013 20:34
Subject:
[perl #116358] perl debugger 'n' steps into lvalue subs (not over)
Message ID:
rt-3.6.HEAD-1873-1377535170-709.116358-14-0@perl.org
now works as expected ( perl 5.18.1 )

$ perl -d 116358.pl 

Loading DB routines from perl5db.pl version 1.39_10
Editor support available.

Enter h or 'h h' for help, or 'man perldebug' for more help.

main::(116358.pl:6):	my $data = '';
  DB<1> s
main::(116358.pl:15):	print "Start test, \$data=$data\n";
  DB<1> 
Start test, $data=
main::(116358.pl:16):	lslice(3, 5) = 4;
  DB<1> 
main::lslice(116358.pl:9):		my ($arg1, $val1) = @_;
  DB<1> 
main::lslice(116358.pl:10):		print ".. in lslice now\n";
  DB<1> 
.. in lslice now
main::lslice(116358.pl:11):		print ".. $arg1 + $val1 = ", $arg1 + $val1,
"\n";
  DB<1> 
.. 3 + 5 = 8
main::lslice(116358.pl:12):		$data;
  DB<1> 
main::(116358.pl:17):	print "Stop test, \$data=$data\n";
  DB<1> 
Stop test, $data=4
main::(116358.pl:19):	exit(0);
  DB<1> 
Debugged program terminated.  Use q to quit or R to restart,
use o inhibit_exit to avoid stopping after program termination,
h q, h R or h o to get additional info.
  DB<1> q

imho this is was fixed in shlom-fish wake and thus closed


Thread Previous


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