Re: memory changed break points
Re: memory changed break points
- Subject: Re: memory changed break points
- From: Dan Bernstein <email@hidden>
- Date: Tue, 29 Jun 2004 11:21:35 +0300
BTW, how is that accomplished? Write-protecting the entire page
containing myVar?
On Mon, 28 Jun 2004 18:53:33 -0700, George Warner <email@hidden> wrote:
>
> On Mon, 28 Jun 2004 19:33:40 +1200, Mark <email@hidden> wrote:
>
> > How do you force a break if a specified memory location changes?
>
> Break before you hit the code that uses the variable you want to watch and
> then in the console window (in xcode) type:
>
> (gdb) watch myVar
> (gdb)
>
> You can then continue your program and any code that writes over myVar will
> force a break in Xcode.
>
>
> --
> Enjoy,
> George Warner,
> Schizophrenic Optimization Scientist
> Apple Developer Technical Support (DTS)
>
>
> _______________________________________________
> xcode-users mailing list | email@hidden
> Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.