File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse Debug Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Reply Bookmark "Eclipse Debug Problem" Watch "Eclipse Debug Problem" New topic
Author

Eclipse Debug Problem

Thorsten Hapke
Greenhorn

Joined: Jun 11, 2003
Posts: 2
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
Ed Burnette
Author
Ranch Hand

Joined: Jun 10, 2003
Posts: 142
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.


Ed Burnette, Author of Hello Android
Blog: ZDNet's Dev Connection - Twitter: @eburnette
Thorsten Hapke
Greenhorn

Joined: Jun 11, 2003
Posts: 2
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
 
 
subject: Eclipse Debug Problem
 
Threads others viewed
Eclipse debugger stops on breakpoints but on .class files.
action class not being called.
DEBUG MAVEN PROJECT IN ECLIPSE
Adding Breakpoints to JSP's in Eclipse 3.5
Debug in weblogic
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture