Results 1 to 2 of 2

Thread: Debugging CGLIB enhanced code in WSAD

Hybrid View

  1. #1
    Join Date
    Oct 2004
    Posts
    1

    Default 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?

    Regards.
    Robert Morschel

  2. #2
    Join Date
    Aug 2004
    Location
    San Mateo, CA
    Posts
    1,265

    Default

    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.
    Rod Johnson - GM, SpringSource Division, VMware
    http://www.springsource.com
    Spring From the Source

Similar Threads

  1. Replies: 13
    Last Post: Oct 24th, 2007, 10:55 AM
  2. Replies: 4
    Last Post: Jun 20th, 2007, 11:06 AM
  3. EHCaching Hibernate
    By dencamel in forum Data
    Replies: 3
    Last Post: Sep 6th, 2005, 09:03 PM
  4. Spring code remarks
    By Alarmnummer in forum Architecture
    Replies: 18
    Last Post: Apr 7th, 2005, 07:17 AM
  5. Replies: 5
    Last Post: Mar 28th, 2005, 08:41 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •