• 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: Debugger Printing Wrong Variable's Value
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debugger Printing Wrong Variable's Value


  • Subject: Re: Debugger Printing Wrong Variable's Value
  • From: Jean-Denis Muys <email@hidden>
  • Date: Tue, 24 May 2011 08:59:47 +0000
  • Thread-topic: Debugger Printing Wrong Variable's Value

On 23 mai 2011, at 22:43, Seth Willits wrote:

>
> Somehow when I print any variable in gdb, it's giving me a different variable's value. It's like the symbol list is off by one. Anyone ever seen this before? Valgrind doesn't show me smashing any memory and I know I'm not anyway ;-) I've cleaned and rebuilt, I've used both DWARF and Stabs...

Yes I have seen this. Needless to say this is infuriating. The last thing you need, is your development tools lying to you.

It's all the more frustrating that:

- I haven't been able to identify how to trigger this misbehavior so I can file a bug report
- I haven't been able to identify clearly how to convince the debugger to stop smoking whatever herb it decided to get high on

What I did is to trash all the temporary stuff I could find, especially the project/workspace intermediate products directory.

Jean-Denis



 _______________________________________________
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: Debugger Printing Wrong Variable's Value
      • From: Jim Ingham <email@hidden>
References: 
 >Debugger Printing Wrong Variable's Value (From: Seth Willits <email@hidden>)

  • Prev by Date: Re: XCode4 - Setup for 2 apps 1 framework
  • Next by Date: How to jump to debug console in Xcode 4?
  • Previous by thread: Debugger Printing Wrong Variable's Value
  • Next by thread: Re: Debugger Printing Wrong Variable's Value
  • Index(es):
    • Date
    • Thread