objective c - Watching variables in Xcode -
I'm looking at a variable with Xcode. I am following the instructions by pausing on a breakpoint, selecting Run> Variables View> ... but with the exception of "Enable Data Formats", all the options have been deepened. idea?
I am using Xcode version 3.1.3.
I unfortunately, the clock pens created from the run menu are not available for me to work. Being aware of the thing is that when the scope of a variable is over, the clock's check may be invalid.
If you do not believe in a bit more depth, then you can use the low level gdb
for example to determine the status of a clock for memory address For, in the guide you've linked, they show how to view the variable path
which is an indicator with the value 0xbfffeb70
. To manually set the location of a clock for that address, click on the debugger console (where debugging output is printed) after prompting "(gdb)" and type something like this:
clock * (Int *) 0xbfffeb70)
Secret syntax is required because gdb is expected to input as C expression. For a little more detail, and go to the section titled "Using Hardware Watchpoints" (I'm testing on an Intel machine, it is not sure how the PowerPC handles it. ) When you set the clock points in this way, Xcode will alert you with a drop-down sheet when a clock bar will arrive and tell you how the value changed, and go to the GDB console only Will reproduce the print.
Comments
Post a Comment