Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

eclipse debug problem

Options
  • 16-06-2005 10:14pm
    #1
    Closed Accounts Posts: 7




    Anyone have an idea why I get the following when I try to Debug with eclipse
    Cannot find a free socket for the debugger.


Comments

  • Registered Users Posts: 3,312 ✭✭✭mr_angry


    Bizarre error. Sounds like its trying to create a socket connection to itself to do the debugging. Are you trying to do network debugging or anything like that? More details would probably be good.


  • Registered Users Posts: 2,426 ✭✭✭ressem


    Yep more info required.

    What OS are you using? JDK?

    E.g nothing to do with
    http://lists.freebsd.org/pipermail/freebsd-java/2003-December/001284.html


  • Closed Accounts Posts: 7 kob2376


    Im using JVM 1.5, Windows XP os.
    Do I have to set up some network configurations with eclipse or something...,
    I also have a problem when trying to run junit test cases., I get the followng error:
    Exception in thread "main" java.lang.IllegalArgumentException: Error: parameter '-port' not specified
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.defaultInit(RemoteTestRunner.java:272)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.init(RemoteTestRunner.java:202)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:191)


  • Closed Accounts Posts: 7 kob2376


    To answer the 1st question, no Im not debuging any network code. Its just a a basic program , so as I see how the debugger works. Same with the junit tests , its just a basic test case.


  • Closed Accounts Posts: 133 ✭✭Jim Kernsey


    Hi

    I'm not sure if this is the problem you are having but I had a similar error, it was caused by another java application running.

    I got an error like that if I had Azereus running before I launched eclipse, something to do with Azereus binding itself to ports that eclipse uses.

    My solution is to reboot and launch eclipse before any other applications.

    may be it will help??

    JK


  • Advertisement
  • Closed Accounts Posts: 1 Wolfgang R.


    I've run into similar problems. Here is my experience.

    On my PC Win-XP sp2 and its firewall was running. In addition
    the McAfee firewall and virus scan. Installing jdk 1.5.0_04
    raises the same problems under Eclipse 3.0. The local debugger
    and the help system couldn't get a port.

    I've rolled-back my system and the following way did work
    for me

    - don't have an Internet connection running
    - disable all firewall stuff
    - install the jdk
    - start Eclipse and the local debugging
    a msg box comes up that a program is looking for
    Internet access
    - I've granted access here and later on as well
    - At last I've enabled the firewalls again
    The jdk will not try to establish an Internet connection
    this way. But it seems that some default setting within
    the 1.5 jdk causes this new behaviour.

    I was not able to get it running once the ports were not
    allowed. But fortunatly for me my imaging software allows
    me another try.

    I'm still interested how to install the jdk correctly for
    this purpose.

    Regards
    Wolfgang R.


Advertisement