【发布时间】:2015-01-08 20:58:51
【问题描述】:
我在-[CALayer setSpeed:] 上设置了一个符号断点,我希望该断点仅在特定函数调用该函数时触发
-[UIPercentDrivenInteractiveTransition _updateInteractiveTransition:percent:isFinished:didComplete:]
有没有办法做到这一点?
我可以通过bt 2 手动查看调用函数的值。是否有某种方法可以在断点条件下执行与此输出的字符串比较?
谢谢!
【问题讨论】:
-
看看问题Is there any way to set a breakpoint in gdb that is conditional on the call stack? - 这适用于 GDB,但所有技术(包括 Python 脚本)都应该可以转换为 LLDB。
标签: ios objective-c xcode debugging lldb