Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Annoying problem with debugger, 3.1RC1, Java 1.5
Annoying problem with debugger, 3.1RC1, Java 1.5 [message #206785] Wed, 15 June 2005 18:38 Go to next message
Eclipse UserFriend
Originally posted by: mgreenberg.dctd_dot_saic.com

I am debugging some code written with Java 1.5. Every time I click on a core
java object type (String, HashMap, HashSet...) in the Variables window, I get a
dailog the first time (for each type) that says, e.g.:


Select Source File

HashMap.class
java/util/HashMap.java - c:\Program Files\Java\jdk1.5.0_02\src.zip



This happens the first time I click on an object of that type (HashMap in this
example). But the problem recurs if I restart debugging.

Obviously something in my path,buildpath, etc. is confusing the JDT, but I don't
really understand why the debugger wants a SOURCE file to (as I understand it)
run the toString() method on the object.

My rt.jar is at c:\Program Files\Java\jdk1.5.0_03\jre\lib, with attached source
C:\Program Files\Java\jdk1.5.0_03\src.zip
Re: Annoying problem with debugger, 3.1RC1, Java 1.5 [message #206846 is a reply to message #206785] Thu, 16 June 2005 10:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mgreenberg.dctd_dot_saic.com

Minor correction
>
> Select Source File
>
> HashMap.class
> java/util/HashMap.java - c:\Program Files\Java\jdk1.5.0_02\src.zip
>
>

The _02 was a typo -- everything is _03.
Re: Annoying problem with debugger, 3.1RC1, Java 1.5 [message #206854 is a reply to message #206785] Thu, 16 June 2005 10:48 Go to previous messageGo to next message
Eclipse UserFriend
Sounds like https://bugs.eclipse.org/bugs/show_bug.cgi?id=100357
Kevin

Marvin Greenberg wrote:
> I am debugging some code written with Java 1.5. Every time I click on a
> core java object type (String, HashMap, HashSet...) in the Variables
> window, I get a dailog the first time (for each type) that says, e.g.:
>
>
> Select Source File
>
> HashMap.class
> java/util/HashMap.java - c:\Program Files\Java\jdk1.5.0_02\src.zip
>
>
>
> This happens the first time I click on an object of that type (HashMap
> in this example). But the problem recurs if I restart debugging.
>
> Obviously something in my path,buildpath, etc. is confusing the JDT, but
> I don't really understand why the debugger wants a SOURCE file to (as I
> understand it) run the toString() method on the object.
>
> My rt.jar is at c:\Program Files\Java\jdk1.5.0_03\jre\lib, with attached
> source
> C:\Program Files\Java\jdk1.5.0_03\src.zip
Re: Annoying problem with debugger, 3.1RC1, Java 1.5 [message #206885 is a reply to message #206854] Thu, 16 June 2005 11:34 Go to previous message
Eclipse UserFriend
Originally posted by: mgreenberg.dctd_dot_saic.com

Kevin Barnes wrote:
> Sounds like https://bugs.eclipse.org/bugs/show_bug.cgi?id=100357
> Kevin
>

Indeed, and apparently I had the src.zip attached in two places, and was asking
eclipse to find duplicate sources, as the bug commentary suggested. Getting rid
of that fixed it, thanks.
Previous Topic:Modifying setter generation?
Next Topic:Halting project builders on error
Goto Forum:
  


Current Time: Sun Jul 27 07:12:48 EDT 2025

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

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

Back to the top