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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to