Re: Variable values
Re: Variable values
- Subject: Re: Variable values
- From: Brian Stern <email@hidden>
- Date: Thu, 15 May 2008 19:30:23 -0400
On May 15, 2008, at 5:59 PM, Johnny Lundy wrote:
Is there a known workaround to the GUI debugger not showing the
values of array and dictionary elements?
In the debugger console you can normally print out any variable that's
in scope. GDB has the ability to format variables similar to a printf
output. This is my usual workaround when the debugger doesn't display
things the way I want.
As there will always be data structures that the debugger doesn't
display in the way you like old time command line debugger users would
write functions to print out their complicated data structures. It's
possible to call a function in your code from the GDB command line
that prints things out the way you like.
--
Brian Stern
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