How do I add a Watch or Inspect in Xcode?

后端 未结 2 364
自闭症患者
自闭症患者 2021-02-05 17:32

as in the title is there a way in Xcode to Add Watch or Inspect a code segment in Xcode

for example how can I see the result of [myObject aMethod] with actually stepping

2条回答
  •  广开言路
    2021-02-05 18:23

    To actually see the value change while you step through, you can right click the watch list of the debug area and choose "Add Expression..."

提交回复
热议问题