Arsalan Mehmood
Arsalan Mehmood

Reputation: 1482

Android Studio : How to debug a running process on Android device?

We've following option in Eclipse, which allows us to attach debugger to already running process.

Like this in Eclipse

I'm looking for a similar option in Android studio, Can somebody tell me where we've this option ?

Upvotes: 5

Views: 2455

Answers (4)

Bojan Kseneman
Bojan Kseneman

Reputation: 15668

Please see the image below on where to find the icon. A popup window will appear to ask you to which process you want to attach to. Select your app.

Some Description

Upvotes: 1

cziemba
cziemba

Reputation: 664

Android Studio has this option, the icon looks like this: enter image description here

Read more about it here

Upvotes: 7

Tomer Shemesh
Tomer Shemesh

Reputation: 13335

android studio

the one that looks like a phone with a bug in the corner

Upvotes: 2

José Ricardo Pla
José Ricardo Pla

Reputation: 1043

At the debug button in the toolbar. Here debugging with android-studio you have all the info.

The process is basically the same :

  • Set your breakpoints.
  • Run your app in debug mode.
  • Use the debug tool window to check objects info.
  • Check the logs.

Upvotes: 1

Related Questions