• 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
how to debug an executable file with arguments
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how to debug an executable file with arguments


  • Subject: how to debug an executable file with arguments
  • From: Shuangxing Dai <email@hidden>
  • Date: Mon, 3 Aug 2009 15:59:39 -0600

Dear all,
    I was wondering how to debug an excutable file using Xcode. For example, I want to debug the file mdrun.o on path  /usr/local/mdrun. The arguments for this executable file is: -c steep.g96. It runs like: mdrun -c steep.g96  For gdb, I can easily do this by using:
   gdb  /usr/local/mdrun
In gdb, I use: run -c steep.g96
By this way, I can debug this file using gdb.
But for Xcode, I do not know how to debug this file, although I know how to debug a scouce code and the excutable file genertated by the code.
Since I am new to Xcode, anyone can help me?
Thanks in advance.
Shuangxing Dai
 _______________________________________________
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: how to debug an executable file with arguments
      • From: Ken Thomases <email@hidden>
  • Prev by Date: Re: SQLite shipping with Leopard?
  • Next by Date: Re: SQLite shipping with Leopard?
  • Previous by thread: Re: SQLite shipping with Leopard?
  • Next by thread: Re: how to debug an executable file with arguments
  • Index(es):
    • Date
    • Thread