com php-src: Add next command docs: sapi/phpdbg/phpdbg_help .c
| From: | Bob Weinand | Date: | Tue, 21 Apr 2015 17:42:23 +0000 |
| Subject: | com php-src: Add next command docs: sapi/phpdbg/phpdbg_help .c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-86420@lists.php.net to get a copy of this message | ||
Commit: 05f896eefd0f657c5e868b1fb62d334966b7640e
Author: Bob Weinand <bobwei9@hotmail.com> Tue, 21 Apr 2015 14:22:15 +0200
Parents: d2607a0110fae2ec403ac7317d064ab74aa40e09
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=05f896eefd0f657c5e868b1fb62d334966b7640e
Log:
Add next command docs
Changed paths:
M sapi/phpdbg/phpdbg_help.c
Diff:
diff --git a/sapi/phpdbg/phpdbg_help.c b/sapi/phpdbg/phpdbg_help.c
index 6b10551..c512bb3 100644
--- a/sapi/phpdbg/phpdbg_help.c
+++ b/sapi/phpdbg/phpdbg_help.c
@@ -342,6 +342,7 @@ phpdbg_help_text_t phpdbg_help_text[] = {
" **step** continue execution until other line is reached" CR
" **continue** continue execution" CR
" **until** continue execution up to the given location" CR
+" **next** continue execution up to the given location and halt on the first line after
it" CR
" **finish** continue up to end of the current execution frame" CR
" **leave** continue up to end of the current execution frame and halt after the calling
instruction" CR
" **break** set a breakpoint at the specified target" CR
@@ -901,10 +902,22 @@ phpdbg_help_text_t phpdbg_help_text[] = {
" $P s" CR
" Will continue and break again in the next encountered line" CR CR
},
+{"next",
+"The **next** command causes control to be passed back to the vm, continuing execution. Any
"
+"breakpoints that are encountered before the next source line will be skipped. Execution
will"
+"be stopped when that line is left." CR CR
+"Note when **step**ping is enabled, any opcode steps within the current line are also skipped.
"CR CR
+
+"Note that if the next line is **not** executed then **all** subsequent breakpoints will be
"
+"skipped. " CR CR
+
+"Note **next** will trigger a \"not executing\" error if not executing."
+
+},
{"until",
-"The **until** command causes control to be passed back to the vm, continuing execution. Any
"
-"breakpoints that are encountered before the next source line will be skipped. Execution
"
+"The **until** command causes control to be passed back to the vm, continuing execution. Any
"
+"breakpoints that are encountered before the next source line will be skipped. Execution
"
"will then continue until the next breakpoint or completion of the script" CR CR
"Note when **step**ping is enabled, any opcode steps within the current line are also skipped.
"CR CR