New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debugger: my array shown empty by debugger when there is a value in it. #12253
Comments
From trey.bianchini@gmail.comCreated by trey.bianchini@gmail.comwhen an arrayref is declared and conditionally initialized here is a sample module and test and debug session to replicate: $cat Showbug.t use strict; my $sf; ###################################END $cat ./Showbug.pm sub assemble_server_stack { my @stack; } sub show_bug { my $ss = $args{server_stack} if ( $args{server_stack} ); if ( $ts ) { } sub no_bug { my $ss; if ( $ts ) { 1; ############END #Debugging session showing bug $perl -v This is perl 5, version 14, subversion 2 (v5.14.2) built for x86_64-linux Copyright 1987-2011, Larry Wall Perl may be copied only under the terms of either the Artistic License or the Complete documentation for Perl, including FAQ lists, should be found on $perl -d Showbug.t Loading DB routines from perl5db.pl version 1.33 Enter h or `h h' for help, or `man perldebug' for more help. main::(Showbug.t:4): my $sf; Perl Info
|
From @cpansproutFixed in 7ef3083. |
@cpansprout - Status changed from 'new' to 'resolved' |
Migrated from rt.perl.org#114018 (status was 'resolved')
Searchable as RT114018$
The text was updated successfully, but these errors were encountered: