mirror of
https://github.com/php/php-src.git
synced 2024-09-23 02:47:26 +00:00
fix list not working when exec is set but not executing
This commit is contained in:
parent
17cc942e7c
commit
a0151e91a5
@ -33,7 +33,7 @@ ZEND_EXTERN_MODULE_GLOBALS(phpdbg);
|
||||
|
||||
PHPDBG_LIST(lines) /* {{{ */
|
||||
{
|
||||
if (!PHPDBG_G(exec) || !zend_is_executing(TSRMLS_C)) {
|
||||
if (!PHPDBG_G(exec) && !zend_is_executing(TSRMLS_C)) {
|
||||
phpdbg_error("Not executing, and execution context not set");
|
||||
return SUCCESS;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user