Re: Breaking on console output?
Re: Breaking on console output?
- Subject: Re: Breaking on console output?
- From: Jens Alfke <email@hidden>
- Date: Tue, 18 Mar 2008 22:31:57 -0700
On 18 Mar '08, at 9:11 PM, Chris Meyer wrote:
In older versions of Xcode (2.5!) it used to be possible to break on
console
output by putting a breakpoint on NSLog.
Is there any equivalent breakpoint to set to stop on console
messages in
Xcode 3.x (or 10.5)?
Not all console output is generated by NSLog. (It has nothing to do
with the version of Xcode, and it's not a recent change.)
I'm getting a message like "<Error>: CGImageSourceCreateWithData data
parameter is nil\n" Of course this bug is easy to fix if I can
figure out
where it is coming from...!
For example, that line probably comes from CoreGraphics. That
framework doesn't use Foundation, so it can't call NSLog. It probably
used the [private] CFLog, or asl_send, or just an old-fashioned fprintf.
—Jens
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden