Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 90498 invoked from network); 26 Jun 2010 15:40:14 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 26 Jun 2010 15:40:14 -0000 Received: (qmail 4649 invoked by uid 500); 26 Jun 2010 15:40:14 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 4574 invoked by uid 500); 26 Jun 2010 15:40:13 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 4567 invoked by uid 99); 26 Jun 2010 15:40:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jun 2010 15:40:13 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jun 2010 15:40:11 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o5QFdnkO028591 for ; Sat, 26 Jun 2010 15:39:50 GMT Message-ID: <29840617.74671277566789802.JavaMail.jira@thor> Date: Sat, 26 Jun 2010 11:39:49 -0400 (EDT) From: "Daniel Gong (JIRA)" To: commits@harmony.apache.org Subject: [jira] Created: (HARMONY-6560) Problem encountered during the implementation of JDB MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org 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.