• 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: Crash trying to create Webarchive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Crash trying to create Webarchive
      • From: Reza Farhad <email@hidden>
References: 
 >Crash trying to create Webarchive (From: Reza Farhad <email@hidden>)
 >Re: Crash trying to create Webarchive (From: Corbin Dunn <email@hidden>)
 >Re: Crash trying to create Webarchive (From: Reza Farhad <email@hidden>)

  • Prev by Date: Re: Problem setting up custom toolbar item in IB
  • Next by Date: Resizing NSImage to look good
  • Previous by thread: Re: Crash trying to create Webarchive
  • Next by thread: Re: Crash trying to create Webarchive
  • Index(es):
    • Date
    • Thread