Xcode 3.0 - debugging custom executable
Xcode 3.0 - debugging custom executable
- Subject: Xcode 3.0 - debugging custom executable
- From: "Martin Cote" <email@hidden>
- Date: Thu, 6 Dec 2007 13:10:42 -0500
Hi,
I'm trying to debug a custom executable (command-line) in Xcode 3.0, with little success. I would like make sure that I'm doing things properly:
1. Compiled the program with -g (is this sufficient?)
2. Created an empty project
3. Added a custom executable, which points to the program file
4. Started the program in the debugger
At that point, the program is started and is waiting for input. If I start the console, I can interact with the program. If I pause the program, I can see the source and add breakpoints, but continuing makes the program to end 'normally' (return code 0). If I restart the program, the breakpoints are never hit.
Did anybody ever had that kind of problem? Is there anything I'm doing wrong?
More details:
- The "Load symbols lazily" option is on.
- The "pseudo-terminal" option is used for input/output.
Thanks for any help.
Martin Cote
_______________________________________________
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