From: krakjoe Date: Sun, 10 Nov 2013 13:06:57 +0000 (+0000) Subject: run help X-Git-Tag: php-5.6.0alpha1~110^2~544 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8043d1ee5fe07b37a6154362095a206c97aa610f;p=php run help --- diff --git a/phpdbg_help.c b/phpdbg_help.c index 38ae6c36f3..d5ec6fd40c 100644 --- a/phpdbg_help.c +++ b/phpdbg_help.c @@ -51,6 +51,13 @@ PHPDBG_HELP(print) /* {{{ */ return SUCCESS; } /* }}} */ +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; +} /* }}} */ + PHPDBG_HELP(break) /* {{{ */ { printf("doing break help: %s\n", expr); diff --git a/phpdbg_help.h b/phpdbg_help.h index dba58d7dc4..1ab558725c 100644 --- a/phpdbg_help.h +++ b/phpdbg_help.h @@ -33,6 +33,7 @@ */ PHPDBG_HELP(exec); PHPDBG_HELP(compile); +PHPDBG_HELP(run); PHPDBG_HELP(print); PHPDBG_HELP(break); @@ -42,6 +43,7 @@ PHPDBG_HELP(break); static const phpdbg_command_t phpdbg_help_commands[] = { PHPDBG_HELP_D(exec, "the execution context should be a valid phpdbg path"), PHPDBG_HELP_D(compile, "pre-compilation allows inspection of code before execution"), + PHPDBG_HELP_D(run, "execution inside the phpdbg vm allows detailed inspection and debugging"), PHPDBG_HELP_D(print, "printing allows inspection of the execution environment"), PHPDBG_HELP_D(break, "breakpoints allow execution interruption"), {NULL, 0, 0}