Skip Menu |

This queue is for tickets about the Test-Class CPAN distribution.

Report information
The Basics
Id: 66898
Status: rejected
Priority: 0/
Queue: Test-Class

People
Owner: Nobody in particular
Requestors: sam [...] sam-raymer.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.36
Fixed in: (no value)



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;
Hi, I'm afraid I can't reproduce this - I don't have access to any XP systems. With a bit of googling it seems to be something that occurs with debugging Attribute::Handlers based code and not Test::Class specific - see: http://www.perlmonks.org/bare/?node_id=579479 for different example of the same error. It might be worth raising a bug on Attribute::Handlers if their isn't one already. Cheers, Adrian