• 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: SPAM-HIGH: Re: C++ class members debugging and alignment problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SPAM-HIGH: Re: C++ class members debugging and alignment problems


  • Subject: Re: SPAM-HIGH: Re: C++ class members debugging and alignment problems
  • From: "Paul Sanders" <email@hidden>
  • Date: Sat, 21 Nov 2009 09:38:39 -0000

That may or may not work.  I use DWARF and I get similar problems from time
to time.  I have not been able to pin down the exact circumstances but it
certainly happens.  It can be extremely frustrating.  It's not the only way
that the Xcode / gdb combination misbehaves, either.

The best solution seems to be to master gdb's print command (in the console
window):

http://sourceware.org/gdb/current/onlinedocs/gdb/Data.html#Data

The display command can also be useful as gdb's Expressions window
frequently fails to display updated values as you step through the code
(which makes it pretty useless, does it not?)

HTH - Paul Sanders.

----- Original Message -----
From: "Shawn Erickson" <email@hidden>
To: "Howard Moon" <email@hidden>
Cc: "Xcode Users" <email@hidden>
Sent: Saturday, November 21, 2009 3:33 AM
Subject: SPAM-HIGH: Re: C++ class members debugging and alignment problems


On Fri, Nov 20, 2009 at 1:38 PM, Howard Moon <email@hidden> wrote:

> Is there any way to get Xcode's debugger to show me the real values?
> (BTW, I'm using "Stabs" as the debugging format.)

Use DWARF.



 _______________________________________________
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: 
 >C++ class members debugging and alignment problems (From: Howard Moon <email@hidden>)
 >Re: C++ class members debugging and alignment problems (From: Shawn Erickson <email@hidden>)

  • Prev by Date: Re: PBProj to Xcodeproj
  • Next by Date: Exceptions between DSOs not working, how to find cause?
  • Previous by thread: Re: C++ class members debugging and alignment problems
  • Next by thread: PBProj to Xcodeproj
  • Index(es):
    • Date
    • Thread