• 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: Jim Ingham <email@hidden>
  • Date: Fri, 1 Aug 2008 10:50:27 -0700

Did you try turning off "Load symbols lazily" in the Debugging pane of the Xcode preferences?

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
_______________________________________________
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

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>)

  • Prev by Date: Re: XCode 3.1 frequently hangs
  • Next by Date: Re: IB3 Plugin Troubles
  • Previous by thread: Unable to set breakpoints in custom executable
  • Next by thread: Re: Unable to set breakpoints in custom executable
  • Index(es):
    • Date
    • Thread