• 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: Debugging main app and custom exe
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debugging main app and custom exe


  • Subject: Re: Debugging main app and custom exe
  • From: "Jeremy W. Sherman" <email@hidden>
  • Date: Sat, 18 Apr 2009 00:31:51 -0400

I do not know, but if there is a way, you'll find it by looking through the gdb documentation. You'll want to load the symbols for the other applications into gdb. For example, this looks promising:
The add-symbol-file command reads additional symbol table information from the file filename. You would use this command when filename has been dynamically loaded (by some other means) into the program that is running.
(http://www.delorie.com/gnu/docs/gdb/gdb_125.html - found via a search for "gdb load symbols")

—Jeremy

On Fri, Apr 17, 2009 at 1:53 PM, Chris Griffin <email@hidden> wrote:
I have a project that contains 3 applications that get put into the Resources folder inside the main apps bundle. Everything is setup so that if I modify the source to one of the custom apps the main app is recompiled. Each of the custom apps are members of the main app target. What I can't get to work is being able to run the main app for debugging and set a breakpoint in one of the custom apps. I have been able to launch the main app from the Finder. Then attach to the custom app after the main app launches it but that makes it difficult to debug issues between the main app and the custom app. Is there any way I can get XCode to recognize the custom apps while debugging the main app?

Thanks,
Chris

_______________________________________________
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

 _______________________________________________
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

References: 
 >Debugging main app and custom exe (From: Chris Griffin <email@hidden>)

  • Prev by Date: HowTo Break in an NSAssert
  • Next by Date: Re: Cryptical error in unit test script
  • Previous by thread: Debugging main app and custom exe
  • Next by thread: download Xcode for Tiger (10.4.x)
  • Index(es):
    • Date
    • Thread