简体   繁体   中英

iphone app crashes?

i am running my program using iphone simulator n at some point application crashes..but there is no error...just getting Debugging terminated in debugger console

how i can check this what is the problem of crashes?

How about memory leaks?? If you are alloc-ing a lot of variables and not releasing them this can cause memory leaks. Which will in time cause the app to crash with a black screen. Try running your app with the "Leaks" tool. Go to Run -> Run with Performance Tools -> Leaks. Go through everything you can in the app with this tool running and it will inform you of any memory leaks.

Here is a good link for information about using the Leaks Instrument: http://mobileorchard.com/find-iphone-memory-leaks-a-leaks-tool-tutorial/

Also check your code!! If you know where its crashing go and check the code and make sure your doing everything you intend to!

Try to look into crash logs. You can find them in ~/Library/Logs/CrashReporter

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM