Simple Xcode debugging

method 1:

use the "po":you can see the variable value or variable address
po

or put your mouse on top

method 2:

use NSLog: you can see the valuable value

NSLog debugging

method 3:

use breakpoint debugging:You can see the direction of code walking and valuable value

breakpoint debugging

成功的三大原则: 1、坚持 2、不要脸 3、坚持不要脸
原文地址:https://www.cnblogs.com/xulinmei/p/7413785.html