How to build Eclipse in Eclipse [message #838163] |
Fri, 06 April 2012 12:59  |
Eclipse User |
|
|
|
I'm finding guides to build and debug Eclipse within Eclipse.
(This is my first posting here. I really want to get answers from you.)
[Updated on: Fri, 06 April 2012 13:00] by Moderator
|
|
|
|
|
Re: How to build Eclipse in Eclipse [message #847938 is a reply to message #844013] |
Tue, 17 April 2012 16:07   |
Eclipse User |
|
|
|
Jongwook Kim wrote on Fri, 13 April 2012 11:47Thank you Roland, I still have some questions:
I don't guess Eclipse developers build Eclipse on Linux as described in wiki.eclipse.org/Linux_Tools_Project/Eclipse_Build. Am I wrong?
Could you elaborate debugging (with breakpoints)? Is it the way Eclipse developers do actually?
If you're talking about the Eclipse instances found here : www.eclipse.org/downloads/ , then no they aren't built exactly the same way. The "eclipse-build" project is an attempt to build Eclipse from sources on Linux distros. One of the reasons for this is that some distributions do not allow things to be pre-built and so everything must be built from source.
Another reason is to provide the Eclipse package as a part of that distribution's package management system.
I don't know exactly if there's only one way Eclipse developers debug things. From my personal experience, when debugging Eclipse itself, it's much easier to do it remotely because you're not dependent on using the same instance. For example, if you're attempting to debug a broken Eclipse installation (let's say it won't even start), you can't launch the first instance, let alone a child. You could however start that broken instance in debug mode (at some point early in the startup process), and debug from a working Eclipse instance.
Using breakpoints seems pretty standard to me. Often all that's required is to inspect certain values at a point in the code (in some cases maybe even doing a hot-code insertion)
There's a lot of good documentation out there on the above topics.
|
|
|
|
|
|
Re: How to build Eclipse in Eclipse [message #856499 is a reply to message #849022] |
Wed, 25 April 2012 14:23  |
Eclipse User |
|
|
|
Jongwook Kim wrote on Wed, 18 April 2012 16:15That's exactly what I'm finding. Do you know how to build/debug Eclipse using Eclipse?
There's some good documentation here on using remote debugging in Eclipse :
www.ibm.com/developerworks/opensource/library/os-eclipse-javadebug/index.html
The only difference is that the application you'd be launching is Eclipse, and you'd need to add the "-vmargs" flag before specifiying the debug flags.
I'm planning on writing up a post (I'll post here) of an example showing how to debug an instance of Eclipse, just to demonstrate that it really isn't all that different.
|
|
|
Powered by
FUDForum. Page generated in 0.03930 seconds