• 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
Filling variables in the debugger
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Filling variables in the debugger


  • Subject: Filling variables in the debugger
  • From: "Karan, Cem (Civ, ARL/CISD)" <email@hidden>
  • Date: Fri, 4 Nov 2005 08:45:21 -0500
  • Thread-topic: Filling variables in the debugger

I'm trying to figure out when and where one of my arrays gets hosed.
The easiest way for me to do this is to fill the array with a known
pattern, and then see who stomps on the pattern.  Ideally, I would be
able to open up the array in the debugger, select all of the variable
positions, and copy one value into every position (kind of like how you
might do it in a spreadsheet program).  Is there a way of doing this, or
am I being dense?  Note that I would like to avoid modifying my code,
and copying into each position one at a time is also really annoying.

Also, how do I get XCode to treat a pointer as an array of something?
For example, I have a void pointer, and a size variable being passed
into a function.  Because of the size variable, I know how big the array
is going to be; I'd like to cast the expression to an array type of a
particular size so that it updates continuously as I step thru my code.
Is there an easy way of doing this?

Thanks,
Cem Karan
 _______________________________________________
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: Filling variables in the debugger
      • From: Jim Ingham <email@hidden>
  • Prev by Date: xcode 2.2 editor problem
  • Next by Date: Re: "Flattening" a static library
  • Previous by thread: Re: xcode 2.2 editor problem
  • Next by thread: Re: Filling variables in the debugger
  • Index(es):
    • Date
    • Thread