Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Eclipse Debug Problem

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I installed eclipse 2.1 and all looks fine: My projects are imported and compiled. The applications produce the expected results, but I can not debug the files.
When I start "Debug...", do the configuration and push Debug I get the information that a free socket was found and the workplace changes to the debug environment. I see the console with the title: "TestJava at localhost: 1234" that's it. It either stops at my breakpoints nor runs through without breakpoints.
I am rather desparate. Thanks for any help.
Thorsten
 
Author
Posts: 142
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Thorsten Hapke:
When I start "Debug...", do the configuration and push Debug I get the information that a free socket was found and the workplace changes to the debug environment. I see the console with the title: "TestJava at localhost: 1234" that's it. It either stops at my breakpoints nor runs through without breakpoints.


Some things to try:
- Make sure you have a current JDK (not JRE) 1.4.1 or higher
- Make sure you have the full Eclipse 2.1 SDK (not the smaller Runtime version)
- Instead of creating a custom launch configuration, delete the one you made, then select your project, and then select Run > Debug As > Java application. This will give you all the default options which should be ok.
- Look at Window > Preferences > Java > Installed JREs and verify that the JDK you expect is the one selected (if not, fix it).
HTH.
 
Thorsten Hapke
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Ed Burnette:


- Make sure you have the full Eclipse 2.1 SDK (not the smaller Runtime version)

HTH.


Thanx. I downloaded a newer release and works fine. Great.
Thorsten
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!