• 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: tricky debugging question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tricky debugging question


  • Subject: Re: tricky debugging question
  • From: Nick Zitzmann <email@hidden>
  • Date: Fri, 19 Dec 2003 15:04:01 -0800

On Dec 19, 2003, at 10:57 AM, Alex Rice wrote:

Is it possible for me to load Revolution.app into the XCode debugger, and have it debug my.bundle? How?

Yes; I do this all the time for debugging screen savers. What you do is this:


1. Create a new "executable" in Xcode and point it to Revolution. Make this the target's executable.

2. Build. Make sure debugging symbols are on.

3. You can install the bundle into Revolution, but what I prefer doing (since it's easier) is to create a symbolic link pointing to the bundle, and put that link into the place where Revolution will notice it.

<PLUG STYLE="shameless">
I made a freeware tool called "SymbolicLinker" that will help you make this link. Look for it on my software page. URL is below.
</PLUG>


4. Finally, debug. If everything is set up correctly, and Revolution loads your bundle, then you should be able to hit breakpoints within your bundle.

Nick Zitzmann
<http://seiryu.home.comcast.net/>
S/MIME signature available upon request

"That's a funny thing to promise. Well, you can't never let anything happen to him [Nemo]; then, nothing would ever happen to him." - Dory, from the movie "Finding Nemo"
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.

References: 
 >tricky debugging question (From: Alex Rice <email@hidden>)

  • Prev by Date: Re: Problems with #include "" vs #include <>
  • Next by Date: Re: Problems with #include "" vs #include <>
  • Previous by thread: Re: tricky debugging question
  • Next by thread: Xcode 1.1 now available from ADC Downloads
  • Index(es):
    • Date
    • Thread