• 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: How do I view contents of a simple C buffer in XCode debugger?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do I view contents of a simple C buffer in XCode debugger?


  • Subject: Re: How do I view contents of a simple C buffer in XCode debugger?
  • From: "Dave Opstad" <email@hidden>
  • Date: Mon, 04 Apr 2005 09:52:44 -0700
  • Importance: normal
  • Priority: normal

> Now I stop at a breakpoint in the debugger, and I want to inspect the data.
> Can I get the XCode debugger to display a table showing the indexes and
> values for the elements in the buffer?

It took me a while to figure this one out too, but the gdb manual actually
helped out. To display the 10 elements of an array named var, for instance,
type this into the Expressions window:

*var@10

Dave

 _______________________________________________
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: 
 >How do I view contents of a simple C buffer in XCode debugger? (From: Julian Vrieslander <email@hidden>)

  • Prev by Date: Re: G4 and G5 executable
  • Next by Date: Xcode hanging on initiation of build or clean
  • Previous by thread: Re: How do I view contents of a simple C buffer in XCode debugger?
  • Next by thread: Frameworks included in an applications bundle
  • Index(es):
    • Date
    • Thread