Re: FAQ: How do you debug a C++ Standard Tool Application?
Re: FAQ: How do you debug a C++ Standard Tool Application?
- Subject: Re: FAQ: How do you debug a C++ Standard Tool Application?
- From: Laurence Flath <email@hidden>
- Date: Fri, 24 Sep 2004 13:45:24 -0700
Chris,
Use the standard Xcode trick to swap out running executables from
under the Xcode (1.5) debugger:
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) In a separate Terminal window, use ps -axwww to find the PID of the
process
6) Back in Xcode's debugger's gdb console, type "attach <PID>"
8) Back in Xcode's debugger's gdb console, type "cont"
Thanks for the great help!
Laurence
P.S. Any hope of this being automated by Xcode?
_______________________________________________
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