harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gregory Shimansky <gshiman...@apache.org>
Subject Re: [JDKTools][JDWP]Let's start JDWP java6 updating
Date Fri, 22 Feb 2008 12:39:49 GMT
Oliver Deakin said the following on 22.02.2008 12:35:
> Hi Jimmy,
> 
> This is a great idea, but I have a feeling there may still need to be 
> some work done on the current version. I have noticed the following:
> 
> 1) You cannot launch Harmony with
> java -agentlib:jdwp=transport=dt_socket,server=n,address=8888
> 
> without specifying a class at the end of the command line. This is not a 
> major issue, just a difference to the RI. If you run the above command 
> line, the launcher short circuits to the launcher command line help and 
> exits.*
> *
> 2) If I try to launch two Harmony VMs using the following command lines:
> java -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=8888 
> HelloWorld
> java -agentlib:jdwp=transport=dt_socket,server=n,address=8888 HelloWorld

I am not sure I understand the intention to run these two command lines. 
To connect to a JDWP agent you need a real JDWP client, e.g. Eclipse or 
jdb. AFAIU JDWP agent cannot talk to itself over JDWP protocol.

-- 
Gregory


Mime
View raw message