Re: Xcode 3.0 - debugging custom executable
Re: Xcode 3.0 - debugging custom executable
- Subject: Re: Xcode 3.0 - debugging custom executable
- From: Dave Hersey <email@hidden>
- Date: Thu, 6 Dec 2007 13:26:03 -0500
- The "Load symbols lazily" option is on.
Have you tried turning that off? Several of us have had occasional
problems with breakpoints never firing when it's enabled.
Also make sure you're using Dwarf.
- d
On Dec 6, 2007, at 1:10 PM, Martin Cote wrote:
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