Thanks. I found that out (by accident). I'm actually surprised that it works. Pretty cool.
I have a basic idea of what a patch for https://bugs.eclipse.org/bugs/show_bug.cgi?id=332158 would look like. Could someone comment on the bug and let me know if this is the right direction to go? A fix for this issue would be extremely helpful for my users. Thanks. On Thu, Oct 13, 2011 at 4:12 PM, Pascal Rapicault <[email protected]>wrote: > > On 2011-10-13, at 6:32 PM, Andrew Eisenberg wrote: > > Thanks, DJ. Not the easiest way to set things up, but it is working for me > now. I can now debug. > > The next step is to figure out how to make changes to the code and run that > in the remote JVM. > > You can just edit the code when you hit the breakpoint and save. As long as > you don't restart the VM the changes hold. > If you think about it this is no different than starting a program in debug > mode. > > > On Thu, Oct 13, 2011 at 12:10 PM, DJ Houghton <[email protected]>wrote: > >> I usually set up a remote debug session to test things like this. This is >> what I do: >> >> - download a nightly build (I uses nightlies because 1) they contain the >> latest code which most likely matches what is in my workspace and 2) the >> bundle qualifiers are all the same which makes it easier if I need to export >> multiple bundles) >> - set the following properties in the eclipse.ini file: >> -Xdebug >> -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 >> - In your Eclipse create a new Remote Debug launch configuration and >> connect to the remote session >> >> [image: Inactive hide details for Andrew Eisenberg ---2011/10/13 02:34:08 >> PM---Found out an answer: http://wiki.eclipse.org/Equinox_p2_]Andrew >> Eisenberg ---2011/10/13 02:34:08 PM---Found out an answer: >> http://wiki.eclipse.org/Equinox_p2_Getting_Started_for_Developers#Self_hosting >> >> >> From: >> Andrew Eisenberg <[email protected]> >> To: >> P2 developer discussions <[email protected]> >> Date: >> 2011/10/13 02:34 PM >> Subject: >> Re: [p2-dev] Cannot install features into a runtime workbench >> Sent by: >> [email protected] >> ------------------------------ >> >> >> >> Found out an answer: >> >> http://wiki.eclipse.org/Equinox_p2_Getting_Started_for_Developers#Self_hosting >> >> Thanks anyway. >> >> On Thu, Oct 13, 2011 at 11:27 AM, Andrew Eisenberg <[email protected]> >> wrote: >> > I am working on a patch for >> > https://bugs.eclipse.org/bugs/show_bug.cgi?id=332158 >> . I am trying to >> >> > reproduce the problem in a runtime workspace. (This is the problem >> > where trying to install into a Shared Install fails, but the error >> > message is confusing). >> > >> > For this, in my launch configuration, I have checked "Support software >> > installation in the launched application". Also, in the plug-ins tab, >> > I have selected all features. >> > >> > Then, when I launch the runtime workbench and go to About Eclipse -> >> > Installation Details -> Installed software, the page is blank. This >> > seems to be causing feature-based installs to fail since the runtime >> > workbench does not think there are any features installed. Hence, I >> > cannot reproduce this bug in a runtime workbench. >> > >> > Does anyone have any suggestions? >> > >> > thanks, >> > Andrew >> > >> _______________________________________________ >> p2-dev mailing list >> [email protected] >> https://dev.eclipse.org/mailman/listinfo/p2-dev >> >> >> >> > _______________________________________________ > p2-dev mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/p2-dev > > >
_______________________________________________ p2-dev mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/p2-dev
