From 97fda0eaf29310df1224e2eb826eb1d41a076e0e Mon Sep 17 00:00:00 2001 From: krakjoe Date: Mon, 11 Nov 2013 14:38:11 +0000 Subject: [PATCH] precise break from userland --- phpdbg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpdbg.c b/phpdbg.c index 6ed4e654df..f686c1ac4d 100644 --- a/phpdbg.c +++ b/phpdbg.c @@ -96,9 +96,9 @@ static PHP_RSHUTDOWN_FUNCTION(phpdbg) /* {{{ */ static PHP_FUNCTION(phpdbg_break) /* {{{ */ { - if (EG(active_op_array)) { + if (EG(current_execute_data)) { phpdbg_set_breakpoint_opline_ex( - EG(active_op_array)->opcodes TSRMLS_CC); + EG(current_execute_data)->opline TSRMLS_CC); } } /* }}} */ -- 2.50.1