• 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: Xcode 4.1 GM exception raised in PDFkit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode 4.1 GM exception raised in PDFkit


  • Subject: Re: Xcode 4.1 GM exception raised in PDFkit
  • From: Chris Idou <email@hidden>
  • Date: Mon, 01 Aug 2011 05:42:08 -0700 (PDT)


You should clarify what you mean by 'it crashes'. If you just mean a breakpoint is hit, then it doesn't sound like a big deal. If you actually mean it crashes, like with a seg fault or something, it sounds like a bug.


----- Original Message -----
From: Martin Hewitson <email@hidden>
To: email@hidden
Cc:
Sent: Monday, 1 August 2011 9:19 PM
Subject: Xcode 4.1 GM exception raised in PDFkit

Dear list,

I think this is a bug, but I'd be interested in comments before I submit it.

1) Create a new Cocoa project in Xcode (no core-data, non-document).
2) Add a PDFview to the main window
3) Make an outlet property in the app delegate and connect to the PDFview
4) Add Quartz framework to the project
5) Include <Quartz/Quartz.h> in app delegate interface
6) In -applicationDidFinishLaunching: init a PDFDocument with some pdf file on disk
7) Set the pdf document to the PDFview

This all works fine.

Now switch on an "all exceptions" breakpoint and the app crashes. I actually came across this in a real app and was able to reproduce it with the simple attached project. If you run the app outside Xcode then it works fine (of course). This didn't happen in earlier versions of Xcode 4 on 10.6.

Cheers,

Martin





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Martin Hewitson
Albert-Einstein-Institut
Max-Planck-Institut fuer
    Gravitationsphysik und Universitaet Hannover
Callinstr. 38, 30167 Hannover, Germany
Tel: +49-511-762-17121, Fax: +49-511-762-5861
E-Mail: email@hidden
WWW: http://www.aei.mpg.de/~hewitson
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~






_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Xcode 4.1 GM exception raised in PDFkit
      • From: Martin Hewitson <email@hidden>
References: 
 >Xcode 4.1 GM exception raised in PDFkit (From: Martin Hewitson <email@hidden>)

  • Prev by Date: Re: Xcode 4.1 GM exception raised in PDFkit
  • Next by Date: Trying to get rid of UserInterfaceState.xcuserstate in git repo
  • Previous by thread: Re: Xcode 4.1 GM exception raised in PDFkit
  • Next by thread: Re: Xcode 4.1 GM exception raised in PDFkit
  • Index(es):
    • Date
    • Thread