com php-src: - WS changes: phpdbg_help.c
| From: | Bob Weinand | Date: | Sun, 10 Nov 2013 16:16:52 +0000 |
| Subject: | com php-src: - WS changes: phpdbg_help.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-75204@lists.php.net to get a copy of this message | ||
Commit: 8532076c6465e73e7b437f43601c43a70560bf85
Author: Felipe Pena <felipensp@gmail.com> Sun, 10 Nov 2013 14:16:52 -0200
Parents: c060093acf5f1732938dc06eae0c76d39d375827
Branches: PHP-5.6
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=8532076c6465e73e7b437f43601c43a70560bf85
Log:
- WS changes
Changed paths:
M phpdbg_help.c
Diff:
diff --git a/phpdbg_help.c b/phpdbg_help.c
index 916764d..978f7ae 100644
--- a/phpdbg_help.c
+++ b/phpdbg_help..c
@@ -25,12 +25,13 @@
PHPDBG_HELP(exec) /* {{{ */
{
- printf("Will attempt execution, if compilation has not yet taken place, it occurs
now.\n");
- printf("The execution context must be set before execution can take place\n");
- return SUCCESS;
+ printf("Will attempt execution, if compilation has not yet taken place, it occurs
now.\n");
+ printf("The execution context must be set before execution can take place\n");
+ return SUCCESS;
} /* }}} */
-PHPDBG_HELP(step) { /* {{{ */
+PHPDBG_HELP(step) /* {{{ */
+{
printf("You can enable and disable stepping at any phpdbg prompt during
execution\n");
printf("For example:\n");
printf("\tphpdbg> stepping 1\n");
@@ -39,68 +40,68 @@ PHPDBG_HELP(step) { /* {{{ */
return SUCCESS;
} /* }}} */
-PHPDBG_HELP(next) { /* {{{ */
- printf("While stepping through execution, use the next command to step back into the vm
and execute the next opcode");
- return SUCCESS;
+PHPDBG_HELP(next) /* {{{ */
+{
+ printf("While stepping through execution, use the next command to step back into the vm and
execute the next opcode");
+ return SUCCESS;
} /* }}} */
PHPDBG_HELP(compile) /* {{{ */
{
- printf("Pre-compilation of the execution context provides the opportunity to inspect the
opcodes before they are executed\n");
- printf("The execution context must be set for compilation to succeed\n");
- printf("If errors occur during compilation they must be resolved before execution can take
place.\n");
- printf("You do not need to exit phpdbg to retry compilation\n");
- return SUCCESS;
+ printf("Pre-compilation of the execution context provides the opportunity to inspect the
opcodes before they are executed\n");
+ printf("The execution context must be set for compilation to succeed\n");
+ printf("If errors occur during compilation they must be resolved before execution can take
place.\n");
+ printf("You do not need to exit phpdbg to retry compilation\n");
+ return SUCCESS;
} /* }}} */
PHPDBG_HELP(print) /* {{{ */
{
- printf("By default, print will show information about the current execution
environment\n");
- printf("To show specific information pass an expression to print, for example:\n");
- printf("\tphpdbg> print opcodes[0]\n");
- printf("Will show the opline @ 0\n");
- printf("Available print commands:\n");
- printf("\tNone\n");
-
- return SUCCESS;
+ printf("By default, print will show information about the current execution
environment\n");
+ printf("To show specific information pass an expression to print, for example:\n");
+ printf("\tphpdbg> print opcodes[0]\n");
+ printf("Will show the opline @ 0\n");
+ printf("Available print commands:\n");
+ printf("\tNone\n");
+ return SUCCESS;
} /* }}} */
-PHPDBG_HELP(run) /* {{{ */
+PHPDBG_HELP(run) /* {{{ */
{
- printf("Run the code inside the debug vm, you should have break points and variables set
before running\n");
- printf("The execution context must not be set, but not necessarily compiled before
execution occurs\n");
- return SUCCESS;
+ printf("Run the code inside the debug vm, you should have break points and variables set
before running\n");
+ printf("The execution context must not be set, but not necessarily compiled before execution
occurs\n");
+ return SUCCESS;
} /* }}} */
PHPDBG_HELP(eval) /* {{{ */
{
- printf("Access to eval() allows you to change the environment during execution, careful
though !!");
- return SUCCESS;
+ printf("Access to eval() allows you to change the environment during execution, careful
though !!");
+ return SUCCESS;
} /* }}} */
PHPDBG_HELP(break) /* {{{ */
{
- printf("Setting a breakpoint stops execution at a specific stage, the syntax is:\n");
- printf("\tfile:line\n");
- printf("[more to come]\n");
- printf("For example:\n");
- printf("\tphpdbg> break test.php:1\n");
- printf("Will break execution on line 1 of test.php\n");
-
- return SUCCESS;
+ printf("Setting a breakpoint stops execution at a specific stage, the syntax is:\n");
+ printf("\tfile:line\n");
+ printf("[more to come]\n");
+ printf("For example:\n");
+ printf("\tphpdbg> break test.php:1\n");
+ printf("Will break execution on line 1 of test.php\n");
+ return SUCCESS;
} /* }}} */
PHPDBG_HELP(cont) /* {{{ */
{
- printf("Continues execution after a breakpoint is met\n");
- printf("[Warnings about using stepping and break points here]\n");
- return SUCCESS;
+ printf("Continues execution after a breakpoint is met\n");
+ printf("[Warnings about using stepping and break points here]\n");
+ return SUCCESS;
} /* }}} */
-PHPDBG_HELP(back) { /* {{{ */
- printf("The backtrace is gathered with the default debug_backtrace
functionality.\n");
- printf("You can set the limit on the trace, for example:\n");
- printf("\tphpdbg> back 5\n");
- printf("Will limit the number of frames to 5, the default is no limit\n");
- return SUCCESS;
+PHPDBG_HELP(back) /* {{{ */
+{
+ printf("The backtrace is gathered with the default debug_backtrace functionality.\n");
+ printf("You can set the limit on the trace, for example:\n");
+ printf("\tphpdbg> back 5\n");
+ printf("Will limit the number of frames to 5, the default is no limit\n");
+ return SUCCESS;
} /* }}} */