summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg_help.c
diff options
context:
space:
mode:
authorBob Weinand <bobwei9@hotmail.com>2015-04-21 14:22:15 +0200
committerBob Weinand <bobwei9@hotmail.com>2015-04-21 19:42:23 +0200
commit05f896eefd0f657c5e868b1fb62d334966b7640e (patch)
treea7bc66a30e50d39975fb860200681dea0c1d77f1 /sapi/phpdbg/phpdbg_help.c
parentd2607a0110fae2ec403ac7317d064ab74aa40e09 (diff)
downloadphp-git-05f896eefd0f657c5e868b1fb62d334966b7640e.tar.gz
Add next command docs
Diffstat (limited to 'sapi/phpdbg/phpdbg_help.c')
-rw-r--r--sapi/phpdbg/phpdbg_help.c17
1 files changed, 15 insertions, 2 deletions
diff --git a/sapi/phpdbg/phpdbg_help.c b/sapi/phpdbg/phpdbg_help.c
index 6b10551192..c512bb3ff3 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