Re: Watching an opaque struct member?
Re: Watching an opaque struct member?
- Subject: Re: Watching an opaque struct member?
- From: Christopher Friesen <email@hidden>
- Date: Sun, 4 Nov 2007 23:29:55 -0800
How about dumping the memory around the NSCalendar object, set the
first weekday to a new value, dump the object again and look for the
value you set. Then figure out the address for that memory location
and use that for the watchpoint.
-Christopher Friesen
On Nov 2, 2007, at 7:26 PM, Nick Zitzmann wrote:
Short question: How do I set a watchpoint on an opaque member of a
data structure?
Long question: I'm having a bizarre problem with CF/NSCalendar where
one of the instance variables, in this case the first weekday
instance variable, is being set behind the application's back
_without_ the use of the usual accessor function/method. (I broke on
the function in the debugger and checked each variable passed in;
under no circumstance was my app or anything else changing the
variable. It really is being changed behind my back.) I want to
catch the perp that's doing this, but how do I do this when
CFCalendar is an opaque data structure, and furthermore, the source
code for Leopard CoreFoundation has not yet been released?
Nick Zitzmann
<http://seiryu.home.comcast.net/>
S/MIME signature available upon request
_______________________________________________
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
_______________________________________________
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