Hey Peter, thanks for the response,

  I had crawled back into my hacking hole, and just came up for air...

  I am not proficient at all with the perl debugger, that is why I was
looking for a gui version (not to mention the fact that Activestate's 
PDK took the command line debug over)...

I am not sure if this is the original error location, but this is
where it dies now.

dies on the second line here:
<snippet>
  ($self->{SELECT_ID})=$self->_fetch;
  for my $row (0..$#{@{$self->{SELECT_ID}}}) {
    my %hash;
    for(0..$#{@$list}) {
      $hash{$list->[$_]}=$self->{SELECT_ID}->[$row]->[$_];
    }
    push @{$self->{SELECT}}, \%hash;
  }

  sub _fetch {
    my $self=shift;
    my @rows;
    while(my $row=$self->{STH}->fetchrow_arrayref) { push @rows, [@$row]; }
    return(\@rows);
  }
</snippet>

The debuggers produce the following error:

    Please report this error to this site's webmaster.
    Bizarre copy of ARRAY in leave at BB/DBM.pm line ...

I will forward this on to [EMAIL PROTECTED] as well I guess... 

I just assumed it was a problem with the debuggers, and I went on with 
peppering my scripts with print statements and reading those huge tail 
files...

Shawn

----- Original Message ----- 
From: "Peter Scott" <[EMAIL PROTECTED]>
To: "Shawn" <[EMAIL PROTECTED]>; "Beginners @ Perl.org" <[EMAIL PROTECTED]>
Sent: Wednesday, June 26, 2002 4:05 PM
Subject: Re: Perl Debugger IDE


> At 02:09 AM 6/25/02 -0500, Shawn wrote:
> >Does anyone know of a IDE debugger that does not choke on complex data 
> >objects?  I have tried all of the following, but they all have a 
> >serious problem with dereferencing an array of referenced hashes...
> >
> >VisiPerl
> >Open Perl IDE
> >OptiPerl
> >ActiveState's PDK
> >
> >I am getting the "Bizarre copy of ARRAY in leave at ..." when run 
> >through any of these debuggers, and yet the script runs fine from the 
> >command line (and the browser).  I would really like to see what the 
> >internal vars are doing without having to run through  a tail file 
> >that gets quite large quite fast with all the 'steps'.  It is also 
> >annoying to have to pepper the scripts with debug objects...
> 
> (1) Do you get the same problem with Perl's command-line 
> debugger?  Something similar or identical to this was reported recently 
> to the Perl 5 Porters.  I don't recall if it's been fixed yet.
> 
> (2) If so, can we see some code, provided you can get it below a dozen 
> lines or so?  My guess is that this is a bug in the part of Perl 
> underlying all those debuggers and if it hasn't been reported yet then 
> we should do so.
> 
> 
> --
> Peter Scott
> Pacific Systems Design Technologies
> http://www.perldebugged.com/
> 
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to