iphone - Tracking variable or memory change in Xcode? -
is there way track variable changes or memory changes in xcode? i'm looking functionality visual studio's data breakpoint.
i want know object's view frame being changed. want set breakpoint @ member variable , run it. determine it's changed.
xcode uses gdb
(or lldb
, that's story) implement debugging functionality. gdb
has ability set hardware watchpoints , hence xcode.
this useful page generic debugging of memory errors. xcode's debugging console window gdb
shell, can type in commands please. ever-helpful quinn taylor explains how in this related post.
if you'd rather avoid interacting gdb
directly, can right-click variable in xcode's debugging window , select "watch variable". xcode alert whenever variable's value has been changed.
Comments
Post a Comment