Re: Crash trying to create Webarchive
Re: Crash trying to create Webarchive
- Subject: Re: Crash trying to create Webarchive
- From: Matt Gough <email@hidden>
- Date: Tue, 20 Jan 2009 11:18:47 +0100
On 20 Jan 2009, at 09:10, Reza Farhad wrote:
The Problem is that the exception is occurring within the Apple
call, so there is no way for me to break into it.
Also I have tried to catch it locally but it get propagated to
uncaught exceptions.
Reza
Break on objc_exception_throw. Investigate from there...
corbin
You won't be able to see the source code, but the break on
objc_exception_throw would at least give you the stack trace and maybe
a clue as to what is going wrong.
It seems odd that you can't catch the exception though. Have you tried
@try{[[[webView mainFrame] dataSource] webArchive]}
@catch(id exception){}
instead of catching (NSException* exception) ?
Is Safari able to save the Webarchive of the same page without any
problems?
Good Luck
Matt
_______________________________________________
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