com php-src: Fixed frame numbering in xml output: phpdbg_fram e.c

From: Date: Thu, 23 Oct 2014 10:38:35 +0000
Subject: com php-src: Fixed frame numbering in xml output: phpdbg_fram e.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-82510@lists.php.net to get a copy of this message
Commit: 504448bce3e76a559d5fb15395db92fb0a15c490 Author: Bob Weinand <bobwei9@hotmail.com> Thu, 23 Oct 2014 12:38:35 +0200 Parents: d61a12799cb50974cc6beac7eb61adfa3ceaae73 Branches: PHP-5.6 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=504448bce3e76a559d5fb15395db92fb0a15c490 Log: Fixed frame numbering in xml output Changed paths: M phpdbg_frame.c Diff: diff --git a/phpdbg_frame.c b/phpdbg_frame.c index 8baaf77..df304e3 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("<frame %r id=\"%d\" file=\"%s\" line=\"%d\"", i, Z_STRVAL_PP(file), Z_LVAL_PP(line)); phpdbg_dump_prototype(tmp TSRMLS_CC); phpdbg_out(" at %s:%ld\n", Z_STRVAL_PP(file), Z_LVAL_PP(line)); + i++; } else { phpdbg_out(" => "); phpdbg_xml("<frame %r id=\"%d\" internal=\"internal\"", i);

« previous php.cvs (#82510) next »