• 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
Xcode memory breakpoint - How?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Xcode memory breakpoint - How?


  • Subject: Xcode memory breakpoint - How?
  • From: "Yves Poissant" <email@hidden>
  • Date: Wed, 4 Jul 2007 11:57:06 -0400
  • Organization: Hash Enterprises Inc.

I have a instance of a class where one of its member variable changes value. I placed a breakpoint wherever an instruction might change its value but none of those breakpoint fire. I want to watch this member variable during application execution. So I set a watchpoint on that "m_figure" variable when I break in the constructor. In the debugger variable window, it looks like this:

Arguments
   this
      m_figure <<<<<<< This is who I want to watch.

However, when I click "Continue", I get the following message:
"Watchpoint 12 deleted in thread 1 - The program has left the block in which its expression is valid"


The object was never destructed so the memory holding this variable is certainly still valid. So instead of setting a watchpoint, I would like to set a memory breakpoint at the variable's memory address. Can I do that in Xcode?

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


  • Follow-Ups:
    • Re: Xcode memory breakpoint - How?
      • From: Jeffrey Oleander <email@hidden>
    • Re: Xcode memory breakpoint - How?
      • From: Nick Zitzmann <email@hidden>
    • Re: Xcode memory breakpoint - How?
      • From: James Bucanek <email@hidden>
  • Prev by Date: Re: a Problem with conections?? (interface Builder)
  • Next by Date: Re: Xcode memory breakpoint - How?
  • Previous by thread: Re: a Problem with conections?? (interface Builder)
  • Next by thread: Re: Xcode memory breakpoint - How?
  • Index(es):
    • Date
    • Thread