diff options
author | Bob Weinand <bobwei9@hotmail.com> | 2014-10-24 12:55:44 +0200 |
---|---|---|
committer | Bob Weinand <bobwei9@hotmail.com> | 2014-10-24 12:55:44 +0200 |
commit | 9ce03bc7da95a5448bd478f6f538fe75629bf57c (patch) | |
tree | a2226931c3c2c142d5b1f5b40341f0aa397c4a6a /phpdbg_bp.c | |
parent | 56b3eda3772b0e538ccbe6d4d04a0f6cc897b7a2 (diff) | |
download | php-git-9ce03bc7da95a5448bd478f6f538fe75629bf57c.tar.gz |
Fix output to wrong function
Diffstat (limited to 'phpdbg_bp.c')
-rw-r--r-- | phpdbg_bp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/phpdbg_bp.c b/phpdbg_bp.c index 26e6ee2971..81674a0daf 100644 --- a/phpdbg_bp.c +++ b/phpdbg_bp.c @@ -1414,10 +1414,10 @@ PHPDBG_API void phpdbg_print_breakpoints(zend_ulong type TSRMLS_DC) /* {{{ */ case PHPDBG_BREAK_METHOD_OPLINE: case PHPDBG_BREAK_FUNCTION_OPLINE: case PHPDBG_BREAK_FILE_OPLINE: - phpdbg_out("opline", "id=\"%d\" num=\"%#lx\" type=\"%s\" disabled=\"%s\"", "#%d\t\t%#lx\t\t(%s breakpoint)%s", brake->id, brake->opline, - brake->type == PHPDBG_BREAK_METHOD_OPLINE?"method": - brake->type == PHPDBG_BREAK_FUNCTION_OPLINE?"function": - brake->type == PHPDBG_BREAK_FILE_OPLINE?"file": + phpdbg_writeln("opline", "id=\"%d\" num=\"%#lx\" type=\"%s\" disabled=\"%s\"", "#%d\t\t%#lx\t\t(%s breakpoint)%s", brake->id, brake->opline, + brake->type == PHPDBG_BREAK_METHOD_OPLINE ? "method" : + brake->type == PHPDBG_BREAK_FUNCTION_OPLINE ? "function" : + brake->type == PHPDBG_BREAK_FILE_OPLINE ? "file" : "--- error ---", ((phpdbg_breakbase_t*)brake)->disabled ? " [disabled]" : ""); break; |