How can I automatically disable LogCat log output in Eclipse?

UPDATE: This turned out to be a bug in the R14 SDK tools. It was fixed in R15, which was released on October 27, 2013. Updating to the latest version solves the problem as suggested in the accepted answer.

I use the LogCat window in the Debug view in Eclipse to diagnose and fix crashes in my code. I noticed that the output of LogCat will automatically scroll down at any time when new lines are added (but only after you scroll down the page yourself).

This is great if I wait for stacktrace to appear for an exception, but it’s really annoying if I try to read something in the log and more lines continue to be added at the bottom (it keeps jumping to the bottom, so I scroll back to the error, then jumps to the bottom again )

Is there a way for it to stay where I placed it when I put it, but continue to scroll automatically when I reach the bottom?

EDIT: Please note: I know the filters, and I don't consider this a solution to the problem.

OTHER IMAGE: If I scroll “far enough” from below, it automatically stops scrolling. Far enough could be 5 lines or maybe 500 lines, seems to be related to the number of lines in the log. Ideally, this would stop scrolling while I was at least 1 line from the bottom.

+42
android eclipse android-logcat
Oct 19 '11 at 23:35
source share
9 answers

upgrade to the latest version. The new logcat automatically filters your logs in application crash logs when you create an application through eclipse.

+6
Oct 27 '11 at 7:29
source share
— -

On the LogCat tab in the upper right corner there is an arrow pointing down with a line below it to enable

"Scroll Lock"

In older versions, the pause button on

"Pause new logcat messages"

That should do the trick!

+43
Dec 28 '11 at 16:11
source share

I had problems disabling the option: Automatically enable / disable scroll lock depending on the position of the scroll bar.

Window> Settings> Android> Log code> uncheck the box above.

In my case, I am using Eclipse + Android Developer Tools (Build: v22.6.2-1085508)

I suggest that if I want to use eclipse, download the full package from this link: http://developer.android.com/sdk/index.html

After downloading, download all available updates, less NDK.

+6
May 27 '14 at 22:28
source share

This is not what happens to me. If I scroll up, it will not automatically scroll when new lines come to the logarithm, until I scroll to the end. Perhaps this is due to the version of Eclipse or the Android SDK. I am using the latter right now.

+5
Oct 19 2018-11-11T00:
source share

You can make adb logcat in the shell and use the terminal scroll and scroll buffer to control logcat output.

+2
Oct 25 '11 at 18:11
source share
 Window => Preferences => Android => Logcat 

Uncheck the box:

 Display logcat view when there are messages from an application into the workspace 
+2
Feb 23 '12 at 8:11
source share

If you are just debugging crashes, click on the red (E) (error) filter for the main logarithm and save the default filter tab to see all the lines that are reported by your application.

What ultimately happens when your application crashes, it remains closed unless you are prompted to restart it of your choice. Thus, the last lines in the logarithm will be crash reports. This is one way I am debugging crashes.

+1
Oct 25 '11 at 20:09
source share

I also think it's “more aggressive” since the last update! And it actually stops autoscrolling when I scroll 10 or more lines up.

The best solution I have is to click on the line you are interested in. If logcat scrolls too far and you no longer see your line, simply press "ArrowUp" or "ArrowDown" to return to the line you were looking for.

0
Oct 27 '11 at 11:40
source share

If you write pid: pidofyourapp (which is written in the online column on the "Device" tab) in the search box, it will show the logs that you wrote in your application.

0
Jul 21 '14 at 19:21
source share



All Articles