• 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: Problem with carbon app and debugger
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with carbon app and debugger


  • Subject: Re: Problem with carbon app and debugger
  • From: Eric Gorouben <email@hidden>
  • Date: Tue, 9 Dec 2008 14:10:48 +0100

Hi,

after tracing, it looks like a fopen failed.
The path is relative, unix format (simply "folder/myFile.dat", "folder" containing "myFile.dat" as expected and being in the same directory as the app)
fopen works when I'm in the debugger, and sends back a null pointer when I open the app directly.
I suppose that in the debugger, the base address is the bundle address, and when executing directly, it's the binary executable address.
I solved the problem by providing absolute paths.


Is this behavior normal?
Thanks
Eric
Le 9 déc. 08 à 13:30, Eric Gorouben a écrit :

Hi, there,

I've a problem that is probably obvious, but I can't find the solution.
I've built a carbon app that works fine in the debugger, but if I open it directly (by double clicking the app) I only get a blank window.
Tried all setting I know, but I still get a blank window.
XCode 3.1.1, HIFramework & Carbon, 10.5.5 intel.


Any help would be greatly appreciated
Thanks
Eric

_______________________________________________ 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: Problem with carbon app and debugger
      • From: Jean-Daniel Dupas <email@hidden>
    • Re: Problem with carbon app and debugger
      • From: Jonas Maebe <email@hidden>
References: 
 >Which SDK is recommended when doing both Mac and iPhone development? (From: "Phil (list)" <email@hidden>)
 >Re: Which SDK is recommended when doing both Mac and iPhone development? (From: Alexander von Below <email@hidden>)
 >Problem with carbon app and debugger (From: Eric Gorouben <email@hidden>)

  • Prev by Date: Problem with carbon app and debugger
  • Next by Date: Re: Which SDK is recommended when doing both Mac and iPhone development?
  • Previous by thread: Problem with carbon app and debugger
  • Next by thread: Re: Problem with carbon app and debugger
  • Index(es):
    • Date
    • Thread