Can you Disable DDMS in Eclipse

Eric Nordvik picture Eric Nordvik · Mar 23, 2011 · Viewed 15.2k times · Source

Does anyone know if it is possible to disable the DDMS in Eclipse? By that I mean DDMS should not being start when Eclipse is launched.

I'd like to use only the DDMS from the terminal, but when I start it it keeps saying:

Could not open Selected VM debug port (8700). Make sure you do not have another instance of DDMS or of the eclipse plugin running. If it's being used by something else, choose a new port number in the preferences.

I like the standalone DDMS better than the one that is built in to Eclipse, mostly because it is far easier to switch between DDMS and the source code that way. And, I feel it's being put too much into the same program when DDMS is run as a plugin to Eclipse. Also, as DDMS is quite unstable and crashes a lot, its easier to restart only DDMS and not having to restart the "not-so-fast" Eclipse.

Answer

Apoorva Iyer picture Apoorva Iyer · Mar 23, 2011

You have to start DDMS before you start Eclipse.
Also, set the debugger port to something like 32767 in Eclipse.
Go to Window -> Preferences -> Android -> DDMS and set Base local debugger port to 32767.