Note that there are some explanatory texts on larger screens.

plurals
  1. POWhy would a program pause and not crash when no breakpoints are set?
    primarykey
    data
    text
    <p>I have a project that simply pauses, and does not crash. It pauses at the last line in this set:</p> <pre><code> NSLog(@"%@", nibOptions); NSLog(@"%@", self.nibName); NSLog(@"%@", self.nibBundle); [self.nibBundle loadNibNamed:self.nibName owner:self options:nibOptions]; </code></pre> <p>The NSLogs that precede the pause look totally reasonable. I think everything is connected up correctly. But obviously something is wrong. Any advice on troubleshooting a pause that gives no info? There are no break points set. Thanks. (Xcode 4.2)</p> <p>EDIT: I'd add that the app comes to the front, then moves behind the Xcode window. The nib/view does not load.</p> <p>EDIT: Here's the crash log (after the pause is continued):</p> <pre><code>#0 0x90160332 in __kill () #1 0x9015f932 in kill$UNIX2003 () #2 0x013e136b in CFHash () #3 0x01493c04 in __CFDictionaryStandardHashKey () #4 0x013e9114 in CFBasicHashFindBucket () #5 0x013e8ad5 in CFDictionaryGetValue () #6 0x00588ba4 in +[UIProxyObject mappedObjectForCoder:withIdentifier:] () #7 0x00588c9d in -[UIProxyObject initWithCoder:] () #8 0x00687fa2 in UINibDecoderDecodeObjectForValue () #9 0x006876b7 in -[UINibDecoder decodeObjectForKey:] () #10 0x00588ead in -[UIRuntimeConnection initWithCoder:] () #11 0x00589629 in -[UIRuntimeEventConnection initWithCoder:] () #12 0x00687fa2 in UINibDecoderDecodeObjectForValue () #13 0x006879af in UINibDecoderDecodeObjectForValue () #14 0x006876b7 in -[UINibDecoder decodeObjectForKey:] () #15 0x00588305 in -[UINib instantiateWithOwner:options:] () #16 0x0058a010 in -[NSBundle(UINSBundleAdditions) loadNibNamed:owner:options:] () #17 0x00002fc5 in -[P3ViewController loadView] at /Users/bryanhanson/Desktop/NastyMarty/P3/Classes/P3ViewController.m:158 #18 0x004305cb in -[UIViewController view] () #19 0x00390a73 in -[UIWindow addRootViewControllerViewIfPossible] () #20 0x00390ce2 in -[UIWindow _setHidden:forced:] () #21 0x00390ea8 in -[UIWindow _orderFrontWithoutMakingKey] () #22 0x00397d9a in -[UIWindow makeKeyAndVisible] () #23 0x0000297e in -[P3AppDelegate application:didFinishLaunchingWithOptions:] () #24 0x003689d6 in -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] () #25 0x003698a6 in -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] () #26 0x00378743 in -[UIApplication handleEvent:withNewEvent:] () #27 0x003791f8 in -[UIApplication sendEvent:] () #28 0x0036caa9 in _UIApplicationHandleEvent () #29 0x01bc7fa9 in PurpleEventCallback () #30 0x014a51c5 in __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ () #31 0x0140a022 in __CFRunLoopDoSource1 () #32 0x0140890a in __CFRunLoopRun () #33 0x01407db4 in CFRunLoopRunSpecific () #34 0x01407ccb in CFRunLoopRunInMode () #35 0x003692a7 in -[UIApplication _run] () #36 0x0036aa9b in UIApplicationMain () #37 0x00002458 in main () </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload