• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: EXC_BAD_ACCESS in NSApplicationMain
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EXC_BAD_ACCESS in NSApplicationMain


  • Subject: Re: EXC_BAD_ACCESS in NSApplicationMain
  • From: Quincey Morris <email@hidden>
  • Date: Sun, 24 Jul 2011 17:04:26 -0700

On Jul 24, 2011, at 15:50, Ayers, Joseph wrote:

> In XCode 4.1. and Lion,, compiling for OS X 10.6, My application is crashing in main.m. Specifically it exhibits EXC_BAD_ACCESS errors in main.m, NSApplicationMain and obj_msgSend on disassembly. I've got symbolic breakpoints at:  “objc_exception_throw” and “[NSException raise]“.
>
> Any idea how to get beyond this?

Your application didn't really crash in NSApplicationMain, but Xcode has collapsed the backtrace so that you can't see the place it stopped.  This is a usability issue in Xcode 4.

With the Debugger tab of the Navigator pane visible, look at the "level of detail" slider at the bottom of the pane, and drag it all the way to right-hand end.


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: EXC_BAD_ACCESS in NSApplicationMain
      • From: "Ayers, Joseph" <email@hidden>
References: 
 >EXC_BAD_ACCESS in NSApplicationMain (From: "Ayers, Joseph" <email@hidden>)

  • Prev by Date: Re: Does anyone else dislike Xcode 4?
  • Next by Date: Re: Does anyone else dislike Xcode 4?
  • Previous by thread: Re: EXC_BAD_ACCESS in NSApplicationMain
  • Next by thread: Re: EXC_BAD_ACCESS in NSApplicationMain
  • Index(es):
    • Date
    • Thread