You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Ivan Popov <iv...@gmail.com> on 2006/12/29 14:27:35 UTC
[jdktools] Eclipse debugger is now supported with Harmony JDK
Once jdktools building problems and several JVMTI issues had been
fixed, I created local snapshot of Harmony JDK (using federated build)
and tested it with Eclipse debugger. It appeared working well on both
Windows and Linux (IA32), so it is possible now to use Eclipse
debugger for debugging Java applications running on Harmony JRE. I
think we can add Eclipse JDT debugger to the list of supported
applications.
There are still several minor issues with full JDWP support, I've
submitted them to JIRA and will provide patches for JDWP agent. I
revealed also a couple of JVMTI problems in DRLVM implementation to be
submitted to JIRA. All this does not prevent one from using Eclipse
debugger for typical debug scenarios, because these problems usually
appear in specific cases.
I'd like also to improve jdktools build to enable building and running
JDWP unit tests and include these tests into regular testing process.
This will check that JVMTI debug support is not broken with DRLVM
changes as it sometimes occur, but will probably require changing
testing infrastructure to use full JDK build instead of sole classlib
and/or DRLVM components. I'm going to work on this and would
appreciate any help.
I've tested also Eclipse TPTP profiler and it appeared working well
with Harmony JRE in general, but currently is blocked by HARMONY-2905.
Will continue working on this.
Thanks.
Ivan
Intel Enterprise Solutions Software Division
Re: [jdktools] Eclipse debugger is now supported with Harmony JDK
Posted by Stefano Mazzocchi <st...@apache.org>.
Ivan Popov wrote:
> Once jdktools building problems and several JVMTI issues had been
> fixed, I created local snapshot of Harmony JDK (using federated build)
> and tested it with Eclipse debugger. It appeared working well on both
> Windows and Linux (IA32), so it is possible now to use Eclipse
> debugger for debugging Java applications running on Harmony JRE. I
> think we can add Eclipse JDT debugger to the list of supported
> applications.
>
> There are still several minor issues with full JDWP support, I've
> submitted them to JIRA and will provide patches for JDWP agent. I
> revealed also a couple of JVMTI problems in DRLVM implementation to be
> submitted to JIRA. All this does not prevent one from using Eclipse
> debugger for typical debug scenarios, because these problems usually
> appear in specific cases.
>
> I'd like also to improve jdktools build to enable building and running
> JDWP unit tests and include these tests into regular testing process.
> This will check that JVMTI debug support is not broken with DRLVM
> changes as it sometimes occur, but will probably require changing
> testing infrastructure to use full JDK build instead of sole classlib
> and/or DRLVM components. I'm going to work on this and would
> appreciate any help.
>
> I've tested also Eclipse TPTP profiler and it appeared working well
> with Harmony JRE in general, but currently is blocked by HARMONY-2905.
> Will continue working on this.
Ivan,
very nice job!! Keep up the great work!
--
Stefano.
Re: [jdktools] Eclipse debugger is now supported with Harmony JDK
Posted by Ivan Popov <iv...@gmail.com>.
On 12/29/06, Geir Magnusson Jr. <ge...@pobox.com> wrote:
>
> On Dec 29, 2006, at 8:27 AM, Ivan Popov wrote:
>
> > Once jdktools building problems and several JVMTI issues had been
> > fixed, I created local snapshot of Harmony JDK (using federated build)
> > and tested it with Eclipse debugger. It appeared working well on both
> > Windows and Linux (IA32), so it is possible now to use Eclipse
> > debugger for debugging Java applications running on Harmony JRE. I
> > think we can add Eclipse JDT debugger to the list of supported
> > applications.
>
> Woot!
>
> Care to post some instructions for people - say on the wiki for now,
> and we'll move to our site?
OK. Actually, it does not differ from using Eclipse debugger with any
other JDK, so experienced people should have any problems. For
inexperienced people I'll try to find some guidelines for Eclipse
debugger.
> > I'd like also to improve jdktools build to enable building and running
> > JDWP unit tests and include these tests into regular testing process.
>
> Thanks for the reminder. I didn't get those done when getting JDWP
> into the jdktools. If you don't beat me to it, I'll get them
> integrated.
Ilya added patch (004.run-test.patch) to HARMONY-2180 for running JDWP
tests, but I did not try it. I'm going to look at it and adjust if
necessary.
> > I've tested also Eclipse TPTP profiler and it appeared working well
> > with Harmony JRE in general, but currently is blocked by HARMONY-2905.
> > Will continue working on this.
>
> Again, any simple how-tos on this would be magnificent...
Using Eclipse TPTP Java profiler is much more tricky (because this is
a new project in TPTP platform, based on JVMTI support), but they have
a good guideline [1]. Again, using it with Harmony JDK does not have
any difference.
Thanks.
Ivan
[1] http://www.eclipse.org/tptp/platform/documents/tutorials/jvmti/Java_Application_Profiling_using_TPTP-r4-3.html
Re: [jdktools] Eclipse debugger is now supported with Harmony JDK
Posted by Ivan Popov <iv...@gmail.com>.
If you mean Eclipse in default IDE distribution (Platform+JDT+PDE), I
would generally agree, it is probably completely supported by Harmony.
But I did not try all Eclipse features even in standard distribution,
some features may still fail with Harmony. And, of course, there are
lot of plugins for Eclipse, which may require additional support.
Ivan.
On 12/29/06, Tony Wu <wu...@gmail.com> wrote:
> Good news!
> Can we say Harmony is completely support Eclipse?
>
> On 12/29/06, Geir Magnusson Jr. <ge...@pobox.com> wrote:
> >
> > On Dec 29, 2006, at 8:27 AM, Ivan Popov wrote:
> >
> > > Once jdktools building problems and several JVMTI issues had been
> > > fixed, I created local snapshot of Harmony JDK (using federated build)
> > > and tested it with Eclipse debugger. It appeared working well on both
> > > Windows and Linux (IA32), so it is possible now to use Eclipse
> > > debugger for debugging Java applications running on Harmony JRE. I
> > > think we can add Eclipse JDT debugger to the list of supported
> > > applications.
> >
> > Woot!
> >
> > Care to post some instructions for people - say on the wiki for now,
> > and we'll move to our site?
> >
> > >
> > > There are still several minor issues with full JDWP support, I've
> > > submitted them to JIRA and will provide patches for JDWP agent. I
> > > revealed also a couple of JVMTI problems in DRLVM implementation to be
> > > submitted to JIRA. All this does not prevent one from using Eclipse
> > > debugger for typical debug scenarios, because these problems usually
> > > appear in specific cases.
> > >
> > > I'd like also to improve jdktools build to enable building and running
> > > JDWP unit tests and include these tests into regular testing process.
> >
> > Thanks for the reminder. I didn't get those done when getting JDWP
> > into the jdktools. If you don't beat me to it, I'll get them
> > integrated.
> >
> > And I agree, we need to get the tests integrated into the regular
> > process. Also, we should also start testing the other tools as
> > well. (Make sure javac does something useful, etc...)
> >
> > > This will check that JVMTI debug support is not broken with DRLVM
> > > changes as it sometimes occur, but will probably require changing
> > > testing infrastructure to use full JDK build instead of sole classlib
> > > and/or DRLVM components. I'm going to work on this and would
> > > appreciate any help.
> >
> > Remember, changes to the testing infrastructure can be additive -
> > IOW, add a target for CC that does the JDK tools testing, using the
> > full JDK build, rather than changing it to be "instead of".
> >
> > >
> > > I've tested also Eclipse TPTP profiler and it appeared working well
> > > with Harmony JRE in general, but currently is blocked by HARMONY-2905.
> > > Will continue working on this.
> >
> > Again, any simple how-tos on this would be magnificent...
> >
> > geir
> >
> > >
> > > Thanks.
> > > Ivan
> > > Intel Enterprise Solutions Software Division
> >
> >
>
>
> --
> Tony Wu
> China Software Development Lab, IBM
>
Re: [jdktools] Eclipse debugger is now supported with Harmony JDK
Posted by Tony Wu <wu...@gmail.com>.
Good news!
Can we say Harmony is completely support Eclipse?
On 12/29/06, Geir Magnusson Jr. <ge...@pobox.com> wrote:
>
> On Dec 29, 2006, at 8:27 AM, Ivan Popov wrote:
>
> > Once jdktools building problems and several JVMTI issues had been
> > fixed, I created local snapshot of Harmony JDK (using federated build)
> > and tested it with Eclipse debugger. It appeared working well on both
> > Windows and Linux (IA32), so it is possible now to use Eclipse
> > debugger for debugging Java applications running on Harmony JRE. I
> > think we can add Eclipse JDT debugger to the list of supported
> > applications.
>
> Woot!
>
> Care to post some instructions for people - say on the wiki for now,
> and we'll move to our site?
>
> >
> > There are still several minor issues with full JDWP support, I've
> > submitted them to JIRA and will provide patches for JDWP agent. I
> > revealed also a couple of JVMTI problems in DRLVM implementation to be
> > submitted to JIRA. All this does not prevent one from using Eclipse
> > debugger for typical debug scenarios, because these problems usually
> > appear in specific cases.
> >
> > I'd like also to improve jdktools build to enable building and running
> > JDWP unit tests and include these tests into regular testing process.
>
> Thanks for the reminder. I didn't get those done when getting JDWP
> into the jdktools. If you don't beat me to it, I'll get them
> integrated.
>
> And I agree, we need to get the tests integrated into the regular
> process. Also, we should also start testing the other tools as
> well. (Make sure javac does something useful, etc...)
>
> > This will check that JVMTI debug support is not broken with DRLVM
> > changes as it sometimes occur, but will probably require changing
> > testing infrastructure to use full JDK build instead of sole classlib
> > and/or DRLVM components. I'm going to work on this and would
> > appreciate any help.
>
> Remember, changes to the testing infrastructure can be additive -
> IOW, add a target for CC that does the JDK tools testing, using the
> full JDK build, rather than changing it to be "instead of".
>
> >
> > I've tested also Eclipse TPTP profiler and it appeared working well
> > with Harmony JRE in general, but currently is blocked by HARMONY-2905.
> > Will continue working on this.
>
> Again, any simple how-tos on this would be magnificent...
>
> geir
>
> >
> > Thanks.
> > Ivan
> > Intel Enterprise Solutions Software Division
>
>
--
Tony Wu
China Software Development Lab, IBM
Re: [jdktools] Eclipse debugger is now supported with Harmony JDK
Posted by "Geir Magnusson Jr." <ge...@pobox.com>.
On Dec 29, 2006, at 8:27 AM, Ivan Popov wrote:
> Once jdktools building problems and several JVMTI issues had been
> fixed, I created local snapshot of Harmony JDK (using federated build)
> and tested it with Eclipse debugger. It appeared working well on both
> Windows and Linux (IA32), so it is possible now to use Eclipse
> debugger for debugging Java applications running on Harmony JRE. I
> think we can add Eclipse JDT debugger to the list of supported
> applications.
Woot!
Care to post some instructions for people - say on the wiki for now,
and we'll move to our site?
>
> There are still several minor issues with full JDWP support, I've
> submitted them to JIRA and will provide patches for JDWP agent. I
> revealed also a couple of JVMTI problems in DRLVM implementation to be
> submitted to JIRA. All this does not prevent one from using Eclipse
> debugger for typical debug scenarios, because these problems usually
> appear in specific cases.
>
> I'd like also to improve jdktools build to enable building and running
> JDWP unit tests and include these tests into regular testing process.
Thanks for the reminder. I didn't get those done when getting JDWP
into the jdktools. If you don't beat me to it, I'll get them
integrated.
And I agree, we need to get the tests integrated into the regular
process. Also, we should also start testing the other tools as
well. (Make sure javac does something useful, etc...)
> This will check that JVMTI debug support is not broken with DRLVM
> changes as it sometimes occur, but will probably require changing
> testing infrastructure to use full JDK build instead of sole classlib
> and/or DRLVM components. I'm going to work on this and would
> appreciate any help.
Remember, changes to the testing infrastructure can be additive -
IOW, add a target for CC that does the JDK tools testing, using the
full JDK build, rather than changing it to be "instead of".
>
> I've tested also Eclipse TPTP profiler and it appeared working well
> with Harmony JRE in general, but currently is blocked by HARMONY-2905.
> Will continue working on this.
Again, any simple how-tos on this would be magnificent...
geir
>
> Thanks.
> Ivan
> Intel Enterprise Solutions Software Division