What's the difference between “p” and “po” in Xcode's LLDB debugger?

后端 未结 9 1455
无人及你
无人及你 2021-02-04 12:27

Example. I write the following string in my old project and a new, clear one:

UIInterfaceOrientation k = [UIApplication sharedApplication].statusBarOrientation;
         


        
9条回答
  •  [愿得一人]
    2021-02-04 12:59

    Strip debug symbols during copy
    

    In most answers they advice to set optimization to "none" but forget that this option should be set to NO (at least for debug configuration).

提交回复
热议问题