Eclipse 不能切换到 Debug 调试模式,提示错误信息为:Unexpected error setting up the debugger,详细错误信息:

java.net.SocketException: select failed
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(Unknown Source)
at java.net.ServerSocket.implAccept(Unknown Source)
at java.net.ServerSocket.accept(Unknown Source)
at org.python.pydev.debug.model.remote.ListenConnector.run(ListenConnector.java:40)
at java.lang.Thread.run(Unknown Source)

Google到的解决办法:卸载 TCP/IP 协议 6,也就是 IPV6 协议,好像 Eclipse 跟 IPV6 协议有一定冲突吧。

Tags: ,

Related posts

Tags: ,.
Home

1 Comment so far

Trackbacks/Pingbacks

Leave a comment

Name(required)
Mail (required),(will not be published)
Website(recommended)

Fields in bold are required. Email addresses are never published or distributed.

Some HTML code is allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
URLs must be fully qualified (eg: http://hanghang.name),and all tags must be properly closed.

Line breaks and paragraphs are automatically converted.

Please keep comments relevant. Off-topic, offensive or inappropriate comments may be edited or removed.