diff options
Diffstat (limited to 'phpdbg_prompt.c')
-rw-r--r-- | phpdbg_prompt.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/phpdbg_prompt.c b/phpdbg_prompt.c index 2e07c32174..e2603a00ed 100644 --- a/phpdbg_prompt.c +++ b/phpdbg_prompt.c @@ -424,7 +424,9 @@ int phpdbg_compile(TSRMLS_D) /* {{{ */ PHPDBG_COMMAND(step) /* {{{ */ { - PHPDBG_G(flags) |= PHPDBG_IS_STEPPING; + if (EG(in_execution)) { + PHPDBG_G(flags) |= PHPDBG_IS_STEPPING; + } return PHPDBG_NEXT; } /* }}} */ |