• 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: Command line arguments to a debugged app?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Command line arguments to a debugged app?


  • Subject: Re: Command line arguments to a debugged app?
  • From: email@hidden
  • Date: Wed, 19 May 2004 16:07:52 -0700

Use the menu Help->Xcode Help, then type 'command line arguments' in the full text search field. There should be a document called "Xcode Help: Editing an Executable Environment".

-ChrisF

On May 13, 2004, at 12:51 PM, Guy Umbright wrote:

I am writing a service, and it would be useful in debugging to be able to pass in a command line
argument so upon launch it forces its dialog to come up immediately rather than wait for the
invocation via the Services menu.


I know that I can get the command line arguments via NSProcessInfo, but how/where do
I specify the arguments in XCode so that when I run in the debugger, the command line
arguments get passed along?


Guy

"Seeking what is true is not seeking what is desirable." - Albert Camus
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


References: 
 >Command line arguments to a debugged app? (From: Guy Umbright <email@hidden>)

  • Prev by Date: RE: Links to other projects
  • Next by Date: C# in xcode ... blasphemy!
  • Previous by thread: Command line arguments to a debugged app?
  • Next by thread: was crt1.o - build still fails
  • Index(es):
    • Date
    • Thread