• 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: Break on ivar value change
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Break on ivar value change


  • Subject: Re: Break on ivar value change
  • From: "Paul Sanders" <email@hidden>
  • Date: Tue, 25 May 2010 10:23:49 +0100

Try it!  It works for me, although I have only used it on Intel.  I don't notice any performance problems so I think there must be kernel support for the Pentium's hardware debug registers.  Interesting post you dug up.
 
A couple of other useful console commands are:
    i b - displays current break and watchpoints
    d b <n> - deletes a breakpoint or watchpoint
    disable b <n>  /  enable b <n> - disable or enable a breakpoint or watchpoint
 
Paul Sanders.
 
----- Original Message -----
From: <email@hidden>
To: <email@hidden>
Sent: Monday, May 24, 2010 11:21 PM
Subject: Break on ivar value change

One of my ObjC class ivars is getting overwritten.

This posting suggests issuing a GDB watch on the offender:

http://www.mailinglistarchive.com/html/email@hidden/2007-07/msg00058.html

Is this still the best way to proceed?

Regards

Jonathan Mitchell

Developer
Mugginsoft LLP
http://www.mugginsoft.com
 _______________________________________________
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

  • Follow-Ups:
    • Re: Break on ivar value change
      • From: Jim Ingham <email@hidden>
References: 
 >Break on ivar value change (From: "email@hidden" <email@hidden>)

  • Prev by Date: Re: Return acting like break in XCode 3.2.2
  • Next by Date: Re: Return acting like break in XCode 3.2.2
  • Previous by thread: Break on ivar value change
  • Next by thread: Re: Break on ivar value change
  • Index(es):
    • Date
    • Thread