- Home /
LogCat flooded with Skipping profile frame.
I'm trying to debug the Android version of my code. But as soon as the app gets going, LogCat is flooded with messages that say "Skipping profile frame. Receiver can not keep up with the amount of data sent."
Is there any way I can disable that message? It's really hard to find my debug messages when I get so many of those that the buffer fills and my debug messages are discarded.
It always easy to control what you see that what an app output. Try to find a tool that help you to work with any log file. If you are a linux/mac/cygwin user, a simple "grep -v 'Skipping profile frame'" solve your problem.
If it were dumping to a text file, that would be great. But as far as I can tell, it only saves to file when I click the save icon. At that point, my messages are likely already flooded out of the buffer. I'm still getting used to the Android Developer Environment, but it doesn't quite have what I would expect. I can add a filter, but I can only select things I want to see, unless there is some quirky hidden code to filter out messages that match a certain string.
Ah. I'm on a $$anonymous$$ac, so I have all the unix utils. Still wish I could just disable those messages (it is also annoying in Xcode), but at least now I can dump to a file and manipulate it as needed.
So the short answer is that there's no way to get rid of those lines?
I'm viewing the log on the mac ter$$anonymous$$al, and even after removing the "Skipping profile" line, it still gets another empty line and a third line containing the cpp source line.
Answer by Sisso · Jul 25, 2013 at 05:59 PM
You can execute logcat directly from command line using adb. Adb is a powerfull tool where you can copy file, execute bash code, and look into logs. (http://developer.android.com/tools/help/adb.html). If you have a device with http://www.cyanogenmod.org, they have some nice features like colored output and use wireless to connect to device.
/android-sdk/platform-tools/adb logcat | grep -v "getout"
This I use with cygwin to output into a file
/cygdrive/c/Dev/android-sdk/platform-tools/adb.exe logcat -s Unity ActivityManager PackageManager dalvikvm DEBUG > "/cygdrive/c/Users/Sisso/logs/$(date +'%Y-%m-%dT%H%M%S').log"
Your answer
![](https://koobas.hobune.stream/wayback/20220613110844im_/https://answers.unity.com/themes/thub/images/avi.jpg)