Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#228 array...cut...

v0.3.11
closed-fixed
Stephan Ruehl
Debugger (177)
5
2007-04-28
2005-12-04
Stephan Ruehl
No

When pushing arrays on to an array, after some number
of iterations, the new entries appear in the variable
window with ...Cut..., with the data clearly inaccessable.

Code appears to be fine, the problem is with Padwalker
or the debugger. Please
would someone try the code below...

-----------------------------------------------
#!c:/perl/bin/perl.exe
use strict;
use warnings;
use Class::Date qw(:errors date localdate gmdate now);

sub calculateTimeline {

my $cnt = 0;

# Setup timeline variables
my @timeline = ();
my $end = date('now');
my $start = $end - '10M';
my $interval = '7D';
my $too;

# initialise first from variable
my $from = $start;

# loop over range, creating timeline
do {
$too = $from + $interval - '1D';
push( @timeline, ["BETWEEN $cnt", "AND $cnt"]);
$from = $too + '1D';
$cnt++;
} while ( $from < $end );
print "Total = $cnt\n";
return \@timeline;
}

my $tref = calculateTimeline();

foreach my $slot (@{$tref})
{
print "@{$slot}\n";
}
--------------------------------------------

At around the 22 iternation, additional elements in the
@timeline array appear
with ...cut... proceeding them, and I can't see their
value.

Discussion

  • Jan Ploski
    Jan Ploski
    2006-05-15

    Logged In: YES
    user_id=86907

    I also encountered this problem today. Bumping up
    $MaxUnwrapCount from 20 to 80 in dumpvar_epic.pm helped. I
    think this limit should be similarly increased in the
    official version.

     
  • Jan Ploski
    Jan Ploski
    2007-04-28

    • status: open --> closed-fixed
     
  • Jan Ploski
    Jan Ploski
    2007-04-28

    Logged In: YES
    user_id=86907
    Originator: NO

    This is no longer an issue in 0.6.2, as dumpvar_epic.pm got a complete rewrite. Closing.