Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Debugging Eclipse refactoring(Debbug internal tool of Eclipse)
Debugging Eclipse refactoring [message #753401] Thu, 27 October 2011 05:15 Go to next message
John Jhonson is currently offline John JhonsonFriend
Messages: 2
Registered: October 2011
Junior Member
Hi all

I'm working on a project where I need to do some work with the refactoring tool that Eclipse has.

When you select a refactoring (in the menu "Refactor") it displays a window where the packages/classes/methods that are gonna be modified are displayed. I need to debug and eventually use for my project the structure that contains all the changes that are gonna be done for a given refactor. For example, if we apply the refactor "Rename" for a method, this structure will contain all the classes in the workspace where the method is called.

Eclipse contains two jars where all the logic for the refactorings is:
- org.eclipse.ltk.core.refactoring
- org.eclipse.ltk.ui.refactoring

I wonder if this is "open", I mean that I can download from somewhere the source code, add it to my workspace, add some breakpoints, use the refactorings and wait that magically I can debbug it Smile

I did something else but I have the feeling that it's not the correct way: I toke these two jars and generated the java classes with a tool. Then I added them to my workspace but it's full of errors looking for different things that I've no idea what they are.

Does someone know how should I proceed?

Thanks!!
Re: Debugging Eclipse refactoring [message #753976 is a reply to message #753401] Mon, 31 October 2011 10:20 Go to previous message
Deepak Azad is currently offline Deepak AzadFriend
Messages: 543
Registered: July 2009
Senior Member
On 10/27/2011 10:45 AM, juan.andres.alcorta wrote:
> Eclipse contains two jars where all the logic for the refactorings is:
> - org.eclipse.ltk.core.refactoring
> - org.eclipse.ltk.ui.refactoring
>
> I wonder if this is "open", I mean that I can download from somewhere
> the source code, add it to my workspace, add some breakpoints, use the
> refactorings and wait that magically I can debbug it :)

Yes, they are open. You have 2 options for getting the source
- Download the 'Eclipse Classic SDK', source for every plugin is
included in it
- Get the source from the JDT/UI git repository -
http://git.eclipse.org/c/jdt/eclipse.jdt.ui.git/
Previous Topic:Webservices Help
Next Topic:Managing multi-module maven project inside Eclipse
Goto Forum:
  


Current Time: Fri Apr 26 05:23:03 GMT 2024

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

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

Back to the top