• 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: Executable path is nil!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Executable path is nil!


  • Subject: Re: Executable path is nil!
  • From: j o a r <email@hidden>
  • Date: Tue, 3 Jan 2006 15:42:43 +0100

Hello,

On 3 jan 2006, at 15.25, Kai-Mikael Jää-Aro wrote:

I run XCode 2.2 and have a project. If I build and run it from the Build Results window the program runs, but I get no debugging info, in particular, the program does not stop at breakpoints,

Well, if you're just launching it, and not running in a debugger, that's not surprising...


nor does it put me in the debugger if the program chrashes.

Verify that "Inspector > Debugger > Auto-attach debugger on crash" is enabled for the executable in question.


On the other hand if I try to build and run the program from the Debugger window it compiles and then it says "Error from Debugger: Executable path is nil!".

Weird. If you can Run it, you should be able to Debug it...

Is this a custom executable (ie. not the one you get with your application target)? You are trying to debug a project that does have an application target, or a valid custom executable, right?

With Xcode 2.2 it's very convenient to set up your custom executables with a path like this one:

	$(BUILT_PRODUCTS_DIR)/My.app


j o a r


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: Executable path is nil!
      • From: Kai-Mikael Jää-Aro <email@hidden>
References: 
 >Executable path is nil! (From: Kai-Mikael Jää-Aro <email@hidden>)

  • Prev by Date: Re: Xcode and Subversion
  • Next by Date: Apple USBSimple Example & Rosetta
  • Previous by thread: Executable path is nil!
  • Next by thread: Re: Executable path is nil!
  • Index(es):
    • Date
    • Thread