• 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: custom visualization in gdb...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: custom visualization in gdb...


  • Subject: Re: custom visualization in gdb...
  • From: Jonathan del Strother <email@hidden>
  • Date: Thu, 18 Aug 2005 23:24:28 +0100


On 18 Aug 2005, at 03:03, Ray Fix wrote:

Hi Xcode List!

I am very new to Xcode and this is my first post. Please go easy on me.

Here is the problem I am trying to solve.

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.

(I know this is probably not easy but I am more wondering if it is possible/practical.)

In M$ Visual Studio 2005, for example, you can write what are called Type Visualizers to do this. Basically you have to implement the IDebugVisualizer interface. Of course this only works if you buy into the whole .NET paradigm so is not very useful to me.


I know it's not quite what you're looking for, but I think the closest you can get to it is by overriding the -(NSString*) description method. Then when you do 'po someObject' in the debugger, it'll give you something a little more sensible.

Jon
_______________________________________________
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: 
 >custom visualization in gdb... (From: Ray Fix <email@hidden>)

  • Prev by Date: Re: How to get details of link errors with Xcode?
  • Next by Date: Re: strange link error: ld: Undefined symbols: _sprintf$LDBLStub
  • Previous by thread: custom visualization in gdb...
  • Next by thread: Re: custom visualization in gdb...
  • Index(es):
    • Date
    • Thread