The following comment has been added to this issue:
Author: Marcelo Alves
Created: Thu, 5 Jun 2003 4:04 PM
Body:
Hmmm, how about disable CGILIB to debug ?
In hibernate.properties :
hibernate.cglib.use_reflection_optimizer = false
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-120
Here is an overview of the issue:
---------------------------------------------------------------------
Key: HB-120
Summary: Cannot set breakpoints in debugger.
Type: Bug
Status: Unassigned
Priority: Major
Project: Hibernate2
Components:
core
Versions:
2.0rc2
Assignee:
Reporter: Keith Ackley
Created: Thu, 5 Jun 2003 8:20 AM
Updated: Thu, 5 Jun 2003 8:20 AM
Environment: Windows XP, JDK 1.4.1_02, Eclipse 2.1
Description:
I have upgraded my sample project to Hibernate 2. The application works fine but I can no longer set breakpoints in my classes that are mapped to the database. I get the following error dialog in Eclipse:
"Attempting to install a breakpoint in the type ex1.Name$$ProxiedByCGLIB$$0 that has no line number attributes. The breakpoint cannot be installed. Class files must be generated with the line number attributes.
Reason:
Absent Line Number Information"
It appears that the proxy class generated for my class ex1.Name does not contain the debugging information generated by the "-g" option. I do not get the error for instances that I create only instances created by Hibernate.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
|