android - When does the Debugger get disconnected? -


i want ask, when debugger disconnected?

i debugging app on device , when go background , wait time (around 2 5 minutes), app being disconnected , want handle case because makes app crash when go app.

thanks!

hi guys know little late else searching here have do:

go on device -> settings -> developer options -> select debug app -> turn on 'wait debugger'

enter image description here

now on android studio run app in debug mode, close , wait process close (causing detach debugger) , reopen recent drawer. waiting debugger message on device.

go on android studio , press attach debugger process button enter image description here, select process , done :d


Comments

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -