开发者

Crash reporting- cannot find log files from my app

开发者 https://www.devze.com 2022-12-20 18:20 出处:网络
I recently \"installed\" my app on my iPhone for testing.Everyt开发者_JAVA百科hing was running fine but then on occasion, the app would just stop running, and send me back to the home page.

I recently "installed" my app on my iPhone for testing. Everyt开发者_JAVA百科hing was running fine but then on occasion, the app would just stop running, and send me back to the home page.

I checked for a crash log but there is none to be found. The directory is there, but no log. I then noticed then when I ran a few other apps, on occasion they would also crash.

Does this mean it is not my app that is crashing if their is no log? If not, any pointers on where to look or possibly how to create a log?

On other thing: I was able to recreate this once in the simulator but when it quit and took me to the home screen, it did not show any error in the debug window.

Ideas or suggestions are greatly appreciated.


Try to put some NSLog into the didReceiveMemoryWarning methods of your classes. Maybe you allocated to much memory and the iPhone OS is killing your app because you do not free any memory after the call of that function.


You can find all the crash reports from an app in window -> Organiser then click on the device in the left then Crash Logs this will show all the crash logs for all the apps on your device

0

精彩评论

暂无评论...
验证码 换一张
取 消