开发者

Watch window for XCode debugging

Is there any watch window to see variable value in XCode during debugging? Can we check value just typing variable name as in watch window?

On mouse over, I can't see value for dictionary type objects. I see "Variables View" option but it has only first option enabled.

in "Debugger" window, I can't type variable name.

Watchpoint stops your program when the value of an expression changes. But I have to see value during breakpoint.

Let me know what is the best way to debug.

Thank开发者_如何转开发s


Alternatively, you can click the two little arrows in the mouseover description and select print. You can then see what the dictionary contains in the console.


Use the Expression window. Run:Show:Expressions... Just type in the entry field the variable name or expression . You can also right click/hold on a variable name and in the drop-down menu select "Add to Expression Window".

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜