Re: Breakpoint syntax for Objective-C classes
Re: Breakpoint syntax for Objective-C classes
- Subject: Re: Breakpoint syntax for Objective-C classes
- From: "Sean McBride" <email@hidden>
- Date: Wed, 13 Sep 2006 10:44:08 -0400
- Organization: Rogue Research
On 2006-09-13 08:11, Simon Raisin said:
>My Cocoa app uses a third party dynamic lib that is written in Objective-C.
>
>When my app starts up under the debugger I would like a breakpoint to fire
>on one of the methods in that dynlib. I know the class/method name (from
>otool -ov).
>
>When I try to set the bp in Xcode I use the "[ClassName methodName]" format,
>but the bp never fires.
Are you including the "-" like so:
b -[ClassName methodName]
maybe try 'fb' instead of 'b'. Also, are you using dwarf? I've found
it works much better than stabs when it comes to libraries.
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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