Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:63257 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 33947 invoked from network); 4 Oct 2012 05:53:03 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Oct 2012 05:53:03 -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.223.170 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.223.170 mail-ie0-f170.google.com Received: from [209.85.223.170] ([209.85.223.170:39519] helo=mail-ie0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D7/A9-03751-D342D605 for ; Thu, 04 Oct 2012 01:53:02 -0400 Received: by mail-ie0-f170.google.com with SMTP id c12so271464ieb.29 for ; Wed, 03 Oct 2012 22:52:59 -0700 (PDT) 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=/N/Qxc70lXyIj8P9GgF7f0fTkt8A9N2it7X/hcho38k=; b=XHY+joWcEkXBN6nN4o+pOEquI+Ju3XFlfTFa6AGwUwmx9lzkEMezEr7WHoC1Njj5VJ Ypyie0GRWdIKlvKP6lHVGjbsuimOL6b0p18v5EUOmB2YPpmKKQR9XR1UDOcqIOKGkfHK dYwF8kYnHcTe2n3p0aQKz60J6m0rjA3ek6sxQdNBcKFTA77CQW7EDCQFpOcq2k08ytes lyKczQ9NUCImxXrgkuSKpcEVCDYnYdWCrQ3F5u3GmUkxhiNlOLm3wJkMF6hOLCwsnLTR uj7HsFCgy61+KIRGKHbSQotQcLUicyHQjrIhw0W3ijMv+Z9GEomlnMF6DsNJsIkU9f96 X20g== MIME-Version: 1.0 Received: by 10.50.37.196 with SMTP id a4mr14538643igk.27.1349329979112; Wed, 03 Oct 2012 22:52:59 -0700 (PDT) Received: by 10.64.33.143 with HTTP; Wed, 3 Oct 2012 22:52:59 -0700 (PDT) Received: by 10.64.33.143 with HTTP; Wed, 3 Oct 2012 22:52:59 -0700 (PDT) In-Reply-To: <50691A4F.70702@sugarcrm.com> References: <50691A4F.70702@sugarcrm.com> Date: Thu, 4 Oct 2012 07:52:59 +0200 Message-ID: To: Stas Malyshev Cc: PHP internals , Nikita Popov , Derick Rethans , Zeev Suraski Content-Type: multipart/alternative; boundary=f46d0447976916fcf104cb355ec5 Subject: Re: [PHP-DEV] generators & php tools From: pierre.php@gmail.com (Pierre Joye) --f46d0447976916fcf104cb355ec5 Content-Type: text/plain; charset=ISO-8859-1 Adding Zeev, Derick and Dmitry in case they miss this post. On Oct 1, 2012 6:21 AM, "Stas Malyshev" wrote: > Hi! > > I was looking into generators topic and I couldn't find answer to this > question: how generators are supposed to interact with PHP tools, such > as debuggers, profilers, etc.? Specifically, how calls to generator are > handled? Usually, the tool overrides zend_execute and > zend_execute_internal and every function call goes through there. But > generator does not use these - it uses execute_ex instead. So can > generator be debugged/profiled? What happens if I say "step out" inside > generator - would that work? > -- > Stanislav Malyshev, Software Architect > SugarCRM: http://www.sugarcrm.com/ > (408)454-6900 ext. 227 > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --f46d0447976916fcf104cb355ec5--