Re: Setting conditional breakpoint on Cocoa method?
Re: Setting conditional breakpoint on Cocoa method?
- Subject: Re: Setting conditional breakpoint on Cocoa method?
- From: Graham Cox <email@hidden>
- Date: Mon, 28 Jul 2008 22:33:51 +1000
I need to break on a Cocoa method that I don't have the source to. If
I had the source, I could just set a breakpoint by clicking in the
margin in the usual way.
Thanks anyway,
Graham
On 28 Jul 2008, at 6:11 pm, Alex Heinz wrote:
There's probably a better way, but you could create an if statement
containing a log message (or something) that has a breakpoint (e.g.:
if (aString == nil)
{
NSLog(@"blah") <-- Breakpoint here
}
)
_______________________________________________
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