Re: Xcode memory breakpoint - How?
Re: Xcode memory breakpoint - How?
- Subject: Re: Xcode memory breakpoint - How?
- From: "Yves Poissant" <email@hidden>
- Date: Wed, 4 Jul 2007 17:53:22 -0400
- Organization: Hash Enterprises Inc.
As you've no doubt discovered, Xcode's watchpoint support is quite
useless at this point in time.
LOL.
The simple version is: get the address of the value you want to watch,
and then set up a watch point on *(int*)<address> (or whatever the
size/type is of the entity you want to watch).
I did not think of that syntax. Makes sense. I tried "watch <addr>". That
seemed to work except after waiting for like 2 hours, I decided on another
strategy. Watching the variable in the memory window and going through step
by step on a coarse level first and then entering each function that cause
the change until I found the troublemaker. Took like 30 min.
Maybe it is useless because without hardware watchpoint, the wait is
uselessly long.
Thanks for the replies.
Yves Poissant
Hash Inc.
_______________________________________________
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