Alex Rivera | Logout

Watching variables in Xcode

Asked 2009-06-24T19:52:20.343
19

I'm trying to watch a variable with Xcode. I'm following the instructions in here by pausing at a breakpoint, selecting Run > Variables View > .... but with the exception of "Enable Data Formatters" the rest of the options are all greyed out. Any ideas?

I'm using Xcode version 3.1.3.

Edit
Report

1 Answer

2

The Answers given here only work if you use the gdb compiler. For those of you who are looking for an option to set a watchpoint with the lldb compiler I have bad news:

It's not working jet (XCode 4.3.2 with lldb 3.1) even though the lldb docs say you can.

Check out this Email. The lldb commands compared to the gdbs can be found here

answered 2012-08-08T17:15:09.393

Your Answer