Note that there are some explanatory texts on larger screens.

plurals
  1. POMissing stack trace in Xcode debugger when exception is thrown on both iOS simulator and device
    text
    copied!<p>When my app throws an exception it prints the following in the debugger output:</p> <pre><code>First throw call stack: (0x310f88bf 0x3829d1e5 0x31e76015 0x31e7640d 0x31e764c5 0x9e903 0x9edfb 0x32b15d55 0x32b20e8d 0x310cb2dd 0x3104e4dd 0x3104e3a5 0x33c7cfed 0x330c0743 0x3267 0x3220) </code></pre> <p>Software stack:<br> Xcode 4.2 in Lion 10.7.2 (Xcode 4.1 is not installed)</p> <p>I am leaning towards this this being an Xcode bug, but do you see anything obvious that I missed? </p> <h2>What I have tried / checked</h2> <p>Build Settings:<br> Debug<br> Strip Debug Symbols During Copy = NO<br> Strip Linked Product = NO<br> Optimization Level = -O0 and-Os<br> Symbols Hidden By Default = YES and NO<br> Compiler = LLVM 3.0 and LLVM GCC 4.2 </p> <p>Scheme:<br> Debugger = GDB and LLDB</p> <p>Cleaning:<br> Clean<br> Clean Build Folder<br> Delete Derived Data Directory (remove from organizer)</p> <p>Devices:<br> iOS 5 Simulator<br> iOS 5 iPhone 4<br> iOS 5 iPhone 3Gs</p> <p>Random:<br> I originally had this problem with both Xcode 4.1 and 4.2 installed, so uninstalled both and reinstalled just 4.2</p> <p>Tried with different projects with the same results.</p> <p>When fiddling with breakpoints I see this in the debugger output before the exception: </p> <pre><code>Catchpoint 36 (throw)Catchpoint 37 (catch)Pending breakpoint 2 - "__cxa_begin_catch" resolved warning: Attempting to create USE_BLOCK_IN_FRAME variable with block that isn't in the frame. warning: Attempting to create USE_BLOCK_IN_FRAME variable with block that isn't in the frame. Catchpoint 36 (exception thrown).warning: Attempting to create USE_BLOCK_IN_FRAME variable with block that isn't in the frame. warning: Attempting to create USE_BLOCK_IN_FRAME variable with block that isn't in the frame. </code></pre>
 

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