The Xcode object has a value when it is printed, but the breakpoint debugging has no value. What is going on?
![](https://img-blog.csdnimg.cn/img_convert/e2d9cbea6504dbf24d91b96a5e72c0d8.png)
![](https://img-blog.csdnimg.cn/img_convert/3d2aac1137ac89dfa98fa2d2731f860e.png)
![](https://img-blog.csdnimg.cn/img_convert/2c1a505adf2738bf34d8c03f56cad5fb.png)
Set the optimization level corresponding to the scheme to None.
Xcode failed to compile (build failed) but no error was reported
![](https://img-blog.csdnimg.cn/img_convert/d334413b9737a828226cee9dce9d1a6d.png)
NSZombieEnabled, a way to solve the EXC_BAD_ACCESS error
![](https://img-blog.csdnimg.cn/img_convert/0d1e69bb9613cc00c39b08a30a52e165.png)
![](https://img-blog.csdnimg.cn/img_convert/0b652d418f68431592157442b2c3cf6c.png)
Menu Product -> Edit Scheme-> Arguments, then click the "plus sign", add the NSZombieEnabled parameter to the Environment Variables window, and write "YES" for the subsequent value.
How to view the sandbox path on iPhone
https://blog.csdn.net/hao1413397706/article/details/54715164