Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8601135
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T01:46:25+00:00 2026-06-12T01:46:25+00:00

Using Xcode 4.3.2. I looked at many different similar issues including this one no-call-stack-on-exception-in-xcode-4

  • 0

Using Xcode 4.3.2. I looked at many different similar issues including this one

no-call-stack-on-exception-in-xcode-4

but cannot get the debugger (gdb or lldb) to give me a good stack trace that shows the location of the exception AND to also prints what the exception is

Setting either a symbolic exception on objc_exception_throw or an “All Exceptions” exception breakpoint, lldb would not give me a good stack trace but would show the following:

  • thread #1: tid = 0x1c03, 0x34455238 libobjc.A.dylibobjc_exception_throw, stop reason = breakpoint 1.1
    frame #0: 0x34455238 libobjc.A.dylib
    objc_exception_throw
    frame #1: 0x323ff788 CoreFoundation`+[NSException raise:format:arguments:] + 100

That is the whole thing, either through bt or at full magnification in the graphical breakpoint/debugger view.

If I hit continue a few time at this point it will eventually tell me the exception/assertion, for example

*** Terminating app due to uncaught exception ‘NSInternalInconsistencyException’, reason: ‘_endUndoGroupRemovingIfEmpty:: NSUndoManager 0x2b7610 is in invalid state, endUndoGrouping called with no matching begin

But I have no idea where it is at.

gdb, using the same breakpoint, WILL stop and show me where it is at, but does not print the exception text. If I hit continue a few times it does but I have lost my context of the back trace.

I would like to know how to print the exception text so I know WHY it stopped, without having to do a few continues and losing my place. I would also like to get it to stop in lldb at the point of the exception like it does in gdb.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T01:46:26+00:00Added an answer on June 12, 2026 at 1:46 am

    Please try updating to Xcode 4.5. You’re seeing an armv7 unwinder problem where lldb doesn’t know how to unwind your stack completely. The Objective-C runtime has some functions that are difficult to unwind out of (hand-written assembly) but I just did a quick test on an iOS device with Xcode 4.5 and lldb behaved correctly when I had Xcode set an Exception Breakpoint on throw.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using Xcode 4.3 and I have followed this user's steps to create the
I started the Xcode template using GLKit but my intention is to have a
Using Xcode 4.3.2. Since yesterday, I can't upload to ITunes Store. I can't find
Currently using Xcode 4.2 and I have two view controllers (1 and 2). I
I am using Xcode 4.3.2 and trying to follow along with the Learn Objective-C
I am using Xcode 4.2 now. I wonder if there is a way to
I am using XCode 4.3.3 and want to include custom frameworks (in my case
I am using xcode 4, Compiler version LLVM GCC 4.2. I have been trying
I'm using XCode for some iOS development and the watch window for viewing STL
I am using Xcode 4.3.2 to develop iPhone apps with ARC enabled. while navigating

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.