how to use "Select debug app" and "wait for debugger" new feature in jelly bean?

gladman picture gladman · Aug 14, 2012 · Viewed 45.2k times · Source

"Select debug app" and "Wait for debugger" are new feature in Jelly Bean, does someone know how to use these new features?

Answer

Brent picture Brent · Mar 18, 2013

I found the answer here: http://developer.android.com/tools/debugging/debugging-devtools.html

Lets you select the application to debug. You do not need to set this to attach a debugger, but setting this value has two effects:

  • It will prevent Android from throwing an error if you pause on a breakpoint for a long time while debugging.
  • It will enable you to select the Wait for Debugger option to pause application startup until your debugger attaches (described next).