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

Command line arguments to a debugged app?


  • Subject: Command line arguments to a debugged app?
  • From: Guy Umbright <email@hidden>
  • Date: Thu, 13 May 2004 14:51:44 -0500

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.


  • Follow-Ups:
    • Re: Command line arguments to a debugged app?
      • From: email@hidden
  • Prev by Date: Automated packaging
  • Next by Date: Re: how to save state of a button...
  • Previous by thread: Re: Automated packaging
  • Next by thread: Re: Command line arguments to a debugged app?
  • Index(es):
    • Date
    • Thread