![]() |
![]() |
|
| Index | Recent Threads | Unanswered Threads | Who's Online | Help |
|
|
| No member browsing this thread |
|
Thread Status: Active Total posts in this thread: 5
|
|
| Author |
|
|
Newbie Joined: Aug 10, 2006 Post Count: 5 Status: Offline |
Hi, I was wondering if someone has already used the debug tool on Netbeans 5 after having enhanced his JDO classes ? It seems that the generated classes (classes that I enhance) in the build folder are not those use at runtime when debuging... is that true ? if so, is there a solution ? thanks, alex |
||
|
|
Expert Belgium Joined: Mar 12, 2004 Post Count: 2991 Status: Offline |
The enhanced class has new methods, but does not have source code associated, so you cannot see the source code for code added by the enhancer. ---------------------------------------- Erik Bengtson ![]() |
||
|
|
Newbie Joined: Aug 10, 2006 Post Count: 5 Status: Offline |
thanks Eric, is it a solution to write by myself the methods added by the enhancer? If so, do you know where I could find a description of what the enhancer does exactly in the compiled classes? alex |
||
|
|
Expert UK Joined: Mar 13, 2004 Post Count: 5686 Status: Offline |
is it a solution to write by myself the methods added by the enhancer? It's a solution .... if you have a medical condition and it causes you to punish yourself If so, do you know where I could find a description of what the enhancer does exactly in the compiled classes? The JDO2 spec, where else ? Or maybe just decompile the enhanced classes using a Java class decompiler (there are plenty) ---------------------------------------- -Andy ![]() ![]() |
||
|
|
Newbie Canada Joined: Apr 7, 2010 Post Count: 3 Status: Offline |
The problem is that it makes it more difficult to debug exceptions, a stack trace will say "Unknown Source" so you know which method it happened in but not the line. This is a weak link in the whole "enhancement" process, I think "mangling" would be a more appropriate name. |
||
|
|
|
|
|
Current timezone is GMT May 17, 2012 11:26:14 AM |