Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Problem debugging imported project
Problem debugging imported project [message #210775] Mon, 25 July 2005 05:47
Eclipse UserFriend
Originally posted by: campbell.shaun.gmail.com

I've got a webapp running through Eclipse which makes use of some open
source components. These are downloaded automatically as jar files to my
maven repository.

I'm now trying to debug some of these components using a process I used
before. I basically download the source to a location on my hard drive
(not in the Eclipse workspace), run maven eclipse to make a project file
and then import the project into Eclipse.

The problem I have is that I believe Eclipse is still running the code in
the jar file from my maven repository. If I put breakpoints in the java
files I have imported the debugger brings up the class file, sometimes
with the source displayed and sometimes with a button prompting to attach
the source.

If I make a change to the source then I get a message from Tomcat to say
that the source is out of date and it terminates. In any case, it doesn't
appear to run my code.

I've checked and unchecked lots of settings in the project properties and
in Windows preferences but I can't seem to get it to work. I've had this
working in the past and didn't seem to have any problem. Anybody got any
ideas on how I can get this to work reliably?
Previous Topic:Help with JUnit
Next Topic:problem applying changes after AST modification
Goto Forum:
  


Current Time: Sun Jul 13 09:39:27 EDT 2025

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

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

Back to the top