Re: NSOpenPanel() crash in Swift 1.1 -- SOLVED?
Re: NSOpenPanel() crash in Swift 1.1 -- SOLVED?
- Subject: Re: NSOpenPanel() crash in Swift 1.1 -- SOLVED?
- From: Charles Srstka <email@hidden>
- Date: Mon, 23 Feb 2015 16:02:17 -0600
On Feb 23, 2015, at 3:51 PM, Bill Cheeseman <email@hidden> wrote:
>
> The explanation I found via Google search was in a short article from Touch Code Magazine, here: http://www.touch-code-magazine.com/how-to-show-an-open-file-dialogue-in-cocoa/ <http://www.touch-code-magazine.com/how-to-show-an-open-file-dialogue-in-cocoa/>. The article describes this as a "crash." As I understand the article, a C++ exception is thrown in Xcode by a QuickView plug-in, and the article told me I could get back to my regularly scheduled development work simply by limiting the breakpoint to "All Objective-C Exceptions" instead of "All Exceptions."
>
> The article's use of the word "crash" to describe this problem suggests that I am not alone in thinking of a thrown exception in the debugger as a "crash" where, as here, I couldn't make any sense of it and I couldn't get past it by continuing execution. My development work was completely stymied at that point. I had no reason to think that building and running a release version of my application would do anything other than crash at the same point. I will of course test my application in a release build in due course to make sure all is well at run time.
That’s not a crash. That’s just some C++ code deep down in the system somewhere using exceptions as flow control.
Charles
_______________________________________________
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