Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] AspectJ LTW and Cobertura

We are using AspectJ LTW and Cobertura for code coverage. Class files are weaved just fine if they are not instrumented with Cobertura, but when AspectJ attempts to weave the same aspects into Cobertura-instrumented copies of the same class files, weaving fails with the following error:

 

>> error at com\mycompany\MyAspect.java::0 Cannot read debug info for @Aspect to handle formal binding in pointcuts (please compile with 'javac -g' or '<javac debug='true'.../>' in Ant)

 

Decompiling the instrumented class file indicates that the debug info is in fact present in the uninstrumented and instrumented class file.

 

We are using Cobertura 1.9 and AspectJ 1.6.4. Anyone know what’s going on here?

 

Scott


Back to the top