debugging "failed to launch in time" with xcode -


can me setup debug environment things make more sense?

at point simulator stopped loading app i'm working on. app loads if run instruments , works on device (ipad).

the application tries load , of sudden 'debugging terminated' message @ bottom left of xcode.

running 'tail -f /var/log/system.log' found following message: " myapp failed launch in time".

poking around , experimenting breakpoints, able pin point culprit method:

- (bool)application:(uiapplication *) application didfinishlaunchingwithoptions:(nsdictionary *)launchoptions; 

this method part of app delegate naturally, , first thing execute:

[window addsubview:viewcontroller.view]; 

so questions - how can figure out hell going on here , part of app hanging?

moreover, kind of setup can used useful information debugger...

whenever there error, cannot figure out line of code generated it.

thanks.

if app failed launch in time, means app doing time consuming @ launch time in method

(bool)application:(uiapplication *) application didfinishlaunchingwithoptions:(nsdictionary *)launchoptions;

if exceed period of time , still not launched, application automatically terminated. review codes , make of them run in background after app has finished launching. cheers.


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -