What changed in xcode7 debugger that I can no longer view variables with “po” / Swift

后端 未结 2 798
半阙折子戏
半阙折子戏 2021-01-19 16:29

ok what changed in xCode7 / Swift that I can no longer use \"po frame\" to view the contents of a CGRect anylonger? The print statment works just fine in the code. How come

2条回答
  •  感情败类
    2021-01-19 17:24

    I am still seeing this in Xcode 7.2 (using ObjC). Makes it very frustrating debugging layout code.

    The debugger doesn't show the frame as an ivar of the views and type summaries won't print it. You have to 'po foo.frame' to see it.

提交回复
热议问题