com php-src: show conditionals: phpdbg_prompt.c tutorials /show-conditionals.png

From: Date: Wed, 13 Nov 2013 14:50:13 +0000
Subject: com php-src: show conditionals: phpdbg_prompt.c tutorials /show-conditionals.png
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-75005@lists.php.net to get a copy of this message
Commit: f6d45107b23c737fae01b71d30aff84716666124 Author: krakjoe <joe.watkins@live.co.uk> Wed, 13 Nov 2013 14:50:13 +0000 Parents: 072622e799cb5b8632a3933095481b0c3d10f4e7 Branches: PHP-5.6 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=f6d45107b23c737fae01b71d30aff84716666124 Log: show conditionals Changed paths: M phpdbg_prompt.c A tutorials/show-conditionals.png Diff: diff --git a/phpdbg_prompt.c b/phpdbg_prompt.c index d4af165..a3d95d4 100644 --- a/phpdbg_prompt.c +++ b/phpdbg_prompt.c @@ -698,12 +698,13 @@ zend_vm_enter: }\ } while(!(PHPDBG_G(flags) & PHPDBG_IS_QUITTING)) - phpdbg_print_opline( - execute_data, 0 TSRMLS_CC); - /* allow conditional breakpoints to access the vm uninterrupted */ if (!(PHPDBG_G(flags) & PHPDBG_IN_COND_BP)) { + /* not while in conditionals */ + phpdbg_print_opline( + execute_data, 0 TSRMLS_CC); + /* conditions cannot be executed by eval()'d code */ if (!(PHPDBG_G(flags) & PHPDBG_IN_EVAL) && (PHPDBG_G(flags) & PHPDBG_HAS_COND_BP) diff --git a/tutorials/show-conditionals.png b/tutorials/show-conditionals.png new file mode 100644 index 0000000..1decbcc Binary files /dev/null and b/tutorials/show-conditionals.png differ

« previous php.cvs (#75005) next »