Perl debug error

johnphe wrote on Thu Jan 22 16:34:01 CET 2009:
Hi,

I have 
ActivePerl 5.10.0 build 1001
PadWalker 1.54
eclipse 3.4.1
Java 1.5.0_12
EPIC 0.5.x (stable)

When I do a debug step into I get intermittent problems with eclipse hanging.
I get the following errors in the perl debug log file.

!SESSION Jan 22, 2009 10:21:08.669 ---------------------------------------------
java.version=1.5.0_12
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
!ENTRY org.epic.debug **Error** 0 Jan 22, 2009 10:21:08.669
!MESSAGE An error occurred while parsing debugger variables; contents of
the Variables view may be inaccurate. Failure caused by string: {NS00000003$^AS00000002''NS00000003$^DS000000010NS00000003$^ES0000003e'An
operation was attempted on something that is not a socket'NS00000003$^FS000000012NS00000003$^HS00000003256NS00000003$^LS00000003''NS00000003$^OS00000009'MSWin32'NS00000003$^PS00000003831NS00000010$^RE_TRIE_MAXBUFS0000000565536NS00000003$^SS000000011NS00000007$^TAINTS000000010NS00000009$^UNICODES000000010NS00000003$^VS00000007v5.10.0Use
of uninitialized value $item_type in string eq at C:/Documents and Settings/jxphelp/workspace/.metadata/.plugins/org.epic.debug/dumpvar_epic.pm
line 343.
 at C:/Documents and Settings/jxphelp/workspace/.metadata/.plugins/org.epic.debug/dumpvar_epic.pm
line 343
	dumpvar_epic::_unwrap('v5.10.0', -1) called at C:/Documents and Settings/jxphelp/workspace/.metadata/.plugins/org.epic.debug/dumpvar_epic.pm
line 86
	dumpvar_epic::_dump_elem('v5.10.0', -1) called at C:/Documents and Settings/jxphelp/workspace/.metadata/.plugins/org.epic.debug/dumpvar_epic.pm
line 140
	dumpvar_epic::_dump_package_var('\x{16}', '*main::\x{16}') called at C:/Documents
and Settings/jxphelp/workspace/.metadata/.plugins/org.epic.debug/dumpvar_epic.pm
line 64
	dumpvar_epic::dump_package_vars() called at (eval 11)[C:/Perl/lib/perl5db.pl:638]
line 9
	eval '($@, $!, $^E, $,, $/, $\\, $^W) = @saved;package main; $^D = $^D
| $DB::db_stop;
;{
    do \'dumpvar_epic.pm\' unless defined &dumpvar_epic::dump_package_vars;

    defined &dumpvar_epic::dump_package_vars
        or print $DB::OUT "dumpvar_epic.pm not available.\\n";
        
    my $savout = select($DB::OUT);
    dumpvar_epic::dump_package_vars();
    select($savout);
};;

;' called at C:/Perl/lib/perl5db.pl line 638
	DB::eval called at C:/Perl/lib/perl5db.pl line 3434
	DB::DB called at C:/Documents and Settings/jxphelp/workspace/trace2stats/tracecounts.pl
line 3
Use of uninitialized value $item_type in string eq at C:/Documents and Settings/jxphelp/workspace/.metadata/.plugins/org.epic.debug/dumpvar_epic.pm
line 343.
 at C:/Documents and Settings/jxphelp/workspace/.metadata/.plugins/org.epic.debug/dumpvar_epic.pm
line 343
	dumpvar_epic::_unwrap('v5.10.0', -1) called at C:/Documents and Settings/jxphelp/workspace/.metadata/.plugins/org.epic.debug/dumpvar_epic.pm
line 86
	dumpvar_epic::_dump_elem('v5.10.0', -1) called at C:/Documents and Settings/jxphelp/workspace/.metadata/.plugins/org.epic.debug/dumpvar_epic.pm
line 140
	dumpvar_epic::_dump_package_var('\x{16}', '*main::\x{16}') called at C:/Documents
and Settings/jxphelp/workspace/.metadata/.plugins/org.epic.debug/dumpvar_epic.pm
line 64
	dumpvar_epic::dump_package_vars() called at (eval 11)[C:/Perl/lib/perl5db.pl:638]
line 9
	eval '($@, $!, $^E, $,, $/, $\\, $^W) = @saved;package main; $^D = $^D
| $DB::db_stop;
;{
    do \'dumpvar_epic.pm\' unless defined &dumpvar_epic::dump_package_vars;

    defined &dumpvar_epic::dump_package_vars
        or print $DB::OUT "dumpvar_epic.pm not available.\\n";
        
    my $savout = select($DB::OUT);
    dumpvar_epic::dump_package_vars();
    select($savout);
};;

;' called at C:/Perl/lib/perl5db.pl line 638
	DB::eval called at C:/Perl/lib/perl5db.pl line 3434
	DB::DB called at C:/Documents and Settings/jxphelp/workspace/trace2stats/tracecounts.pl
line 3
Use of uninitialized value $item_type in string eq at C:/Documents and Settings/jxphelp/workspace/.metadata/.plugins/org.epic.debug/dumpvar_epic.pm
line 343.
 at C:/Documents and Settings/jxphelp/workspace/.metadata/.plugins/org.epic.debug/dumpvar_epic.pm
line 343
	dumpvar_epic::_unwrap('v5.10.0', -1) called at C:/Documents and Settings/jxphelp/workspace/.metadata/.plugins/org.epic.debug/dumpvar_epic.pm
line 86
	dumpvar_epic::_dump_elem('v5.10.0', -1) called at C:/Documents and Settings/jxphelp/workspace/.metadata/.plugins/org.epic.debug/dumpvar_epic.pm
line 140
	dumpvar_epic::_dump_package_var('\x{16}', '*main::\x{16}') called at C:/Documents
and Settings/jxphelp/workspace/.metadata/.plugins/org.epic.debug/dumpvar_epic.pm
line 64
	dumpvar_epic::dump_package_vars() called at (eval 11)[C:/Perl/lib/perl5db.pl:638]
line 9
	eval '($@, $!, $^E, $,, $/, $\\, $^W) = @saved;package main; $^D = $^D
| $DB::db_stop;
;{
    do \'dumpvar_epic.pm\' unless defined &dumpvar_epic::dump_package_vars;

    defined &dumpvar_epic::dump_package_vars
        or print $DB::OUT "dumpvar_epic.pm not available.\\n";
        
    my $savout = select($DB::OUT);
    dumpvar_epic::dump_package_vars();
    select($savout);
};;

;' called at C:/Perl/lib/perl5db.pl line 638
	DB::eval called at C:/Perl/lib/perl5db.pl line 3434
	DB::DB called at C:/Documents and Settings/jxphelp/workspace/trace2stats/tracecounts.pl
line 3
Use of uninitialized value $item_type in string eq at C:/Documents and Settings/jxphelp/workspace/.metadata/.plugins/org.epic.debug/dumpvar_epic.pm
line 343.
 at C:/Documents and Settings/jxphelp/workspace/.metadata/.plugins/org.epic.debug/dumpvar_epic.pm
line 343
	dumpvar_epic::_unwrap('v5.10.0', -1) called at C:/Documents and Settings/jxphelp/workspace/.metadata/.plugins/org.epic.debug/dumpvar_epic.pm
line 86
	dumpvar_epic::_dump_elem('v5.10.0', -1) called at C:/Documents and Settings/jxphelp/workspace/.metadata/.plugins/org.epic.debug/dumpvar_epic.pm
line 140
	dumpvar_epic::_dump_package_var('\x{16}', '*main::\x{16}') called at C:/Documents
and Settings/jxphelp/workspace/.metadata/.plugins/org.epic.debug/dumpvar_epic.pm
line 64
	dumpvar_epic::dump_package_vars() called at (eval 11)[C:/Perl/lib/perl5db.pl:638]
line 9
	eval '($@, $!, $^E, $,, $/, $\\, $^W) = @saved;package main; $^D = $^D
| $DB::db_stop;
;{
    do \'dumpvar_epic.pm\' unless defined &dumpvar_epic::dump_package_vars;

    defined &dumpvar_epic::dump_package_vars
        or print $DB::OUT "dumpvar_epic.pm not available.\\n";
        
    my $savout = select($DB::OUT);
    dumpvar_epic::dump_package_vars();
    select($savout);
};;

;' called at C:/Perl/lib/perl5db.pl line 638
	DB::eval called at C:/Perl/lib/perl5db.pl line 3434
	DB::DB called at C:/Documents and Settings/jxphelp/workspace/trace2stats/tracecounts.pl
line 3
Use of uninitialized value $item_type in string eq at C:/Documents and Settings/jxphelp/workspace/.metadata/.plugins/org.epic.debug/dumpvar_epic.pm
line 343.
 at C:/Documents and Settings/jxphelp/workspace/.metadata/.plugins/org.epic.debug/dumpvar_epic.pm
line 343
	dumpvar_epic::_unwrap('v5.10.0', -1) called at C:/Documents and Settings/jxphelp/workspace/.metadata/.plugins/org.epic.debug/dumpvar_epic.pm
line 86
	dumpvar_epic::_dump_elem('v5.10.0', -1) called at C:/Documents and Settings/jxphelp/workspace/.metadata/.plugins/org.epic.debug/dumpvar_epic.pm
line 140
	dumpvar_epic::_dump_package_var('\x{16}', '*main::\x{16}') called at C:/Documents
and Settings/jxphelp/workspace/.metadata/.plugins/org.epic.debug/dumpvar_epic.pm
line 64
	dumpvar_epic::dump_package_vars() called at (eval 11)[C:/Perl/lib/perl5db.pl:638]
line 9
	eval '($@, $!, $^E, $,, $/, $\\, $^W) = @saved;package main; $^D = $^D
| $DB::db_stop;
;{
    do \'dumpvar_epic.pm\' unless defined &dumpvar_epic::dump_package_vars;

    defined &dumpvar_epic::dump_package_vars
        or print $DB::OUT "dumpvar_epic.pm not available.\\n";
        
    my $savout = select($DB::OUT);
    dumpvar_epic::dump_package_vars();
    select($savout);
};;

;' called at C:/Perl/lib/perl5db.pl line 638
	DB::eval called at C:/Perl/lib/perl5db.pl line 3434
	DB::DB called at C:/Documents and Settings/jxphelp/workspace/trace2stats/tracecounts.pl
line 3
Use of uninitialized value $item_type in string eq at C:/Documents and Settings/jxphelp/workspace/.metadata/.plugins/org.epic.debug/dumpvar_epic.pm
line 343.
 at C:/Documents and Settings/jxphelp/workspace/.metadata/.plugins/org.epic.debug/dumpvar_epic.pm
line 343
	dumpvar_epic::_unwrap('v5.10.0', -1) called at C:/Documents and Settings/jxphelp/workspace/.metadata/.plugins/org.epic.debug/dumpvar_epic.pm
line 86
	dumpvar_epic::_dump_elem('v5.10.0', -1) called at C:/Documents and Settings/jxphelp/workspace/.metadata/.plugins/org.epic.debug/dumpvar_epic.pm
line 140
	dumpvar_epic::_dump_package_var('\x{16}', '*main::\x{16}') called at C:/Documents
and Settings/jxphelp/workspace/.metadata/.plugins/org.epic.debug/dumpvar_epic.pm
line 64
	dumpvar_epic::dump_package_vars() called at (eval 11)[C:/Perl/lib/perl5db.pl:638]
line 9
	eval '($@, $!, $^E, $,, $/, $\\, $^W) = @saved;package main; $^D = $^D
| $DB::db_stop;
;{
    do \'dumpvar_epic.pm\' unless defined &dumpvar_epic::dump_package_vars;

    defined &dumpvar_epic::dump_package_vars
        or print $DB::OUT "dumpvar_epic.pm not available.\\n";
        
    my $savout = select($DB::OUT);
    dumpvar_epic::dump_package_vars();
    select($savout);}
!STACK 0
org.epic.debug.varparser.TokenVarParser$ParseException: expected token N
missing @408
	at org.epic.debug.varparser.TokenVarParser.readVar(TokenVarParser.java:151)
	at org.epic.debug.varparser.TokenVarParser.readVars(TokenVarParser.java:190)
	at org.epic.debug.varparser.TokenVarParser.parseVars(TokenVarParser.java:38)
	at org.epic.debug.db.StackFrame.readTopFrameVars(StackFrame.java:412)
	at org.epic.debug.db.StackFrame.getVariables(StackFrame.java:226)
	at org.eclipse.debug.internal.ui.model.elements.StackFrameContentProvider.getAllChildren(StackFrameContentProvider.java:51)
	at org.eclipse.debug.internal.ui.model.elements.StackFrameContentProvider.getChildCount(StackFrameContentProvider.java:28)
	at org.eclipse.debug.internal.ui.model.elements.ElementContentProvider.retrieveChildCount(ElementContentProvider.java:114)
	at org.eclipse.debug.internal.ui.model.elements.ElementContentProvider$2.run(ElementContentProvider.java:63)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
jploski wrote on Thu Jan 22 19:08:23 CET 2009:
Have you tried the 'testing' version yet?
johnphe wrote on Fri Jan 23 17:32:26 CET 2009:
THanks, it worked !

Note: The above is an archived snapshot of a forum thread. Use the original thread at sf.net to post comments.