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 get lots of error output.
Server side:
INFO: [TransportManager.cpp:204] transport is listening on 8888
ERROR: [CommandDispatcher.cpp:482] command not implemented
EVENT/COMPOSITE[64/100]
ERROR: [CommandDispatcher.cpp:482] command not implemented
EVENT/***UNKNOWN COMMAND***[64/99]
ERROR: [CommandDispatcher.cpp:482] command not implemented
EVENT/***UNKNOWN COMMAND***[64/99]
ERROR: [CommandDispatcher.cpp:482] command not implemented
EVENT/***UNKNOWN COMMAND***[64/99]
ERROR: [CommandDispatcher.cpp:482] command not implemented
EVENT/***UNKNOWN COMMAND***[64/99]
ERROR: [CommandDispatcher.cpp:482] command not implemented
EVENT/***UNKNOWN COMMAND***[64/99]
ERROR: [CommandDispatcher.cpp:482] command not implemented
EVENT/***UNKNOWN COMMAND***[64/99]
(repeats until I kill the process)
Client side:
ERROR: [CommandDispatcher.cpp:482] command not implemented
EVENT/COMPOSITE[64/100]
ERROR: [CommandDispatcher.cpp:482] command not implemented
EVENT/***UNKNOWN COMMAND***[64/99]
ERROR: [CommandDispatcher.cpp:482] command not implemented
EVENT/***UNKNOWN COMMAND***[64/99]
ERROR: [CommandDispatcher.cpp:482] command not implemented
EVENT/***UNKNOWN COMMAND***[64/99]
(repeats until I kill the process)
Has anyone else seen this?
Regards,
Oliver
Jimmy,Jing Lv wrote:
Hi All,
As discussed before, we can start JDWP updating and improving.
IMHO, let's start from the easiest way, updating to java 6.
My proposal is:
1. Setup a branch of JDKTools for java6 in harmony repository
2. add/improve JDWP functions into java6 level. As the main updating
for java6 JDWP is about JDWP-protocol, it seems no much effect on VM
and debugger.
As M5 freeze will be done at the end of this week, may start
from next week on. Any comments/suggestions/Volunteers? Thanks!
--
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