harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Gong (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-6560) Problem encountered during the implementation of JDB
Date Sat, 26 Jun 2010 15:39:49 GMT
Problem encountered during the implementation of JDB
----------------------------------------------------

                 Key: HARMONY-6560
                 URL: https://issues.apache.org/jira/browse/HARMONY-6560
             Project: Harmony
          Issue Type: Improvement
          Components: JDK
         Environment: windows, running in eclipse and command line
            Reporter: Daniel Gong


I encountered the problem when I tried to learn and run a JDI sample to help myself get familiar
with the JDI library.

The sample is originally written by Daven and published in http://www.ibm.com/developerworks/cn/java/j-lo-jpda4/index.html.
It runs well with Sun's JDI implementation but fails with Eclipse's JDI implementation.

With Sun's JDI, the result is:
=====================================================
VM started
Class org.apache.harmony.jdb.HelloWorld is already prepared
Reach line 10 of org.apache.harmony.jdb.HelloWorld
The local variable str at line 10 is Hello world! of java.lang.String
=====================================================

With Eclipse's JDI, the result is:
=====================================================
VM started
=====================================================
After the first line printed out, the program seems to be blocked forever.

The jars that I used to run the sample with Eclipse's JDI are:
=====================================================
jdi.jar
jdimodel.jar
org.eclipse.core.resources_3.6.0.v20100526-0737.jar
org.eclipse.equinox.common_3.6.0.v20100503.jar
org.eclipse.core.runtime_3.6.0.v20100505.jar
org.eclipse.debug.core_3.6.0.v20100519.jar
org.eclipse.osgi_3.6.0.v20100517.jar
=====================================================
I've asked about the problem in the Eclipse JDT mail list and a guy named Darin Wright, who
seems to be an employee of IBM Canada, tell me that these jars are required to use Eclipse
JDI.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message