• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Xcode 3.0 - debugging custom executable
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Xcode 3.0 - debugging custom executable
      • From: "Martin Cote" <email@hidden>
References: 
 >Xcode 3.0 - debugging custom executable (From: "Martin Cote" <email@hidden>)

  • Prev by Date: Xcode 3.0 - debugging custom executable
  • Next by Date: Re: Xcode 3.0 - debugging custom executable
  • Previous by thread: Xcode 3.0 - debugging custom executable
  • Next by thread: Re: Xcode 3.0 - debugging custom executable
  • Index(es):
    • Date
    • Thread