Re: custom visualization in gdb...
Re: custom visualization in gdb...
- Subject: Re: custom visualization in gdb...
- From: Mark Bessey <email@hidden>
- Date: Thu, 18 Aug 2005 16:00:10 -0700
Ray,
You have a few options, depending on what your needs are. Xcode
doesn't support the kind of "render this in a custom view" interface
that Visual Studio has, but there are several things you can use
within GDB and Xcode to display your data structure more meaningfully.
In order of increasing difficulty & sophistication:
Option 1: Use a custom data formatter string, as described in the
"Viewing Variables Using Custom Data Formatters" chapter of the
Debugging section of the Xcode User Guide.
Option 2: Write a function to dump your data structure in a readable
text format. You can then call this function from the Debugger
Console in Xcode, or from your custom data formatter from option 1.
Option 3: Write functionality into your application to open a window
and display the structure. You can call this function from the GDB
console, though you'll need to make sure the application properly
flushes the drawing, etc.
-Mark
On Aug 17, 2005, at 7:03 PM, Ray Fix wrote:
I have a complicated C/C++ structure that I would like to view from
the debugger in a custom way. Open a whole other window and render
it basically. I have no idea if Xcode / GDB can be extended this way.
_______________________________________________
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