Re: Console littered by Xcode 3.1.1 garbage collection messages
Re: Console littered by Xcode 3.1.1 garbage collection messages
- Subject: Re: Console littered by Xcode 3.1.1 garbage collection messages
- From: Philip Aker <email@hidden>
- Date: Sun, 26 Oct 2008 21:45:49 -0700
On 2008-10-26, at 17:00:15, Jens Ayton wrote: On Oct 23, 2008, at 08:11, Markus Spoettl wrote:
Hello List,
ever since upgrading to 3.1.1 (from 3.0) Xcode litters the console with hundreds of these messages each session:
10/22/08 11:04:07 PM [0x0-0x5ab5ab].com.apple.Xcode[17320] Xcode(17320,0xb0103000) malloc: free_garbage: garbage ptr = 0x25e5a70, has non-zero refcount = 1
They're created all the time but the highest frequency occurs when starting a debug session or just running the application making it extremely difficult to see the debug log output that my own applications generate.
I suppose the Xcode dev team must see this too and I can't see any benefit to me having to wade through this kind of stuff. Is there a way to make Xcode stop writing this to the console? Preferably just this one message.
Workaround: put the following in a file named “Console minus Xcode.aslquery” or similar: ( { key = Facility; op = 1; value = "com.apple.console"; }, { key = Sender; op = 70; value = Xcode; } ) and stick it in ~/Library/Application Support/Console/ASLQueries. You can then select this filter from the sidebar in Console. (Op 70 is ASL_QUERY_OP_NOT_EQUAL | ASL_QUERY_OP_SUFFIX, a combination not selectable in Console’s in-build query editor – it doesn’t support any negative queries. My bug on this was duped to rdar://5039022.) Credit to Peter Hosey, see http://boredzo.org/blog/archives/2008-01-24/asl-console
Thanks a bunch Jens and BoredZo,
I put the following in ~/Library/Application Support/Console/ASLQueries as NoXcode.aslquery and it works.
<?xml version="1.0" encoding="UTF-8"?> <plist version="1.0"> <array> <dict> <key>key</key> <string>Sender</string> <key>op</key> <integer>76</integer> <key>value</key> <string>Xcode</string> </dict> </array> </plist> Philip Aker
Democracy: Two wolves and a sheep voting on lunch.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden