Re: Using Terminal.app instead of the "pseudo" terminal?
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>" |
_______________________________________________
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