Announcement Announcement Module
No announcement yet.
Debugging CGLIB enhanced code in WSAD Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Debugging CGLIB enhanced code in WSAD

    We're using Spring and Hibernate in WSAD 5.1.1. When we attempt to set a breakpoint on one of our Spring "managed" beans (ProductDAO), we get the following error:

    Attempting to install a breakpoint in the type com.....ProductDAO$$EnhancerByCGLIB$$5c9.. that has no line number attributes. The breakpoint cannot be installed.

    Any ideas?

    Robert Morschel

  • #2
    You mean presumably a managed bean that has AOP advice applying to it, using CGLIB (with proxyTargetClass)? Or are you using lookup methods? Normal IoC management won't result in Spring using CGLIB.

    This error can be ignored in Eclipse and, I would expect, WSAD. I know it's a bit annoying, but it doesn't affect ability to debug.