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?

2
  • try with debugging console stackoverflow.com/questions/3377309/… Commented Aug 21, 2011 at 20:41
  • i knew about the console, but didn't know about the "set expression" Commented Aug 22, 2011 at 9:30

1 Answer 1

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.

Sign up to request clarification or add additional context in comments.

1 Comment

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.