Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:70174 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 20948 invoked from network); 16 Nov 2013 15:33:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Nov 2013 15:33:16 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.45 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.215.45 mail-la0-f45.google.com Received: from [209.85.215.45] ([209.85.215.45:54352] helo=mail-la0-f45.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A1/10-19683-93097825 for ; Sat, 16 Nov 2013 10:33:15 -0500 Received: by mail-la0-f45.google.com with SMTP id eh20so3628104lab.4 for ; Sat, 16 Nov 2013 07:33:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=8XWeR+8hVHaatxf/a4V+E/XfRbP8lBBQJv5iD1xbE/o=; b=fetqU4QpWNJyetSEq7b/cN06NN6MdEk4HZt6oWm4QhvtDUOJfb766flO9c7v96XZlR 1yB0YnpTH/CRM6PAofnYGE3Kl+IKjTITSOQ1jDvcEzjf00bGSt5eys+tdob2HJDcgCwg XkO4w9S2oYjn6XM6MtLtHxA5w2FXdZu+TFBoVcYphfgb4FQUuUgcFy/h175x1MyEmPg4 75rrzkpp0HcZPtA3+IaK+zpN9y+tlnXLIDtxUShahOHLOJucWle5VDS7G05U98ZrzA09 wjhsu5eQlfIo+yg9lgMehZ3bNpWfAjIAW9ujbhb3jgf6ZydFTqfRNG0kpTD/VlPXz+fN IVhA== MIME-Version: 1.0 X-Received: by 10.112.167.3 with SMTP id zk3mr6767416lbb.23.1384615990084; Sat, 16 Nov 2013 07:33:10 -0800 (PST) Received: by 10.112.157.33 with HTTP; Sat, 16 Nov 2013 07:33:10 -0800 (PST) Received: by 10.112.157.33 with HTTP; Sat, 16 Nov 2013 07:33:10 -0800 (PST) In-Reply-To: <528734A3.5070001@php.net> References: <5A.40.45833.7E3F3825@pb1.pair.com> <528734A3.5070001@php.net> Date: Sat, 16 Nov 2013 16:33:10 +0100 Message-ID: To: Joe Watkins Cc: Andi Gutmans , PHP internals Content-Type: multipart/alternative; boundary=001a11c264a43d48b404eb4d081f Subject: Re: [PHP-DEV] patch for a debugger in the making ... From: pierre.php@gmail.com (Pierre Joye) --001a11c264a43d48b404eb4d081f Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Joe, On Nov 16, 2013 10:02 AM, "Joe Watkins" wrote: > > On 11/16/2013 03:01 AM, Andi Gutmans wrote: >> >> Hi Joe, >> >> Congrats on launching this debugger interface. >> I=E2=80=99ve actually been thinking for some time that it=E2=80=99d be i= ncredibly useful to have something like this in the core distribution of PHP. >> >> Is this something that would be interesting for you to work towards? What do others think? >> >> Andi >> >> P.S. - It wasn=E2=80=99t clear to me what the =E2=80=9Cquiet=E2=80=9D fl= ag does but I would air on the side of not showing opcodes by default but have an option where they are shown, and in that case, potentially show even more detail [that can easily be contributed. >> >> >> On Nov 13, 2013, at 1:49 PM, Joe Watkins wrote: >> >>> Evening All, >>> >>> A couple of us are working on a debugging platform, in order to deploy on windows we require a few more functions to be declared ZEND_API: >>> >>> https://gist.github.com/krakjoe/7456833 >>> >>> If it's not going to cause any disruption, could we merge that into master please ?? >>> >>> Cheers >>> Joe >>> >>> -- >>> PHP Internals - PHP Runtime Development Mailing List >>> To unsubscribe, visit: http://www.php.net/unsub.php >>> >> > > Morning Andi, > > Thanks :) > > Pending the opinion of everyone else; but YES, definitely interested in working toward that ... > > We do indeed air on the side of caution with quietness enabled by default. The only time quietness is ignored is while stepping, when it's useful to show the oplog regardless. We do intend for the oplog to be a decent representation of the opline, I've had some luck representing op arrays in a human understandable way while working on explain(): > > http://explain.so/explain.php?uri=3Dhttps://raw.github.com/ircmaxell/PHPPHP= /master/php.php > > explain() has a problem in copying [printing] (some) literal constants that I've not yet been able to trace, so didn't want to introduce the same bug here ... > > No RFC exists, I'd be happy to create one at some point if we're discussing inclusion, and it's necessary for one to exist ... Awesome work. There is definitively a need for such tool. One thought, I wonder how hard it is to integrate it in an IDE, if there are specials featured which could make ide integrations smoother or nicer. I would love to have it ad soon as possible on the core. However I'd to be extremely careful for the 1st step. It would be very good to define a set of must have features, make them rock solid, bundle the new sapi, and then continue the development, as usual. The reason to choose this way is to avoid what happened with opcache and 5.5, delayed final release but still unstable opcache. Thanks again for your great work! Cheers, Pierre --001a11c264a43d48b404eb4d081f--