崩溃-从哪里开始? [英] crash - where to start?
问题描述
我有一个在设备上崩溃的应用程序(在模拟器中运行良好),这使我假设这可能是内存问题...
I have an app that is crashing on the device (works well in the simulator) which leads me to assume that maybe it's a memory issue...
何时它崩溃了,控制台中没有任何消息报告。
When it crashes, there is no message whatsoever reported in the console.
它不会在每次执行特定操作时崩溃,它总是在不同时间点崩溃该应用程序已经运行并投入使用了一段时间。
It does not crash each time a certain action is taken, it crashes at different points of time always after the app has been running and in use for some time.
我知道我应该问一个更具体的问题-但是是否有人可以告诉我从哪里开始尝试查找控制台中未报告的崩溃,我将非常感激!
I know I'm supposed to ask a more specific question - but if anybody is able to tell me where to start trying to track down a crash that does not report in the console, I would really appreciate it!
我现在正在使用最新版本的XCode(4.2)
I am now using the latest version of XCode (4.2)
预先感谢...
推荐答案
很好内存问题。如果那是您要开始诊断的地方,则可以使用内置的Xcode分析器。在Xcode中,Product-> Profile将帮助您入门。
It very-well could be a memory issue. If that is where you want to start your diagnostics, you can use the built-in Xcode profiler. In Xcode Product->Profile will get you started.
这篇关于崩溃-从哪里开始?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!