Results 1 to 9 of 9
  1. #1
    huasen is offline Member
    Join Date
    Dec 2010
    Posts
    11
    Rep Power
    0

    Default Can't debug in Eclipse(Can't connect to VM)

    I create a simple helloworld java project in eclipse. but i failed to debug it.
    A messagebox says:Cannot connect to VM.
    And flowing log message printed in the console pane:

    FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
    ERROR: transport error 202: connect failed: Connection refused
    ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
    JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [../../../src/share/back/debugInit.c:690]


    my system is Debian Squeeze, JDK 1.6, Eclipse Version: Helios Service Release 1
    I googled but failed to fix my problem.
    Any ideas?

  2. #2
    al_Marshy_1981 is offline Senior Member
    Join Date
    Feb 2010
    Location
    Waterford, Ireland
    Posts
    748
    Rep Power
    5

    Default

    Clear it up, did you try to use eclipses debugger?

  3. #3
    huasen is offline Member
    Join Date
    Dec 2010
    Posts
    11
    Rep Power
    0

    Default

    I think im using Eclipse's debugger, because I use accelerator F11 to launch debuging.

  4. #4
    al_Marshy_1981 is offline Senior Member
    Join Date
    Feb 2010
    Location
    Waterford, Ireland
    Posts
    748
    Rep Power
    5

    Default

    yeah I would try a re-install

  5. #5
    huasen is offline Member
    Join Date
    Dec 2010
    Posts
    11
    Rep Power
    0

    Default

    Why? the installation is completely new.

  6. #6
    al_Marshy_1981 is offline Senior Member
    Join Date
    Feb 2010
    Location
    Waterford, Ireland
    Posts
    748
    Rep Power
    5

    Default

    okay do what you want...

  7. #7
    huasen is offline Member
    Join Date
    Dec 2010
    Posts
    11
    Rep Power
    0

    Default

    lol. Thanks all the same

  8. #8
    huasen is offline Member
    Join Date
    Dec 2010
    Posts
    11
    Rep Power
    0

    Default

    Resolved:
    The problem due to ipv6 of debian setting.
    An Old discuss from eclipse.org:
    Eclipse Community Forums

    Bingo!

  9. #9
    al_Marshy_1981 is offline Senior Member
    Join Date
    Feb 2010
    Location
    Waterford, Ireland
    Posts
    748
    Rep Power
    5

Similar Threads

  1. GWT Eclipse 3.5 Plugin Debug Problems
    By jwolfrum in forum Eclipse
    Replies: 2
    Last Post: 06-14-2010, 11:20 AM
  2. Eclipse debug when ant uses temp files
    By aiancu in forum Eclipse
    Replies: 0
    Last Post: 04-21-2009, 04:58 PM
  3. Eclipse debug tutorial -help needed!!
    By Triji in forum Eclipse
    Replies: 1
    Last Post: 01-27-2009, 02:38 PM
  4. How to enable debug mode in eclipse
    By msgbharath in forum New To Java
    Replies: 3
    Last Post: 01-10-2009, 03:20 AM
  5. Cannot debug on Eclipse.. and other IDE
    By pexlee in forum Eclipse
    Replies: 0
    Last Post: 09-26-2008, 06:07 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •