How to stop debug without closing app in Android Studio 2
Asked Answered
T

2

14

when I debugging my application and if I click on th Stop button -

enter image description here

  • debugging stopped work - and! - my application closing. (I think android studio just kills proccess).

How can I stop debugging without stopping process?

Ten answered 15/4, 2016 at 12:53 Comment(0)
D
11

Press the Close button:

enter image description here

then press Disconnect in the dialog, paying attention to leave unchecked Terminate the process after disconnect:

enter image description here

Derosa answered 15/4, 2016 at 12:57 Comment(1)
It closes the app for meWalkout
R
0

Try another way.

First "Mute Breakpoints", then in debugger console, choose "Step Out" and "Run to Cursor".

enter image description here

Riot answered 14/10, 2022 at 13:19 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.