You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Manju Vijayakumar <ma...@gmail.com> on 2009/03/18 05:30:39 UTC

Google summer of code 2009 - Tools project

Hi,

I am interested in putting together a proposal for developing some of the
tools needed for Harmony SDK.
I am particularly interested in the jdb tool development.

I am searching for a framework implementation that can allow me to connect
to the VM to be debugged
from a debugger process. Do we have this in place or are we required to
build up the debugging architecture
in order to proceed? Please give me some pointers so that I can do a source
code search in the right places.

-- 
Thanks,
Manju Vijayakumar
Masters Student, Computer Science
Texas A&M University
College Station, TX

Re: Google summer of code 2009 - Tools project

Posted by Regis <xu...@gmail.com>.
Manju Vijayakumar wrote:
> Hi,
> 
> I am interested in putting together a proposal for developing some of the
> tools needed for Harmony SDK.
> I am particularly interested in the jdb tool development.
> 
> I am searching for a framework implementation that can allow me to connect
> to the VM to be debugged
> from a debugger process. Do we have this in place or are we required to
> build up the debugging architecture
> in order to proceed? Please give me some pointers so that I can do a source
> code search in the right places.
> 
jpda test framework maybe what you want, you can refer to [1]
It's not a debugger architecture, just implements the most jdwp commands 
and support connect to vm with socket. Reading some jpda test cases 
maybe a easy way to understand how it works.

[1] 
https://svn.apache.org/repos/asf/harmony/enhanced/jdktools/branches/java6/modules/jpda/src/test/java/org/apache/harmony/jpda/tests/framework

-- 
Best Regards,
Regis.

Re: Google summer of code 2009 - Tools project

Posted by Manju Vijayakumar <ma...@gmail.com>.
Ahh! Got it. I am sorry, for some strange reason the "jpda" folder did not
extract right on my machine.

Thanks,
Manju

On Tue, Mar 17, 2009 at 11:30 PM, Manju Vijayakumar <ma...@gmail.com>wrote:

> Hi,
>
> I am interested in putting together a proposal for developing some of the
> tools needed for Harmony SDK.
> I am particularly interested in the jdb tool development.
>
> I am searching for a framework implementation that can allow me to connect
> to the VM to be debugged
> from a debugger process. Do we have this in place or are we required to
> build up the debugging architecture
> in order to proceed? Please give me some pointers so that I can do a source
> code search in the right places.
>
> --
> Thanks,
> Manju Vijayakumar
> Masters Student, Computer Science
> Texas A&M University
> College Station, TX
>
>


-- 
Thanks,
Manju Vijayakumar
Masters Student, Computer Science
Texas A&M University
College Station, TX

Re: Google summer of code 2009 - Tools project

Posted by Oliver Deakin <ol...@googlemail.com>.
Hi Manju,

Welcome to the project! Great to hear you're interested in jdb.

Yes, as you have noted in your other mail, we have an implementation of 
jdwp under the jpda source folder. This is a native code implementation 
of the jdwp standard, and covers most of it's features. We also use the 
Eclipse JDI (Java Debugging Interface) to provide Java debugging hooks, 
which I believe is packaged up into our tools.jar at build time. I would 
personally recommend using JDI  to implement the debug functionality of 
jdb, as it provides a well spec'ed [1] Java API for you to use, will 
allow you to create platform portable Java code for the debugger and 
should also plug easily into our existing launcher (so creating a jdb 
executable should be very simple).

To begin with I would recommend looking at the JDI spec - it should 
provide everything you require API-wise (it's what Eclipse uses for 
debug :) ), and will be a good starting point for you to think about 
implementation of the tool.

Regards,
Oliver

[1] http://java.sun.com/javase/6/docs/technotes/guides/jpda/index.html


Manju Vijayakumar wrote:
> Hi,
>
> I am interested in putting together a proposal for developing some of the
> tools needed for Harmony SDK.
> I am particularly interested in the jdb tool development.
>
> I am searching for a framework implementation that can allow me to connect
> to the VM to be debugged
> from a debugger process. Do we have this in place or are we required to
> build up the debugging architecture
> in order to proceed? Please give me some pointers so that I can do a source
> code search in the right places.
>
>   

-- 
Oliver Deakin
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598. 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU