• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

debugging

 
Ranch Hand
Posts: 158
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
good day,
i am using eclipse 2.0.0.Beta2. when i debug, the debugger takes me to the class files of core java classes, in my case, LinkedHashSet,HashMap,AbstractCollection.class. how am i to force the debugger to go to their respective .java file instead of their .class files.

good day,
krishna prasad
 
Saloon Keeper
Posts: 27764
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ummmmmm. You're using a Beta version of a long-obsolete Eclipse release? The current production Eclipse is something like 3.3.

Actually, even way back in Eclipse 2, the process was roughly the same. Normally, when you step into code and the debugger can't find the Java source, it shows a window with a class summary in it and offers you a chance tell it where the corresponding Java source file is. Depending on which version of a JDK you're using, and what the class is, you may or may not be able to to get source for JDK classes. Other classes depend on who provided them and how they were packaged. Classes that you yourself have source code - because you either wrote the code or they have local copies of the source stored on your computer are treated just like system classes - point to them and the source should show up.
 
krishna prasad gunasekaran
Ranch Hand
Posts: 158
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thank you tim,

you wrote

Classes that you yourself have source code - because you either wrote the code or they have local copies of the source stored on your computer are treated just like system classes - point to them and the source should show up.



how am i to point to them. i have src.zip that contains source code of all core java classes.

good day
krishna prasad
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic