# Debuggers support for generators

- Thread: https://externals.io/message/63992
- Original archive: https://news-web.php.net/php.internals/63992
- Started by Dmitry Stogov on 2012-11-20T13:07:54+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #63992 — Dmitry Stogov — 2012-11-20T13:07:54+00:00

URL: https://externals.io/message/63992#63992

Hi Derick,

The attached patch must enable generators support in XDebug.

XDebug would need override zend_execute_ex (instead of zend_execute).
EG(current_execute_data) is going to be different there. You can use 
EG(current_execute_data)->prev_execute_data instead.

I would appreciate, if you test the patch and tell me if XDebug still 
has any PHP-5.5 related problems.

Thanks. Dmitry.
