Re: how do I attach to a running process in xcode - simple instructionsdon't work
Re: how do I attach to a running process in xcode - simple instructionsdon't work
- Subject: Re: how do I attach to a running process in xcode - simple instructionsdon't work
- From: Clark Goble <email@hidden>
- Date: Tue, 20 Mar 2007 16:52:09 -0600
On Mar 20, 2007, at 3:03 PM, Eric Fish wrote: The xcode (v2.4) doc on attaching to a running process does not adequately describe what I need to do in order to attach to a running process.? My goal is to use xcode for visual debugging of an executable compiled outside of the xcode environment,?using gcc with the -g option (to make it debuggable).? I do not have the luxury of launching this directly, but have to attach it once the process receives a request (the process is launched/controlled by another process).? ?Moreover, the project was not built via xcode, but through gcc/make.? The program was started via the terminal (shell).?? XCode's attach is kind of flaky at times. I've had my best luck attaching by creating an executable rather than attempting to attach to a running process. For running processes I typically only get it to work by typing ps -aux at the command line and then using the attach to Process ID. When I try to attach to one of the applications listed it often doesn't work correctly.
I don't know if this will work if the project was built via make depending upon how the debugging flags were set.
|
_______________________________________________
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