From: Bob Weinand Date: Thu, 23 Oct 2014 10:38:35 +0000 (+0200) Subject: Fixed frame numbering in xml output X-Git-Tag: php-5.6.3RC1~51^2~12 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=504448bce3e76a559d5fb15395db92fb0a15c490;p=php Fixed frame numbering in xml output --- diff --git a/phpdbg_frame.c b/phpdbg_frame.c index 8baaf77190..df304e3541 100644 --- a/phpdbg_frame.c +++ b/phpdbg_frame.c @@ -225,10 +225,11 @@ void phpdbg_dump_backtrace(size_t num TSRMLS_DC) /* {{{ */ } if (user_defined == SUCCESS) { - phpdbg_out("frame #%d: ", i++); + phpdbg_out("frame #%d: ", i); phpdbg_xml(" "); phpdbg_xml("