Xcode: finding variable value when setting breakpoint

I am an experienced Visual Studio programmer, and when I set a breakpoint, I can open an intermediate window and type ?variableNameto view the current value of the variable.

However, in Xcode, I cannot find the equivalent. I can hang the variable name while passing the code, but long lines are truncated in the view.

Is there an Xcode equivalent to a Visual Studio staging window? If not, how to set a breakpoint and see the value (full value in case of longer lines)?

Thanks a lot, Brett

+3
source share
2 answers

( "" " " ), gdb. :

po variableName

- , ( [Ctrl] + [ ]) " ". gdb.

+10

, , ( Run > Debugger). GUI , , .

0

Source: https://habr.com/ru/post/1781156/


All Articles