Android Studio: how to debug a running process on an Android device?

We have the following option in Eclipse, which allows us to connect the debugger to an already running process.

Like this in Eclipse

I'm looking for a similar option in android studio, can someone tell me where we have this option?

+5
source share
4 answers

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

Read more about it here.

+7
source

android studio

one that looks like a phone with an error in the corner

+2
source

On the debug button on the toolbar. Here debugging with Android studio you have all the information.

The process is basically the same:

  • Set breakpoints.
  • Run the application in debug mode.
  • Use the debug tool window to check information about objects.
  • Check out the logs.
+1
source

Please see the image below for an icon. A pop-up window will appear asking what process you want to connect to. Select your application.

Some description

+1
source

All Articles