• 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 Debugger Showing Wrong File
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode Debugger Showing Wrong File


  • Subject: Re: Xcode Debugger Showing Wrong File
  • From: Steve Sisak <email@hidden>
  • Date: Thu, 6 Dec 2007 11:11:35 -0500

A little more detail:

Switching to a Quad G5, the problem goes away -- for now I'll just debug on the other machine, but it's a bit baffling.

Also, the source file in question includes a bunch of Mach headers, so it's possible that there's something making the preprocessor unhappy.

-Steve

At 10:30 AM -0500 12/4/07, Steve Sisak wrote:
Xcode 2.4.1, Mac OS X 10.4.10, Mac Pro (Intel)

I'm attempting to debug an application and when I step into a particular function, the Xcode debugger is showing <MacMemory.h> instead of the source file that I'm attempting to debug.

The register values are there, and the PC marker advances through the file as I step so debugging info should be there -- it's just showing me the wrong file.

I've tried:

   1) Quitting and relaunching Xcode (to clear caches)
   2) Rebuilding the project index
   3) Deleting the .pbxuser and .mode1 files from the pacage bundle
   4) Removing and re-adding the files to the project

I believe that this happened once before, but can't remember how I fixed it.

Any suggestions?

Thanks,

-Steve
_______________________________________________
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 Debugger Showing Wrong File
      • From: Chris Espinosa <email@hidden>
References: 
 >Xcode Debugger Showing Wrong File (From: Steve Sisak <email@hidden>)

  • Prev by Date: Re: Xcode's Groups and Files View, SCM/Subversion and Non-Project Files
  • Next by Date: Since Xcode 3.0, ld insists on linking CoreData.framework
  • Previous by thread: Xcode Debugger Showing Wrong File
  • Next by thread: Re: Xcode Debugger Showing Wrong File
  • Index(es):
    • Date
    • Thread