Subject: | Test subroutine names break debugging in Eclipse EPIC |
Using Perl 5.8.7 in Ubuntu Linux 2.6.15-23-386 and ActivePerl 5.8.8 in
Windows XP, and Test::Class 0.36, Eclipse's EPIC debugger throws a message
along these lines when I attempt to debug TestBreaks.pm (attached):
"Can't use an undefined value as a symbol reference at
C:/Perl/lib/Attribute/Handlers.pm line 16.
CHECK failed--call queue aborted.
at C:/Documents and Settings/sraymer/src/PerlTest/testtest.pm line 0"
However, debug works when the test subroutine's name is changed, as in
TestWorks.pm (also attached).
Subject: | TestBreaks.pm |
#!perl
use base 'Test::Class';
use Test::More;
sub test_blah : Test() {
ok( 1, 'test' );
}
1;
Subject: | TestWorks.pm |
#!perl
use base 'Test::Class';
use Test::More;
sub test_bla : Test() {
ok( 1, 'test' );
}
1;