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?

Artem
  • 4,569
  • 12
  • 44
  • 86

2 Answers2

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

Mattia Maestrini
  • 32,270
  • 15
  • 87
  • 94
0

Try another one way.

First "Mute breakpointas", then in debugger console choice "Step out" and "Run to cursor" enter image description here

Ivan Vovk
  • 929
  • 14
  • 28