Beginner |
|
Joined: Thu Oct 30, 2003 6:29 am Posts: 30 Location: Germany, KA
|
hi,
i am having nasty problems debuging my hibernatecode in eclipse, and it seems as if hibernateusage causes them. Eclipse refuses to stop on breakpoints in CGLIB-Proxy classes.
Let's assume I am setting a breakpoint in StaffMember.java extends StaffMemberStub.java. My hb-mapping has a tag:
<subclass name="org.xinity.ams.StaffMember"
dynamic-update="false"
dynamic-insert="false"
discriminator-value="Person"
/>
When running code eclipse refuses breakpoint with the error-dialog:
"Attempting to install a breakpoint in the type org.xinity.ams.StaffMember$$ProxiedByCGLIB&&790 that has no line numbers attributes. The breakpoint cannot be installed. Class files must be generated with the line number attributes. Reason: Absent line number information."
I am using eclipse3M4 and hibernate2.0.3
Are there some configuration-options in hibernate that add linenumbers to the proxy-classes or is there another cause for this error?
thanks alot
marie
|
|