Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 80797 invoked from network); 27 Feb 2009 08:54:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Feb 2009 08:54:07 -0000 Received: (qmail 19189 invoked by uid 500); 27 Feb 2009 08:54:05 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 19015 invoked by uid 500); 27 Feb 2009 08:54:04 -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 19003 invoked by uid 99); 27 Feb 2009 08:54:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 00:54:04 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of alexei.fedotov@gmail.com designates 64.233.182.185 as permitted sender) Received: from [64.233.182.185] (HELO nf-out-0910.google.com) (64.233.182.185) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 08:53:56 +0000 Received: by nf-out-0910.google.com with SMTP id 30so318480nfu.40 for ; Fri, 27 Feb 2009 00:53:36 -0800 (PST) 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 :content-transfer-encoding; bh=pMiQ3iU5sQv8/fGiyvIlp/DnTLnRYwZNr0L1O6m0s3c=; b=gqhLY88i79cY00iUZzkOJRlImXhYFj6BR60CKveIfUbT2dXmU9/9Ky1KyjdnDVPAQs bWQIcIrvTkhCVTM1eC3bxpOIcXKU6GvAOYf+/+UU1dYaHAg/o1AflwqX13nC+XpF4WDc mqskGyw8iy4dznmjVvDWf/SJNHPmP6FmIJZew= 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:content-transfer-encoding; b=Vj/6gvnYGr2ueIdqKM/FahoGT+1EAAP2hC1EebjG0LjkbzZ2ffaC0ZEAvfW229DE85 DU5BObelQY7Y+SvZS2G4BwKpu7k7tpEJNm5DaZ3lrIdYyzYBNaSarhOLe8J8vqpQJHlu CjoJL8j3SNxYNpA/8r5LgoQu0NWxQ3If7OiP8= MIME-Version: 1.0 Received: by 10.211.196.13 with SMTP id y13mr1792072ebp.79.1235724816494; Fri, 27 Feb 2009 00:53:36 -0800 (PST) In-Reply-To: References: <3b3f27c60902231101t7a563bd7y9531ba16446587e0@mail.gmail.com> <17c6771e0902231152t5129343cs8474509e87ae2027@mail.gmail.com> <3b3f27c60902232017w714d2f91l7b1bb85f57d28075@mail.gmail.com> <17c6771e0902260513g17883e6dsc710a8e4aee30387@mail.gmail.com> <200902261459.n1QExhxh003119@d12av01.megacenter.de.ibm.com> Date: Fri, 27 Feb 2009 11:53:36 +0300 Message-ID: Subject: Re: Google Summer of Code 2009 From: Alexei Fedotov To: dev@harmony.apache.org Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Mark, This is invaluable letter for promoting your task. Some points worth to be noted in the proposal, and especially the last paragraph. Last summer I tried to bring attention of a gifted student to our project, but he chose contributing to Ruby. :-) Let me elaborate a bit why the task is educating. It trains consistent spec reading skill, because as you've said jdb is very thin by itself. I have 30-year old programmers on board who invent their own protocols instead of programming ones from RFC because... it is boring to read the spec. Thanks for your detailed explanation. On Fri, Feb 27, 2009 at 11:39 AM, Mark Hindess wrote: > > In message , > Alexei Fedotov writes: >> >> Mark, >> Could you please elaborate a bit on adding value in jdb? All java >> programmers whom I know use IDE for debug. > > Perhaps I am unique. ;-) =9AI like using jdb because: > > =9A* it is a thinner layer than a typical IDE - while looking at JDWP > =9A =9Afrom Harmony JDWP I've often seen what looks to me like one single > =9A =9Astep actually be composed of several automatic step requests under > =9A =9Athe covers. =9AThis makes debugging JDWP quite a bit more difficul= t. > > =9A* it is easier to automate than an IDE > > I don't like jdb because: > > =9A* it isn't as easy to automate as it could be. =9AI'd like to have a > =9A =9Asynchronous mode to be able to do: > > =9A =9A( echo run ; echo stop at HelloWorld:10 ; echo step ; echo quit ) = | jdb ... > > =9A =9AThis doesn't work because input is processed asynchronously normal= ly - > =9A =9Afor obvious reasons. > > =9A* it doesn't support JSR-45 - I'd like to be able to debug jsp, > =9A =9Ajruby[0], jython, etc with jdb. > >> I still believe this is a good task because it is simple and educating. > > Agreed but I think there is scope to take it further if the student was > keen to do so. > > Regards, > =9AMark. > > [0] Actually you can debug jruby with jdb and eclipse simply by removing > the sourcedebugextension attribute from the class since the stratum line > mapping is trivial/1-to-1. > > > --=20 =F3 =D5=D7=C1=D6=C5=CE=C9=C5=CD, =E1=CC=C5=CB=D3=C5=CA =E6=C5=C4=CF=D4=CF=D7, http://people.apache.org/~aaf/