• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: memory changed break points
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: memory changed break points
      • From: George Warner <email@hidden>
References: 
 >re: memory changed break points (From: George Warner <email@hidden>)

  • Prev by Date: Re: MallocDebug is a bit to strict when launching an app
  • Next by Date: Re: memory changed break points
  • Previous by thread: re: memory changed break points
  • Next by thread: Re: memory changed break points
  • Index(es):
    • Date
    • Thread