调用函数堆栈 ios [英] Stack of called functions ios
本文介绍了调用函数堆栈 ios的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我在我的应用中呈现 UIViewController 调用了很多方法时(请不要说我读过 UIViewController 生命周期),有没有办法在 xCode 中获取被调用方法的列表?
When I present UIViewController in my app called a lot of methods (please don't say me read UIViewController life circle), is there any way to get a list of called methods in xCode?
推荐答案
在 [YourViewController viewDidLoad]
方法中设置断点,然后调用堆栈将显示在 Xcode Debug Navigator:
Set a breakpoint in the [YourViewController viewDidLoad]
method and then call stack will be shown within Xcode Debug Navigator:
(图片取自此处).
这篇关于调用函数堆栈 ios的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文