0

Is there any equivalent in XCode for the command window in VisualStudio, in a way that lets me modify variables values while in debug mode (standing on a breakpoint), by evaluating expression, but not in read-only mode like the console.

Is there any?

LolaRun
  • 5,526
  • 6
  • 33
  • 45

1 Answers1

2

The console is not read-only if you're referring to the gdb session. You can use the 'set' command to set the values of variables in gdb. Try 'help set variable' for more info.

user885074
  • 481
  • 2
  • 5
  • I've been using console for months now, i thought i could only use set for "set unwindonsign on" and "set call-po-at-unsafe-times" :D thanks a lot that's great news – LolaRun Aug 21 '11 at 23:24