You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Daniel Gong (JIRA)" <ji...@apache.org> on 2010/06/26 17:44:49 UTC

[jira] Updated: (HARMONY-6560) Problem encountered during the implementation of JDB

     [ https://issues.apache.org/jira/browse/HARMONY-6560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Gong updated HARMONY-6560:
---------------------------------

    Attachment: sample.zip

This is the source of the sample.

> 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
>         Attachments: sample.zip
>
>
> 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.