Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [pde-dev] Eclipse Custom Debugger plugin

First step would be to send your questions to jdt-debug-dev@xxxxxxxxxxx or the forums: http://www.eclipse.org/forums

The mailing lists are generally used to discuss issues around developing the component, so the forums are preferred.

As far as I know, the JDT debugger does not have API to modify its use of the variables view.  The contents of the variables view is determined by it's content provider (IElementContentProvider).  The debug framework provides a default implementation that the JDT debugger extends (JavaVariableContentProvider).

You shouldn't have to copy the required classes out of the debug plug-ins.  Your plug-in should require the appropriate jdt debug plug-ins.  As all classes in Eclipse plug-ins are supported, all the classes are available to other plug-ins (though *internal* packages are not API and you will get warnings in your code).

Curtis


From: Girish Parappa <girish.parappa@xxxxxxxxxxxxxx>
To: pde-dev@xxxxxxxxxxx,
Date: 2011/04/08 05:35 AM
Subject: [pde-dev] Eclipse Custom Debugger plugin
Sent by: pde-dev-bounces@xxxxxxxxxxx





Hello,


I am trying to write my own exception breakpoint with very few changes in JavaExceptionBreakpoint class. I m trying to catch any exceptions raised and rollback back the changes made to its previous consitant state. The only change made is calling my rollback method in handleBreakpointEvent() method in JavaExceptionBreakpoint class.

To do this i want to extend the VariableView of Java Debug Plugin to include one additional column to display my old values of variable and objects. Currently in Variable view we have only 2 columns for Variable/Object names and its current values. I also want to include one more column which display its previous state values in the Variable view.

Currently I have just copied bunch all the required java classes into my plugin. But I do not want to have a copies of these classes.

Can any one let me know how to do it without have to copy the classes. Is there any possiblity just to extend the debug plugin and have only those which is required for rollback.


Thanks and Regards,
Girish
_______________________________________________
pde-dev mailing list
pde-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pde-dev



Back to the top