Liking the debugger to third-party source code [message #188532] |
Wed, 17 January 2007 02:05 |
Eclipse User |
|
|
|
Originally posted by: pwfarwell.yahoo.com
What's the best way to include third party source code into my Eclipse 3.2
project so that I can use the debugger to step into the code?
(The third-party source is from Hibernate; I have the version of the
Hibernate source that matches exactly its binary/jar version, so that
isn't a problem).
I want to include the Hibernate source into my project without having to
compile it each time I compile my own source.
Also, I've seen the "Attach Source" button that appears whenever you open
a compile class file in the Eclipse editor. I'm unable to use this method
due to a problem with the Maven plugin for Eclipse.
Is there some other way to include source into an Eclipse project, so that
the source is used for debugging, but doesn't need to be compiled?
Thanks in advance...
pf
|
|
|
Re: Liking the debugger to third-party source code [message #188553 is a reply to message #188532] |
Wed, 17 January 2007 04:55 |
Eclipse User |
|
|
|
Originally posted by: eclipse5.rizzoweb.com
pfarwell wrote:
> What's the best way to include third party source code into my Eclipse
> 3.2 project so that I can use the debugger to step into the code?
> (The third-party source is from Hibernate; I have the version of the
> Hibernate source that matches exactly its binary/jar version, so that
> isn't a problem).
Right-click on the Hibernate JAR and choose Properties. There is an
option to specify the source location. That should automatically update
the Launch you use to debug your application so the source will be
available at runtime. Unless your debug Launch configuration does not
use the JAR that is associated with your project build classpath...
Hope this helps,
Eric
|
|
|
Powered by
FUDForum. Page generated in 0.03492 seconds