• 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: Using Terminal.app instead of the "pseudo" terminal?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using Terminal.app instead of the "pseudo" terminal?


  • Subject: Re: Using Terminal.app instead of the "pseudo" terminal?
  • From: Chris Espinosa <email@hidden>
  • Date: Mon, 16 May 2005 11:37:50 -0700

On May 16, 2005, at 12:22 AM, Chaz McGarvey wrote:

I need to use ncurses for a project, but the pseudo terminal that Xcode provides isn't compatible.  Is there a way to get Xcode to launch the program in Terminal.app (or any external term) for running and debugging?


If not, has anyone ever tried to do this and what would be the easiest approach?



There's a documented technique for launching an application separately (via the Finder or Terminal), then attaching to it using the Xcode debugger.  That's probably your best bet.

1) Build your tool in Xcode.
2) Find the Executable that your target is going to run, and do Command-I
3) Go to the Debugging tab in the Info panel, and uncheck "Start executable after starting debugger"
4) Debug
5) In Terminal, launch your executable
6) Back in Xcode's debugger's gdb console, type "attach <name of your application>"


Chris
 _______________________________________________
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

References: 
 >Using Terminal.app instead of the "pseudo" terminal? (From: Chaz McGarvey <email@hidden>)

  • Prev by Date: Re: Using tab for completions...
  • Next by Date: Can't set number of columns for NSOutlineView
  • Previous by thread: Re: Using Terminal.app instead of the "pseudo" terminal?
  • Next by thread: NEXT_ROOT environment variable ignored...
  • Index(es):
    • Date
    • Thread