eclipse下debug不了java

阅读更多
错误信息是:
  ATAL ERROR in native method: JDWP No transports initialized, jvmtiError=JVMTI_ERROR_INTERNAL(113)
  ERROR: transport error 202: gethostbyname: unknown host ["transport.c",L41]
  ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510) ["debugInit.c",L500]
  JDWP exit error JVMTI_ERROR_INTERNAL(113): No transports initialized
解决办法:
  在/etc/hosts文件中把因各种原因而注释或删除的下文加上即可
  
127.0.0.1 localhost.localdomain localhost

你可能感兴趣的:(Java,Eclipse,Socket,C,C++)