Custom Data Formatter Question
Custom Data Formatter Question
- Subject: Custom Data Formatter Question
- From: Brent Marykuca <email@hidden>
- Date: Tue, 19 Oct 2004 15:02:51 -0700
Hi folks,
I'm playing with Xcode's custom data formatters and have a question
that I'm sure is easily answered.
I've created a new Carbon Application project and within the main()
function I have a number of variables:
WindowRef window;
OSStatus err;
CFStringRef string = CFSTR("this is a cfstring");
char* foo = "this is a cstring";
Rect myRect = { 0, 1, 2, 3 };
FSRef myFSRef;
When I step through this code in the debugger, I note the following in
the Summary column of the variable display part of the window:
(a) The char* and Rect variables are displayed as expected with the
default summaries.
(b) The WindowRef, OSStatus, CFStringRef and FSRef variables' Summary
columns contain a grayed-out custom format string, for example
{(char*)DataViewersCarbonWindowRef($VAR, $ID)}:s.
My questions are: What causes the summary column to display a
grayed-out format string rather than the variable summary, and how can
I make these variables actually use these useful-looking formatting
functions?
Thanks,
Brent Marykuca
_______________________________________________
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