Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Extending debug variable view
Extending debug variable view [message #171211] Mon, 02 August 2004 17:08 Go to next message
Eclipse UserFriend
Originally posted by: andrew.ambric.com

I want to customize the variable display view during debugging by hiding
certain data types.

I have looked at the code related to the
org.eclipse.debug.ui.debugModelPresentations extension point and can see
how I could modify the presentation of variable text and images, what is
not clear is if/how I would modify the underlying tree representation of
the data.

Is there any way to do this?

thanks,
Andrew
Re: Extending debug variable view [message #171220 is a reply to message #171211] Mon, 02 August 2004 17:28 Go to previous messageGo to next message
Eclipse UserFriend
Have you explored using the logicalStructureTypes extension point provided
by org.eclipse.debug.core?

HTH
Darins

"Andrew Sutherland" <andrew@ambric.com> wrote in message
news:410EAD5D.4060305@ambric.com...
> I want to customize the variable display view during debugging by hiding
> certain data types.
>
> I have looked at the code related to the
> org.eclipse.debug.ui.debugModelPresentations extension point and can see
> how I could modify the presentation of variable text and images, what is
> not clear is if/how I would modify the underlying tree representation of
> the data.
>
> Is there any way to do this?
>
> thanks,
> Andrew
>
Re: Extending debug variable view [message #171226 is a reply to message #171220] Mon, 02 August 2004 18:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: andrew.ambric.com

Thanks Darin,
Now I have a reason to migrate to 3.0.

Let me see if I have this right..

I extend the point with a class that implements
ILogicalStructureTypeDelegate, this class returns IValue objects that I
create that have the structure that I want to provide.

Question: How do I set the modelIdentifier attribute in the extension
point? Can I just set it to the debugModelPresentation defined in
org.eclipse.debug.ui ,So that I would use the standard debug formatting
on my new logical structure?

Andrew


Darin Swanson wrote:
> Have you explored using the logicalStructureTypes extension point provided
> by org.eclipse.debug.core?
>
> HTH
> Darins
>
> "Andrew Sutherland" <andrew@ambric.com> wrote in message
> news:410EAD5D.4060305@ambric.com...
>
>>I want to customize the variable display view during debugging by hiding
>> certain data types.
>>
>>I have looked at the code related to the
>>org.eclipse.debug.ui.debugModelPresentations extension point and can see
>>how I could modify the presentation of variable text and images, what is
>>not clear is if/how I would modify the underlying tree representation of
>>the data.
>>
>>Is there any way to do this?
>>
>>thanks,
>>Andrew
>>
>
>
>
Re: Extending debug variable view [message #171232 is a reply to message #171226] Mon, 02 August 2004 18:32 Go to previous messageGo to next message
Eclipse UserFriend
"Andrew Sutherland" <andrew@ambric.com> wrote in message
news:410EBC1A.8080405@ambric.com...
> Thanks Darin,
> Now I have a reason to migrate to 3.0.
>
> Let me see if I have this right..
>
> I extend the point with a class that implements
> ILogicalStructureTypeDelegate, this class returns IValue objects that I
> create that have the structure that I want to provide.

Correct. See the example implementations in Java debug implementation.

>
> Question: How do I set the modelIdentifier attribute in the extension
> point? Can I just set it to the debugModelPresentation defined in
> org.eclipse.debug.ui ,So that I would use the standard debug formatting
> on my new logical structure?
>

You want to provide the ID of the debug model you wish to present values
for.
See the examples in the org.eclipse.jdt.debug.ui plugin.
For the Java debug model you would use "org.eclipse.jdt.debug" (the unique
identifier of the plug-in the elements originate in)

HTH
Darins

>
>
> Darin Swanson wrote:
> > Have you explored using the logicalStructureTypes extension point
provided
> > by org.eclipse.debug.core?
> >
> > HTH
> > Darins
> >
> > "Andrew Sutherland" <andrew@ambric.com> wrote in message
> > news:410EAD5D.4060305@ambric.com...
> >
> >>I want to customize the variable display view during debugging by hiding
> >> certain data types.
> >>
> >>I have looked at the code related to the
> >>org.eclipse.debug.ui.debugModelPresentations extension point and can see
> >>how I could modify the presentation of variable text and images, what is
> >>not clear is if/how I would modify the underlying tree representation of
> >>the data.
> >>
> >>Is there any way to do this?
> >>
> >>thanks,
> >>Andrew
> >>
> >
> >
> >
>
>
Re: Extending debug variable view [message #171579 is a reply to message #171232] Tue, 03 August 2004 17:06 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: andrew.ambric.com

I've got an example working and have the following question:

My class implementing ILogicalStructureTypeDelegate does not get called
for the top level of the Variable View Hierarchy it only gets called
when I expand the view for any of the top level member variables.

thanks,
Andrew
Re: Extending debug variable view [message #171705 is a reply to message #171579] Wed, 04 August 2004 10:48 Go to previous message
Eclipse UserFriend
This is how the current implementation works. The top level variable
displays as is, and when the variable is expanded, we show its logical
structure. We are still looking at ways to replace a variable/value pair,
for example to inline wrappers such as Integer with ints.

Darin

"Andrew Sutherland" <andrew@ambric.com> wrote in message
news:410FFE58.4030708@ambric.com...
> I've got an example working and have the following question:
>
> My class implementing ILogicalStructureTypeDelegate does not get called
> for the top level of the Variable View Hierarchy it only gets called
> when I expand the view for any of the top level member variables.
>
> thanks,
> Andrew
>
Previous Topic:J ?
Next Topic:Cannot set break point.
Goto Forum:
  


Current Time: Wed Jul 23 19:12:54 EDT 2025

Powered by FUDForum. Page generated in 0.03569 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top