Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSHangOnUncaughtException does not work ?



cross post from xcode list
thanks


Dibut du message riexpidii :

> De: Aurilien Hugeli <email@hidden>
> Date: 24 mars 2004 17:18:53 GMT+01:00
> @: email@hidden
> Objet: NSHangOnUncaughtException does not work ?
>
> hi !
>
> i have several exception firing in my program. Basically i would like
> my program to hang on them so i can run gdb to observe where did it
> fire...
>
> in XCode i follow these steps :
> - click on my executable
> - added "NSHangOnUncaughtException" (without quote) as environment
> variable ans set value "YES" (without quote)
> - clean and rebuild the app in Development Style
>
> that's all i did... it does not work :(
>
> PS : in the NSDebug.h, the values are given with doublequote ("YES",
> "NO") is it the souce of my problem ?
>
> thanks !
> _______________________________________________
> xcode-users mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/xcode-users
> Do not post admin requests to the list. They will be ignored.
>
>


Dibut du message riexpidii :

> De: Aurilien Hugeli <email@hidden>
> Date: 24 mars 2004 17:37:49 GMT+01:00
> @: email@hidden
> Objet: Riexp : NSHangOnUncaughtException does not work ?
>
> i forgot to add that, of course, i don t use any exception handler ;)
>
> On 24 Mar 2004, at 17:18, Aurilien Hugeli wrote:
>
>> hi !
>>
>> i have several exception firing in my program. Basically i would like
>> my program to hang on them so i can run gdb to observe where did it
>> fire...
>>
>> in XCode i follow these steps :
>> - click on my executable
>> - added "NSHangOnUncaughtException" (without quote) as environment
>> variable ans set value "YES" (without quote)
>> - clean and rebuild the app in Development Style
>>
>> that's all i did... it does not work :(
>>
>> PS : in the NSDebug.h, the values are given with doublequote ("YES",
>> "NO") is it the souce of my problem ?
>>
>> thanks !
>> _______________________________________________
>> xcode-users mailing list | email@hidden
>> Help/Unsubscribe/Archives:
>> http://www.lists.apple.com/mailman/listinfo/xcode-users
>> Do not post admin requests to the list. They will be ignored.
> _______________________________________________
> xcode-users mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/xcode-users
> Do not post admin requests to the list. They will be ignored.
>
>


Dibut du message riexpidii :

> De: Nick Zitzmann <email@hidden>
> Date: 25 mars 2004 03:26:20 GMT+01:00
> @: Aurilien Hugeli <email@hidden>
> Cc: email@hidden
> Objet: Rip : NSHangOnUncaughtException does not work ?
>
>
> On Mar 24, 2004, at 9:18 AM, Aurilien Hugeli wrote:
>
>> i have several exception firing in my program. Basically i would like
>> my program to hang on them so i can run gdb to observe where did it
>> fire...
>
> Assuming you're using Objective-C, try setting a breakpoint on
> "-[NSException raise]" without the quotes; that's the usual way of
> breaking on exceptions in that language.
>
> Nick Zitzmann
> <http://seiryu.home.comcast.net/>
> <http://www.freshlysqueezedsoftware.com/>
> S/MIME signature available upon request
>
> UNIX: Where /sbin/init is Job #1.
>
>


Dibut du message riexpidii :

> De: Nick Zitzmann <email@hidden>
> Date: 25 mars 2004 03:26:20 GMT+01:00
> @: Aurilien Hugeli <email@hidden>
> Cc: email@hidden
> Objet: Rip : NSHangOnUncaughtException does not work ?
>
> On Mar 24, 2004, at 9:18 AM, Aurilien Hugeli wrote:
>
>> i have several exception firing in my program. Basically i would like
>> my program to hang on them so i can run gdb to observe where did it
>> fire...
>
> Assuming you're using Objective-C, try setting a breakpoint on
> "-[NSException raise]" without the quotes; that's the usual way of
> breaking on exceptions in that language.
>
> Nick Zitzmann
> <http://seiryu.home.comcast.net/>
> <http://www.freshlysqueezedsoftware.com/>
> S/MIME signature available upon request
>
> UNIX: Where /sbin/init is Job #1.
> _______________________________________________
> xcode-users mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/xcode-users
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.