• 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: objc_exception_throw
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: objc_exception_throw


  • Subject: Re: objc_exception_throw
  • From: Jean-Daniel Dupas <email@hidden>
  • Date: Mon, 30 Jun 2008 09:22:17 +0200


Le 30 juin 08 à 06:53, Brian Stern a écrit :


On Jun 29, 2008, at 11:36 PM, Jens Alfke wrote:


On 29 Jun '08, at 1:43 PM, Brian Stern wrote:

I've used Activity Monitor for this when I get no backtrace in the debugger. If your app has crashed Activity Monitor should show the backtrace.

I think you mean "hung" instead of "crashed"? Activity Monitor doesn't display anything for an ex-process.

Sure it does, at least for a crashed but not yet ex-process. If you are running your app in the debugger and it crashes it isn't cleaned up until you click the stop sign in the debugger or otherwise quit the debugger. Until the process is cleaned up Activity Monitor will sample it and show you the stacks for all the threads.


IOW, when you are sitting there pulling out your hair looking at the stack view which should show a backtrace but doesn't that's the time to fire up Activity Monitor and view your stack trace.

I don't know why Activity Monitor does a better job of displaying the stacks than gdb does but in the cases where I needed a backtrace and gdb showed nothing or question marks AM showed the correct stack.

--
Brian Stern
email@hidden

There is also the crash reports that may be usefull in thoses cases.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >objc_exception_throw (From: "Joan Lluch (casa)" <email@hidden>)
 >Re: objc_exception_throw (From: Brian Stern <email@hidden>)
 >Re: objc_exception_throw (From: Jens Alfke <email@hidden>)
 >Re: objc_exception_throw (From: Brian Stern <email@hidden>)

  • Prev by Date: Re: Why no -masm=intel with Darwin GCC?
  • Next by Date: Re: objc_exception_throw
  • Previous by thread: Re: objc_exception_throw
  • Next by thread: Using Xcode as a Python IDE
  • Index(es):
    • Date
    • Thread