Xcode memory breakpoint - How?
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