I am trying to debug a Java program that contains a fair number of anonymous inner classes. Whenever I start the program in Eclipse's debug mode, I get the following messages:
Unable to install breakpoint in my.own.code.SomeClass1$$FastClassByGuice$$21bac442
Unable to install breakpoint in my.own.code.SomeClass2$$FastClassByGuice$$7880adb3
Unable to install breakpoint in my.own.code.SomeClass2$$FastClassByGuice$$7880adb3
Unable to install breakpoint in my.own.code.SomeClass3$$FastClassByGuice$$9ac6f2a1
Unable to install breakpoint in my.own.code.SomeClass4$$FastClassByGuice$$8ae07d4b
Unable to install breakpoint in my.own.code.SomeClass4$$FastClassByGuice$$9ac6f2a1
Unable to install breakpoint in my.own.code.SomeClass5$$FastClassByGuice$$2ef92190
Unable to install breakpoint in my.own.code.SomeClass6$$FastClassByGuice$$c98d2633
For each breakpoint in one of my anonymous inner classes I get a message like those above. How do I fix that? I need to debug my anonymous inner classes.
Some extra info: My program consists of 4 maven modules inside one large maven project.
I compile them all in the same way using Oracle's jdk1.7.
Just to be sure, I added the following to all my modules' pom.xml
s, but without any luck:
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<debug>true</debug>
</configuration>
</plugin>
</plugins>
</build>
I have also looked at (1, 2, 3), but my eclipse settings are okay.