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

Bug report 279298 was opened for this issue.


On Thu, Jun 4, 2009 at 1:38 PM, Scott Frederick <scottyfred@xxxxxxxxx> wrote:

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?