Attaching Eclipse Debugger to Running Android Application
Sunday, May 27, 2012, Modified: Sunday, May 27, 2012 Refs
  • Run your game.,
  • In Eclipse, switch to DDMS perspective (green Android, top-right toolbar).
  • In the "Devices" window (top-left), select your process.
  • Click the green bug icon in the toolbar above.

"... use android.os.Debug.waitForDebugger() to have the app pause until the debugger connects. "

Try Buffer, a smarter way to share links and pictures by spreading your tweets and posts out over time. Sign up from this link and we both get extra features.

Home :: Items