36 articles and counting
      

Eclipse PHP Tools (PDT) – Problems Debug Port 9000

I like to run Maven Jetty inside Eclipse to debug my Java applications but the other day I came across this error:

FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=JVMTI_ERROR_INTERNAL(113)
ERROR: transport error 202: bind failed: Address already in use ["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

It turns out that the problem was being caused by the PHP Development Tools plug in which I installed yesterday in Eclipse. The PDT plugin starts its debugger automatically on startup of Eclipse.

Ok, I could simply change the port Im using for my Jetty debugging session but I needed to know what the problem was. You can disable the PDT plugin from starting its debugger automatically by changing your preferences in Eclipse.

Eclipse – Preferences > General > Startup and Shutdown > PDT Debug Daemon Plug-in (uncheck)