设置debug的属性
右键断点,选择最后一项-Breakpoint Properties
Hit Count
设置为一个整数,即当这个断点被执行了N次后,才进行挂起(suspends)。
例如设置2,则这个断点被执行了2次后才挂起(suspends)。
Enable Condition
有两个选项
Condition is ‘true’
Value of condition changes
Condition is ‘true’
当设定的值符合条件时,挂起(suspends)
如上图所示;当f等于6时挂起
Value of condition changes
当所设的值 发生变化时,挂起(suspends)
联系客服