Artem
Artem

Reputation: 4639

How to stop debug without closing app in Android Studio 2

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

enter image description here

How can I stop debugging without stopping process?

Upvotes: 14

Views: 6816

Answers (2)

Ivan Vovk
Ivan Vovk

Reputation: 1039

Try another way.

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

enter image description here

Upvotes: 1

Mattia Maestrini
Mattia Maestrini

Reputation: 32790

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

Upvotes: 11

Related Questions