Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » User lib source not referenced by debugger?
User lib source not referenced by debugger? [message #257296] Sun, 09 November 2008 14:50 Go to next message
Eclipse UserFriend
I'm using Eclipse Version: 3.4.1 Build id: M20080911-1700 on Linux, with
java-6-sun-1.6.0.03 JRE. Building a J2EE app using EJB 3.0, JSF, JBoss
Seam, Hibernate, and some other libraries.

I have successfully created my project and Eclipse is great! Thanks! I
created a bunch of Eclipse user libraries to reference the 3rd party
libraries that I'm using and I attached source code and Javadoc to the JAR
files in the libraries. All ok up to this point.

The problem is when I set a breakpoint in one of the user library files,
when the breakpoint is hit, Eclipse tells me that there is no source
attached. I can attach the source at that point (in the debugger) and it
works, but why would I have to attach the source code again? Why doesn't
it just get the source code from the user library src attachment? Am I
missing something?

One other thing, please. I logged into the website to post this message,
but I can't find any way to update my account, which has an incorrect
email address and probably other out-of-date information. Thanks.
Re: User lib source not referenced by debugger? [message #257301 is a reply to message #257296] Sun, 09 November 2008 15:09 Go to previous message
Eclipse UserFriend
Actually, its worse than I thought. I've run into 2 quick problems:

1. There seems to be confusion in the debugger as to which of the 2 files
it should reference (the Java source file from the Eclipse user library or
the one referenced from the debugger when the breakpoint is hit). The
result is that I'm having trouble setting and seeing breakpoints.

2. I stepped-into another file within the debugger from a 3rd party
library file. The debugger asked my to attach a source file, but it
doesn't indicate the Java package of the file, only the classname. I have
no idea where this file is coming from, so I now will have to spend a
significant amount of time unpackaging JAR files so I can grep for the
file to try to find it so I can attach the right source file for the
debugger....whew! Don't want to do this.

Please, help. Thank you.
Previous Topic:FLEX Builder is Eclipse based -- can I get FLEX plugins from eclipse.org?
Next Topic:Java source folder as a subfolder in hierarchy
Goto Forum:
  


Current Time: Wed May 07 08:51:08 EDT 2025

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

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

Back to the top