• 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: Unable to set breakpoints in custom executable
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unable to set breakpoints in custom executable


  • Subject: Re: Unable to set breakpoints in custom executable
  • From: Mike Richmond <email@hidden>
  • Date: Mon, 4 Aug 2008 09:48:34 +0100

At 10:50 -0700 1/8/08, Jim Ingham wrote:
Did you try turning off "Load symbols lazily" in the Debugging pane of the Xcode preferences?

Yes. I needed to do that to get things to work when the app had been built on Tiger. It doesn't help wiht the built on Leopard app.


Mike


Jim

On Aug 1, 2008, at 4:11 AM, Mike Richmond wrote:

I'm trying to use Xcode 3.0 to debug an application which I build outside of Xcode. I create an empty project and add a new custom executable and I can start the app in the debugger. The problem comes with trying to set breakpoints. If I pause the app I can set a breakpoint, e.g. "b main", in the console window, but when I re- run the app I see:

Junk at end of arguments.
Unable to set breakpoint main.c123\. Make sure to build the file main.c with debugging symbols.


in the console and unsurprisingly the app doesn't stop at main.

It worked fine when I was building on Tiger with gcc 4.0.1 build 5367. This misbehaviour only started when I rebuilt the app on Leopard with gcc 4.0.1 build 5465. Any ideas? TIA.

Mike Richmond
Global Graphics Software Ltd

Jim Ingham Apple Developer Tools

_______________________________________________ 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: Unable to set breakpoints in custom executable
      • From: Mike Richmond <email@hidden>
References: 
 >Unable to set breakpoints in custom executable (From: Mike Richmond <email@hidden>)
 >Re: Unable to set breakpoints in custom executable (From: Jim Ingham <email@hidden>)

  • Prev by Date: Re: linking error
  • Next by Date: Re: framework headers not found
  • Previous by thread: Re: Unable to set breakpoints in custom executable
  • Next by thread: Re: Unable to set breakpoints in custom executable
  • Index(es):
    • Date
    • Thread