• 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
Objective-C exception handler blocks skipped
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Objective-C exception handler blocks skipped


  • Subject: Objective-C exception handler blocks skipped
  • From: email@hidden
  • Date: Tue, 23 Jan 2007 05:23:50 +0000 (GMT)

I wanted to ask the Xcode community and Apple about an issue I'm seeing with some Objective C++ code. I have a C++ template class in whose methods calls Objective-C code. Specifically, there are Objective-C exception handler blocks (@try/@catch). However, when the C++ method is called, the part inside the Objective-C  exception handler is not executed.  It's totally skipped. If I remove the @try/@catch block, the code compiles and executes fine.

So, I wanted to see if anyone knows why this is happening. I do notice in the debugger that gdb thinks the default language isn't correct for the current stack frame when it gets to my C++ class with the Objective-C++ code. I don't know why it would think this because I compiled everything with the Obj-C++ compiler.

HELP!! This is really killing our project right now!

Thanks for any info.

Doug Hill
Oracle Corp
email@hidden

 _______________________________________________
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

  • Follow-Ups:
    • Re: Objective-C exception handler blocks skipped
      • From: Syd Polk <email@hidden>
  • Prev by Date: Unable to save files after perforce checkin/checkout
  • Next by Date: Re: Objective-C exception handler blocks skipped
  • Previous by thread: Re: Unable to save files after perforce checkin/checkout
  • Next by thread: Re: Objective-C exception handler blocks skipped
  • Index(es):
    • Date
    • Thread