• 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: George Warner <email@hidden>
  • Date: Mon, 28 Jun 2004 18:53:33 -0700

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.


  • Follow-Ups:
    • Re: memory changed break points
      • From: Dan Bernstein <email@hidden>
  • Prev by Date: Re: WWDC / XCode v2.0?
  • Next by Date: Re: How do I use -l in makefiles to link to frameworks?
  • Previous by thread: Re: memory changed break points
  • Next by thread: Re: memory changed break points
  • Index(es):
    • Date
    • Thread