-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: half-OT: hibernate, eclipse, debuging-problems
PostPosted: Thu Nov 20, 2003 8:56 am 
Beginner
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


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 20, 2003 9:37 am 
Regular
Regular

Joined: Mon Sep 08, 2003 4:53 am
Posts: 70
Location: Germany
I've seen this with eclipse 2.1.1, too. Click ok, and debugging goes on. If this doesn't work, than try to use eclipse 2.1.1


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.