symbolic breakpoint的问题

iOS 码拜 8年前 (2016-03-30) 1179次浏览
symbolic breakpoint的问题今天写了个demo添加了一个symbolic break
然后断点出发后打印
po $arg1
po $arg2
po $arg3
po $arg4
po $arg5
po $arg6
这6个参数都有输出, 本人想知道这6个具体指的是些什么内容? 有相关文档推荐下
解决方案

40

参考如下帖子:
http://stackoverflow.com/questions/27831946/in-the-iphone-arm64-calling-convention-what-is-in-register-x1
核心思想就是下面这句话:
lldb provides register alias names for armv7/arm64/x86_64, $argi, to refer to the ith argument. $arg1, $arg2
深入了解推荐如下文章和相关引用:
https://www.objc.io/issues/19-debugging/debugging-case-study/#calling-conventions-101

CodeBye 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权 , 转载请注明symbolic breakpoint的问题
喜欢 (0)
[1034331897@qq.com]
分享 (0)