Android studio maximum number of lines logcat

前端 未结 5 1660
萌比男神i
萌比男神i 2020-12-09 04:00

I\'m testing with a real device connected to Android Studio. Because of multithreading behavior that I don\'t want to interrupt I\'ve added lots of log statements to my code

5条回答
  •  渐次进展
    2020-12-09 04:31

    Like @zzy says... edit file: PATH_TO_ANDROID_STUDIO\bin\idea.properties

    Here are properties you can customize in your own idea.properties file: http://tools.android.com/tech-docs/configuration

    #---------------------------------------------------------------------
    # This option controls console cyclic buffer: keeps the console output size not higher than the specified buffer size (Kb).
    # Older lines are deleted. In order to disable cycle buffer use idea.cycle.buffer.size=disabled
    #---------------------------------------------------------------------
    idea.cycle.buffer.size=1024
    

    Modify above value to 2048 or whatever you need.

提交回复
热议问题