美文网首页
断点调试

断点调试

作者: 未来的路就在那 | 来源:发表于2017-06-10 19:36 被阅读15次

1,运行xcode,终端打印

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful.
2017-06-10 19:32:19.843 QeelinGold-iOS[15040:7223903] Unable to simultaneously satisfy constraints.
    Probably at least one of the constraints in the following list is one you don't want. 
    Try this: 
        (1) look at each constraint and try to figure out which you don't expect; 
        (2) find the code that added the unwanted constraint or constraints and fix it. 
(
    "<MASLayoutConstraint:0x1366a8220 UIImageView:0x136709a10.height == 100>",
    "<MASLayoutConstraint:0x136709ee0 UIImageView:0x136709a10.top == UITableViewCellContentView:0x1366a7820.top + 4>",
    "<MASLayoutConstraint:0x13670cd40 UIView:0x13670c1c0.height == 0.3>",
    "<MASLayoutConstraint:0x13670b1a0 UIView:0x13670c1c0.top == UIImageView:0x136709a10.bottom + 15>",
    "<MASLayoutConstraint:0x13670d280 UIView:0x13670c1c0.bottom == UITableViewCellContentView:0x1366a7820.bottom>",
    "<NSLayoutConstraint:0x13670ed70 UITableViewCellContentView:0x1366a7820.height == 119.333>"
)
Will attempt to recover by breaking constraint 
<MASLayoutConstraint:0x1366a8220 UIImageView:0x136709a10.height == 100>
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful.

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. 这句话的意思可以添加一个 UIViewAlertForUnsatisfiableConstraints的断点
链接:http://blog.afantree.com/ios/debug-for-uiviewalertforunsatisfiableconstraints.html

相关文章

  • Android Studio调试

    参考 断点调试 实用调试 总结:断点调试有step into step out 等 实用调试:条件断点、日志断点、...

  • linux编程入门(七)-使用gdb调试程序

    程序开发离不开调试,可以断点调试,也可以打log调试,linux下断点调试c,c++程序用gdb。 断点调试虽然很...

  • Flutter开发调试

    代码开发后出问题都会需要调试,调试方法很重要。 1. 断点调试 断点调试跟大家熟悉的 Chrome 的断点调试基本...

  • Java基础语法_Day12

    一、Eclipse断点调试 Eclipse断点调试概述 Eclipse的断点调试可以查看程序的执行流程和解决程序中...

  • debug

    1 调试1.1 调试方式1.2 调试过程中的功能键的作用2 调试模式的断点2.1 断点类型2.2 静态断点2.3 ...

  • unity3d之调试模式

    断点调试 设置断点 在下图的位置双击,设置或者取消断点 启动调试模式 选择调试->开始调试或者按F5快捷键: 然后...

  • Xcode编程 详细断点补充

    只会左键断点?是时候试试这样那样断点了 编码不能没调试,调试不能没断点(Break Point)。XCode的断点...

  • 代码调试

    过去调试JavaScript的方式 alert() console.log() 断点调试 断点调试是指自己在程序的...

  • pycharm断点调试

    pycharm断点调试 断点 和 调试 断点调试是在开发过程中常用的功能,能清楚看到代码运行的过程,有利于代码问题...

  • iOS - NSLog打印(精准打印)

    常用的NSLog的语句 在iOS开发过程中,调试是很重要的过程,而除了各种断点调试(普通断点、条件断点、全局断点)...

网友评论

      本文标题:断点调试

      本文链接:https://www.haomeiwen.com/subject/npdcqxtx.html