• 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: GDB Issues bad access message when looking at variables in 3.2.3
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GDB Issues bad access message when looking at variables in 3.2.3


  • Subject: Re: GDB Issues bad access message when looking at variables in 3.2.3
  • From: Jim Griffin <email@hidden>
  • Date: Wed, 11 Aug 2010 08:00:19 -0400

I also had the missing local variable problem with xcode 3.2.3 in one of my classes.  I tried many other suggestions about fixing the problem that I found by doing an internet search on xcode missing variables. None of those suggestions worked in my case.

What I did to solve the problem was to remove the files, both .m and .h,  containing the class from my project and quit xcode.  Then I changed the name of those files and edited them with TextWrangler to changed the name of the class.  I then re-launched xcode, opened the project and added the newly renamed files into the project.  Re-compiled, fixed any introduced errors and then ran the program.  I could then see the local variables at the breakpoints in the methods of the newly renamed class with GDB.

I'm going to guess that xcode 3.2.3 has some problem with the internal database in xcodeproj files that were created by previous versions of xcode and that by removing, renaming, and adding the files back into the project makes xcode 3.2.3 create a correct entry for the newly added files so that GBD can now work properly.



Jim Griffin
Software Engineering
Imagine Products, Inc.
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
  • Prev by Date: Re: Change path name of file in project
  • Next by Date: Instruments display of source code and tab width
  • Previous by thread: Re: Change path name of file in project
  • Next by thread: Instruments display of source code and tab width
  • Index(es):
    • Date
    • Thread