Thread Eclipse + EPIC Debugger Probleme / perl5db.pl did not return a true value
(12 answers)
Opened by
vifo
at 2010-02-01 11:23
User since 2010-01-25
11
Artikel
BenutzerIn
Hallo zusammen,
ich habe folgendes Problem beim Debuggen von Perl unter Eclipse / EPIC / Win32. Sobald ich den Debugger starte, erhalte ich die folgende Fehlermeldung:
Use of uninitialized value in subroutine dereference at (null) line 1. perl5db.pl did not return a true value. BEGIN failed--compilation aborted.
Google brachte bisher gar nichts, auch habe ich in den EPIC Foren nichts zu dem Fehler gefunden. Den Debugger kann ich auf der Kommandozeile normal starten, allerdings erhalte ich ein paar Fehlermeldungen:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
E:\Perl\TEST>perl -d test1.pl
Loading DB routines from perl5db.pl version 1.32 Editor support available.
Enter h or `h h' for help, or `perldoc perldebug' for more help.
main::(test1.pl:3): my $h1 = "hello world\n";
SetConsoleMode failed, LastError=|6| at C:/Strawberry/perl/site/lib/Term/ReadKey.pm line 265. at C:/Strawberry/perl/site/lib/Term/ReadLine/readline.pm line 1581 readline::readline(' DB<1> ') called at C:/Strawberry/perl/site/lib/Term/ReadLine/Perl.pm line 11 Term::ReadLine::Perl::readline('Term::ReadLine::Perl=ARRAY(0xb0c2d4)', ' DB<1> ') called at C:/Strawberry/perl/ lib/perl5db.pl line 6499 DB::readline(' DB<1> ') called at C:/Strawberry/perl/lib/perl5db.pl line 2237 DB::DB called at test1.pl line 3 DB<1>
Das gleiche Problem habe ich übrigens auch, wenn ich ActiveState Perl 5.10.1 einsetze (scheint also kein Strawberry Problem zu sein).
Infos:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
E:\>perl -V Summary of my perl5 (revision 5 version 10 subversion 1) configuration:
Platform: osname=MSWin32, osvers=5.1, archname=MSWin32-x86-multi-thread uname='Win32 strawberryperl 5.10.1.0 #1 30 i386' config_args='undef' hint=recommended, useposix=true, d_sigaction=undef useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=undef, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags =' -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_S YS -fno-strict-aliasing -DPERL_MSVCRT_READFIX', optimize='-s -O2', cppflags='-DWIN32' ccversion='', gccversion='3.4.5', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='long long', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='g++', ldflags ='-s -L"C:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\lib"' libpth=C:\strawberry\c\lib libs= -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi3 2 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 perllibs= -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnet api32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 libc=, so=dll, useshrplib=true, libperl=libperl510.a gnulibc_version='' Dynamic Linking: dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-mdll -s -L"C:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\lib"'
Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS PERL_MALLOC_WRAP PL_OP_SLAB_ALLOC USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_SITECUSTOMIZE Built under MSWin32 Compiled at Oct 21 2009 13:54:15 @INC: C:/Strawberry/perl/lib C:/Strawberry/perl/site/lib C:\strawberry\perl\vendor\lib .
EPIC: 0.6.35 Eclipse: 3.5.1
Irendwelche Ideen?
Grüße
vifo
Last edited: 2010-02-01 11:24:38 +0100 (CET)
View full thread Eclipse + EPIC Debugger Probleme / perl5db.pl did not return a true value
|