mirror of
https://github.com/php/php-src.git
synced 2025-08-19 17:04:47 +02:00
correction to print stack
This commit is contained in:
parent
af20f1a474
commit
a37de13a20
1 changed files with 5 additions and 8 deletions
|
@ -111,15 +111,12 @@ PHPDBG_PRINT(exec) /* {{{ */
|
||||||
|
|
||||||
PHPDBG_PRINT(stack) /* {{{ */
|
PHPDBG_PRINT(stack) /* {{{ */
|
||||||
{
|
{
|
||||||
if (EG(in_execution)) {
|
if (EG(in_execution) && EG(active_op_array)) {
|
||||||
if (PHPDBG_G(ops)) {
|
phpdbg_notice(
|
||||||
/* @TODO(anyone) make this better */
|
"Stack in %s", zend_get_executed_filename(TSRMLS_C));
|
||||||
phpdbg_notice(
|
|
||||||
"Stack in %s", zend_get_executed_filename(TSRMLS_C));
|
|
||||||
|
|
||||||
phpdbg_print_function_helper(
|
phpdbg_print_function_helper(
|
||||||
(zend_function*) EG(active_op_array) TSRMLS_CC);
|
(zend_function*) EG(active_op_array) TSRMLS_CC);
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
phpdbg_error("Not Executing!");
|
phpdbg_error("Not Executing!");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue