Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Logcat in eclipse keeps auto clearing

until recently my logcat has been fine but all of the sudden whenever i try to view it in eclipse it just keeps clearing itself whenever anything is displayed making it impossible to read. viewing it in the adb works but I never bother with that since it is just such a pain to read and find anything you are looking for.

is there a way to fix this problem?

like image 838
tyczj Avatar asked Apr 26 '11 18:04

tyczj


3 Answers

The Logcat messages were simple getting cleared because the buffer had run out of space (receiving too many new messages), which is a simple setting change in Eclipse.

To fix, go to Window > Preferences > Android > LogCat

and increase the limit for "Maximum number of LogCat messages to buffer". Set it to 0 for unlimited size, or a really big number. But keep in mind, anything below 10000 fills up real fast.

Been answered already: Eclipse Android - Logcat Clearing too Fast

like image 173
Shadoath Avatar answered Nov 06 '22 16:11

Shadoath


It will show one line before erasing it to show the next one? Just click the verbose button again.

like image 6
Amplify91 Avatar answered Nov 06 '22 16:11

Amplify91


There's a workaround for this bug. Click active mode button (usually verbose), choose another device from device list and choose previous device again. It will restore all logcat messages.

like image 5
Michael Avatar answered Nov 06 '22 16:11

Michael