I'm trying to debug C++ code in Xcode 4.5 on iOS, running the app on a connected iPad 2.
I set a regular breakpoint on my code, and when I hit it, I look at my Local variables, click on a variable and select "Watch xxxxx".
The lldb console shows:
error: failed to create watchpoint for m_step
Same result if I try to set it by hand in the console, with the command:
w s v xxxxx
I get:
error: Wathpoint creation failed (addr=0x..... size=4) error: sending gdb watchpoint packet failed
I'm running with a debug configuration, using LLDB. Any clue whether there is something else I should check?
EDIT: here are my settings: