Re: generators & php tools
| From: | Pierre Joye | Date: | Thu, 04 Oct 2012 05:52:59 +0000 |
| Subject: | Re: generators & php tools | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-63257@lists.php.net to get a copy of this message | ||
Adding Zeev, Derick and Dmitry in case they miss this post.
On Oct 1, 2012 6:21 AM, "Stas Malyshev" <smalyshev@sugarcrm.com> 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
>
>