precise break from userland

This commit is contained in:
krakjoe 2013-11-11 14:38:11 +00:00
parent 34ae94ad9a
commit 97fda0eaf2

View File

@ -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);
}
} /* }}} */