How can I stop the LogCat output from scrolling automatically in Eclipse?

帅比萌擦擦* 提交于 2019-12-02 18:44:11

update to the latest version. the new logcat automatically filters your logs into the app-specific crash logs when you build-launch your app via eclipse.

In the LogCat tab on the upper far right there is a down pointing arrow with a line under it to enable

"Scroll Lock"

On older versions it's a pause button to

"Pause receiving new logcat messages"

That should do the trick!

I stopped having problems disable the option: Automatically enable / disable scroll lock based on the scrollbar position.

Window> Preferences> Android> Logcat> uncheck the option above.

In my case, I'm 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.

That's not what happens to me. If I scroll up it won't scroll down automatically when new lines come to the logcat until I scroll it to the bottom. Maybe it's because of the Eclipse or the Android SDK version. I'm using the latest right now.

You can do adb logcat in a shell, and use your terminal app's scroll buffer and scrolling features to manage the logcat output.

Olivier P.
Window => Preferences => Android => Logcat

Uncheck the box called:

Display logcat view when there are messages from 
an application into the workspace

If you're only debugging crashes, click on the red (E) (error) filter for your main logcat, and keep your filter tab set to default to view all lines that are being reported by your application.

What ends up happening, when your application crashes it stays closed unless requested to restart by your choosing. So, the last lines in the logcat will be the crash report. This is one of the ways of how I debug crashes.

I also think it is "more aggressive" since the latest update! And it actually stops auto-scrolling when I scroll 10 or more lines up.

The best solution I have is clicking in the line you are interested in. If the logcat scrolls down too far and you don't see your line any more just press ArrowUp or ArrowDown to jump back to the line you were looking at.

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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!