I'm trying to debug a class in Eclipse using JBossIDE-1.5M3-ALL on a 4.0.3SP1  
(and I've tried it on 4.0.3 non-SP1) EJB3 application.  When I try to set a 
breakpoint inside this class, and either hit the breakpoint (unlikely) or just 
end up executing this class's code (more likely), I get a popup thusly:

------------------------------
Unable to install breakpoint in
com.company.app.par.scoresheet.ScoreSheet$$EnhancerByCGLIB$$$46ce2994 due to 
missing line number attributes.  Modify compiler options to generate line 
number attributes.

Reason:
Absent Line Number Information
------------------------------

Then this was followed by 2 more similar popups with these differences:

...ScoreSheet$$FastClassByCGLIB$$$8f926af5

...ScoreSheet$$EnhancerByCGLIB$$$46ce2994$$$FastClassByCGLIB$$6846f9b7

I've set the build.xml to have debug on, and I have line numbers turned on in 
both the Preferences and in project specific settings.  I can use breakpoints 
in other classes in this class's package with no problem.

If it helps, here's the declaration for the class:

@Entity(access=AccessType.FIELD)
@Table(name = "ScoreSheet")
@SuppressWarnings("serial")
public class ScoreSheet extends [an @EmbeddableSuperclass] implements 
Serializable {  ...

While I could use logging or System.out println statements, I'd rather be able 
to use the debugger.  Searching Google and here for EnhancerByCGLIB and 
breakpoints yields nothing.  Any hints as to how I can get it to be able to use 
breakpoints in this class?

Thanks!


L.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3946651#3946651

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3946651


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to