How To Attach a Debugger to Your Android Application
Tuesday, July 12th, 2011 | Andoid, Application Development Company | admin
The Eclipse plugin automatically attaches a debugger but you can configure other IDE’s to wait on a debugging port by doing the following
The Dalvik Debug Monitor Server (DDMS) tool , which acts as a port forwarding service between your IDE and the emulator.
- Set optional debugging configurations on your emulator, such as blocking application startup for an activity until a debugger is attached. Note that many of these debugging options can be used without DDMS, such as displaying CPU usage or screen refresh rate on the emulator.
- Configure your IDE to attach to port 8700 for debugging. We’ve included information higher up on how to set up Eclipse to debug your Android Application.
Comments
No comments yet.