Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 85984 invoked from network); 9 Apr 2009 02:15:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Apr 2009 02:15:30 -0000 Received: (qmail 73856 invoked by uid 500); 9 Apr 2009 02:15:30 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 73797 invoked by uid 500); 9 Apr 2009 02:15:29 -0000 Mailing-List: contact dev-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 dev@harmony.apache.org Received: (qmail 73786 invoked by uid 99); 9 Apr 2009 02:15:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Apr 2009 02:15:29 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of manju.bits@gmail.com designates 74.125.46.155 as permitted sender) Received: from [74.125.46.155] (HELO yw-out-1718.google.com) (74.125.46.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Apr 2009 02:15:19 +0000 Received: by yw-out-1718.google.com with SMTP id 6so325080ywa.0 for ; Wed, 08 Apr 2009 19:14:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=tFzo9JFFqZFZyP9Em1MQvW59NeaX3fkn0p8Oqw8Lq60=; b=cpYCFjxRUPrJW2C90IUabF0pI5dzkxdJ2C82dOy5fVbiD3qfR5ULH5FvXisvb5bEKd 6QPVRhiHiMgGwvk22LVAeojb1vjPDiRJIdVOiSNMXNkifecoJjCMwkeoYghW/tFvIZL+ 7E/9QMBh//D2/F1TdbzqLk56MXsOJHXg9wcIA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=W5A5+FfajQbuNUZBIoF8V52Fad6s0c9UdjpUwMTwX1UbTA9ycokEh81QtulHQ1x5u0 eoB3w6ZJ3USzSBbHz+kuCB4iuK4SdVQarrxwzPPIO2Dx+jxJn2Ybijoz6IVU4saZru1l xw8C3hj96Cxr76cSerzVW5RRFJsRmN8vxK2ek= MIME-Version: 1.0 Received: by 10.101.69.6 with SMTP id w6mr4555814ank.8.1239243298431; Wed, 08 Apr 2009 19:14:58 -0700 (PDT) In-Reply-To: <49D9D7CE.6010309@googlemail.com> References: <49D9D7CE.6010309@googlemail.com> Date: Wed, 8 Apr 2009 21:14:58 -0500 Message-ID: Subject: Re: [Gsoc] jdb project From: Manju Vijayakumar To: dev@harmony.apache.org Content-Type: multipart/alternative; boundary=0016368e21eb97e205046715d076 X-Virus-Checked: Checked by ClamAV on apache.org --0016368e21eb97e205046715d076 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Thanks Oliver. I tried building and I get an error ("nmake.exe file not found") Here is the trace: ... ... clean-native: [echo] Cleaning JPDA natives [echo] Making "clean" in C:\Users\ChanduS\workspace\Harmony\working_jdktool s\modules\jpda\src\main\native/jdwp/windows/agent BUILD FAILED C:\Users\ChanduS\workspace\Harmony\build.xml:526: The following error occurred w hile executing this line: C:\Users\ChanduS\workspace\Harmony\working_jdktools\build.xml:130: The following error occurred while executing this line: C:\Users\ChanduS\workspace\Harmony\working_jdktools\make\build-native.xml:46: Th e following error occurred while executing this line: C:\Users\ChanduS\workspace\Harmony\common_resources\make\properties.xml:243: The following error occurred while executing this line: C:\Users\ChanduS\workspace\Harmony\working_jdktools\modules\jpda\build.xml:180: The following error occurred while executing this line: C:\Users\ChanduS\workspace\Harmony\common_resources\make\properties.xml:266: Exe cute failed: java.io.IOException: Cannot run program "nmake.exe" (in directory " C:\Users\ChanduS\workspace\Harmony\working_jdktools\modules\jpda\src\main\native \jdwp\windows\agent"): CreateProcess error=2, The system cannot find the file sp ecified Total time: 28 minutes 22 seconds I followed the steps on this page: http://harmony.apache.org/quickhelp_contributors.html Can someone please let me know how to resolve this? I looked at the archives to see if anyone had a similar problem and found threads like this : https://issues.apache.org/jira/browse/HARMONY-5557 I am not sure if it is even related to the problem I am facing. Thanks, Manju On Mon, Apr 6, 2009 at 5:22 AM, Oliver Deakin wrote: > Hi Manju - Ive added a few comments inline... > > Manju Vijayakumar wrote: > >> Hi all, >> >> I made some minor improvements to my proposal on gsoc. >> Here is the link: >> >> http://socghop.appspot.com/student_proposal/show/google/gsoc2009/manjuvijayakumar/t123808458043 >> >> So what do you think of the proposal overall? Your comments could really >> help me spruce up my proposal! Also, I was discussing with Oliver about >> some >> of the things below. So the questions are: >> >> Is the most recent Sun jdb implementation based on JDK 1.3 and earlier? >> >> Because, if that is the case, then there can be several improvements >> (apart >> from the ones in my proposal) to the existing sun jdb that can be >> incorporated in the Harmony jdb and make it a superior version. >> >> - Like say the Hot Swap feature? (fix and continue running the debugging >> OR >> letting the server continue without restarting) >> >> >> > > This could be a very cool additional feature, although it would require > some serious thought as to how to present the ability to edit and hot swap > code within the command line tool. I think this is an ambitious extension, > but could be a valuable one. > > - add a watchpoint? (can we stop at a point while comparing (==, <, > etc) >> value of a variable) >> >> > Another useful feature - it could also allow you to simple watch variable > values e.g. display the new value if a particular variable is changed. > > - does jdb show chained exceptions? (each exception in chain is displayed) >> >> - show a hierarchy of classes loaded into target jvm? >> >> - view current threads or individual stack frames and change the context >> of >> the debugger to a particular thread/stack frame? >> >> >> > > I believe this is standard in jdb and exists in the current implementation > already. For example, "thread " changes to a particular thread, > and the "up" and "down" commands move up and down stack frames. > > I might be shooting in the dark, because I am yet to verify if the latest >> jdb in Java 6 supports these..I should probably run all the options of Sun >> jdb and see. >> >> > I think that's a good idea! Spending some time familiarising yourself with > the existing jdb tool and understanding it's current function would be a > good starting point. It will give you an idea of exactly what you need to > achieve, and also indicate where extensions can be made. > > Also, if you have not done so already, I would recommend checking out the > Harmony code and building it so you can start digging around in the source > and getting a feel for the project. [1] should help get you started. > > Before you can contribute to the project, you need to submit an ICLA ([2] > under Contributor License Agreements - should be emailed to the ASF > secretary only) and ACQ ([3] should be emailed to the Harmony PMC list [4] > only). > > What I am also unsure is, if they are all feasible implementations within >> the scope/period of Gsoc. May be we can keep some of the proposed >> extensions >> optional? >> >> >> > > I think your project needs to have a set of core features plus some > extensions which you expect to get done within the time allowed, but I don't > see why you couldn't have some additional extensions which you can implement > if there is time. However, I think having a solid plan for the core features > and extensions that you follow closely is very important, and additional > extensions should only be attempted if there core has been well completed. > > Regards, > Oliver > > [1] http://harmony.apache.org/quickhelp_contributors.html > [2] http://www.apache.org/licenses/ > [3] http://harmony.apache.org/auth_cont_quest.html > [4] http://harmony.apache.org/mailing.html > > -- > 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 > > -- Thanks, Manju Vijayakumar Masters Student, Computer Science Texas A&M University College Station, TX --0016368e21eb97e205046715d076--