summaryrefslogtreecommitdiff
path: root/phpdbg_prompt.c
diff options
context:
space:
mode:
authorBob Weinand <bobwei9@hotmail.com>2014-04-20 20:20:59 +0200
committerBob Weinand <bobwei9@hotmail.com>2014-04-20 20:20:59 +0200
commit577c6ed0ce9983967622d8b7086dab0a4978a148 (patch)
treeda58e9b24cb10c8beee75297230c72e858e0b7cd /phpdbg_prompt.c
parent422dc49c0d02f8ff8903d42a91bf8a1316d62211 (diff)
parentf96feea00c112bc1bec3e7b677218f4b487d1152 (diff)
downloadphp-git-577c6ed0ce9983967622d8b7086dab0a4978a148.tar.gz
Fixed stepping
Diffstat (limited to 'phpdbg_prompt.c')
-rw-r--r--phpdbg_prompt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpdbg_prompt.c b/phpdbg_prompt.c
index fe2d7177ef..d93b55374e 100644
--- a/phpdbg_prompt.c
+++ b/phpdbg_prompt.c
@@ -1307,7 +1307,7 @@ zend_vm_enter:
phpdbg_print_opline_ex(
execute_data, &vars, 0 TSRMLS_CC);
- if (PHPDBG_G(flags) & PHPDBG_IS_STEPPING && execute_data->opline->lineno != PHPDBG_G(last_line)) {
+ if (PHPDBG_G(flags) & PHPDBG_IS_STEPPING && (PHPDBG_G(flags) & PHPDBG_STEP_OPCODE || execute_data->opline->lineno != PHPDBG_G(last_line))) {
PHPDBG_G(flags) &= ~PHPDBG_IS_STEPPING;
DO_INTERACTIVE();
}