Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Liking the debugger to third-party source code
Liking the debugger to third-party source code [message #188532] Wed, 17 January 2007 02:05 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:AST and Writing out to another CompilationUnit
Next Topic:Shortcut to view a file in the finder
Goto Forum:
  


Current Time: Thu Mar 28 22:53:29 GMT 2024

Powered by FUDForum. Page generated in 0.03492 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top