问题描述
我有一个应用程序导航控制器,几个子控制器。
I have an App with a Navigation Controller, several sub Controllers.
- 使用XCode调试我找不到任何错误。 / li>
- 在iPhone运行时,我无法找到任何错误。
- 使用仪器在模拟器上运行应用程序不会崩溃。 >
- 在iPhone上运行应用程序时,当我在某些ViewController之间单击退出时会崩溃。
我的老板也报告说他的iPod有时会崩溃,所以我很困惑现在。我应该如何进行? (仍然是乐器的新手)。我如何找到什么使应用程序崩溃?
有没有办法在调试器旁边启动仪器?崩溃日志不告诉我很多,或者我不知道如何正确读取它们。
My boss also reported that on his iPod it crashes sometimes, so I'm quite confused now. How should I proceed ? (still quite new to instruments). How can I find out what makes the app crash ?Is there a way to launch instruments next to debugger ? Crash Logs don't tell me much, or maybe I don't know how to read them correctly.
推荐答案
仪器是混合。有时候有崩溃,我不能解释。当我不使用仪器时,其中一些崩溃不会发生。也就是说,工具还可以提供有用的信息,您的情况可能就是这些时间之一。
My experience with instruments is decidedly mixed. Sometimes there are crashes that I can't explain. And some of these crashes don't happen when I am not using instruments. That said, instruments can also provide useful information, and your situation may be one of those times.
根据您的描述,您可能有内存泄漏。所以我建议在模拟器上运行它的仪器来寻找泄漏。 [在xCode中,选择运行>使用性能工具运行>泄漏,然后单击仪器窗口中的泄漏面板。]
Based on your description, it is possible that you have memory leaks. So I would suggest running it on the simulator with instruments to look for leaks. [In xCode, select Run>Run with performance tool>leaks, then click on the leaks panel in the instruments window that comes up.]
这篇关于应用程序在使用仪器时,某些操作崩溃,如何找到原因?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!