#301 debugger doesn't support attributes?!

v0.4.x
closed-fixed
Stephan Ruehl
Debugger (177)
5
2006-09-16
2006-09-12
Alex Efros
No

I'm using 'Perl6::Export::Attrs' perl module
recommended in "Perl Best Practices" By Damian Conway
book. This module work using attribute handlers, and
looks like EPIC debugger doesn't support it.

If you try to debug code with this line:
use Perl6::Export::Attrs;
you got error:

org.eclipse.core.internal.resources.ResourceException:
Resource /attrs/0x147c0900)(/usr/lib/perl5/5.8.8/
Attribute/Handlers.pm does not exist.
at
org.eclipse.core.internal.resources.Resource.checkExists(Resource.java:311)
at
org.eclipse.core.internal.resources.Resource.checkAccessible(Resource.java:187)
at
org.eclipse.core.internal.resources.Resource.findMarkers(Resource.java:853)
at
org.epic.perleditor.editors.util.MarkerUtil.clearAllUsedFlags(MarkerUtil.java:75)
at
org.epic.perleditor.editors.util.MarkerUtil.clearAllUsedFlags(MarkerUtil.java:64)
at
org.epic.perleditor.editors.util.PerlValidator.clearAllUsedMarkers(PerlValidator.java:89)
at
org.epic.perleditor.editors.util.PerlValidatorBase.validate(PerlValidatorBase.java:69)
at
org.epic.perleditor.editors.PerlSyntaxValidationThread.runImpl(PerlSyntaxValidationThread.java:84)
at
org.epic.perleditor.editors.PerlSyntaxValidationThread.run(PerlSyntaxValidationThread.java:67)
org.eclipse.core.internal.resources.ResourceException:
Resource /attrs/0x147c0900)(/usr/lib/perl5/5.8.8/
Attribute/Handlers.pm does not exist.
at
org.eclipse.core.internal.resources.Resource.checkExists(Resource.java:311)
at
org.eclipse.core.internal.resources.Resource.checkAccessible(Resource.java:187)
at
org.eclipse.core.internal.resources.Resource.findMarkers(Resource.java:853)
at
org.epic.perleditor.editors.util.MarkerUtil.removeUnusedMarkers(MarkerUtil.java:108)
at
org.epic.perleditor.editors.util.MarkerUtil.removeUnusedMarkers(MarkerUtil.java:97)
at
org.epic.perleditor.editors.util.PerlValidator.removeUnusedMarkers(PerlValidator.java:138)
at
org.epic.perleditor.editors.util.PerlValidatorBase.validate(PerlValidatorBase.java:156)
at
org.epic.perleditor.editors.PerlSyntaxValidationThread.runImpl(PerlSyntaxValidationThread.java:84)
at
org.epic.perleditor.editors.PerlSyntaxValidationThread.run(PerlSyntaxValidationThread.java:67)
DEbugperl-Thread: is terminated

isSuspended:true

This happens at line 208 in Handlers.pm (inside INIT{}
block).

Discussion

  • Alex Efros
    Alex Efros
    2006-09-12

    • milestone: --> v0.4.x
     
  • Jan Ploski
    Jan Ploski
    2006-09-16

    • status: open --> closed-fixed
     
  • Jan Ploski
    Jan Ploski
    2006-09-16

    Logged In: YES
    user_id=86907

    Fixed in 0.4.10/0.5.7.