How do you add a breakpoint in Xcode?

前端 未结 4 429
时光说笑
时光说笑 2020-12-03 22:37

I have written my first Hello World Objective C program. How do I add a breakpoint and inspect a variable? I can see a Breakpoints button but can\'t insert one.

4条回答
  •  旧巷少年郎
    2020-12-03 23:06

    use menu entry Product->Debug->Add Breakpoint at Current line

    that menu also shows the shortcuts for similar actions

提交回复
热议问题