Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I select the device LogCat is showing in eclipse?

I'm using eclipse for Android development. Often I have several emulators (and devices) running in order to test my app.

LogCat magically switches to the log from the device I just launched the app on. This is fine most of the time, but sometimes I want to switch back to a different device without restarting an app.

I can't figure out where to select which device LogCat is showing. Where can I change it?

I'm using Eclipse Juno on OS X, if that makes any difference. Here's what my LogCat window looks like: logcat screenshot

like image 476
nynexman4464 Avatar asked Oct 10 '12 17:10

nynexman4464


People also ask

How do I view Logcat in eclipse?

In the "Window" menu, open "Open Perspective" -> "Debug". click On the plus image icon(you see the below image at status bar), and then select "Logcat".... Save this answer.

What is Logcat command?

Logcat is a command-line tool that dumps a log of system messages, including stack traces when the device throws an error and messages that you have written from your app with the Log class. This page is about the command-line logcat tool, but you can also view log messages from the Logcat window in Android Studio.


1 Answers

Go to Window -> Show View -> Devices.

Now you'll have another devices tab present, and in that you can select which device you want to see in the LogCat, as well as the running apps on that device in debug mode.

like image 59
Raghav Sood Avatar answered Sep 19 '22 02:09

Raghav Sood