Web Development Company

We offer custom software and Web development services under our proven offshore model
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

0 Comments

No comments yet.


What is 6 + 2 ?
Please leave these two fields as-is:
IMPORTANT! To be able to proceed, you need to solve the following simple math (so we know that you are a human) :-)