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: Jens Ayton <email@hidden>
- Date: Mon, 27 Oct 2008 01:00:15 +0100
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
--
Jens Ayton
_______________________________________________
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