• 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: try catch not catching
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: try catch not catching


  • Subject: Re: try catch not catching
  • From: Jerrod Fowkes <email@hidden>
  • Date: Wed, 1 Nov 2006 12:27:09 -0800 (PST)

For whatever reason, the GDB doesn't appear to be stopping at my break point, at the correct spot in memory.

I have it set on the line of code inside the try catch but in my Debugger Console, it's showing things that I am logging to the console in a function that is being called after this try / catch. I am guessing that this is a nromalty with GDB? I switched from using DWARF to Stabs, it's still giving me the same. -Jerrod

Jerrod Fowkes <email@hidden> wrote: I have this code :

        @try
        {
            someNSMutableDictionaryPointer = [[NSPropertyListSerialization propertyListFromData: dataRep
                                                                 mutabilityOption: NSPropertyListMutableContainers
                                                                           format: &format
                                                                 errorDescription: &error] retain];

        }
        @catch (NSException * e) {
            [self LogMessage: @"Corrupt library."];
        }
        @finally {

        }

it crashes my application right inside the try block. What gives?
I have also tried NS DURING. -Jerrod Fowkes

 __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden



---------------------------------
Get your email and see which of your friends are online - Right on the  new Yahoo.com
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: try catch not catching
      • From: Sherm Pendley <email@hidden>
References: 
 >try catch not catching (From: Jerrod Fowkes <email@hidden>)

  • Prev by Date: try catch not catching
  • Next by Date: Re: try catch not catching
  • Previous by thread: try catch not catching
  • Next by thread: Re: try catch not catching
  • Index(es):
    • Date
    • Thread