com php-src: run help: phpdbg_help.c phpdbg_help.h

From: Date: Sun, 10 Nov 2013 13:06:57 +0000
Subject: com php-src: run help: phpdbg_help.c phpdbg_help.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-75226@lists.php.net to get a copy of this message
Commit: 8043d1ee5fe07b37a6154362095a206c97aa610f Author: krakjoe <joe.watkins@live.co.uk> Sun, 10 Nov 2013 13:06:57 +0000 Parents: c6cb411d3905a790f9eb059c0ff0dd39fba4017a Branches: PHP-5.6 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=8043d1ee5fe07b37a6154362095a206c97aa610f Log: run help Changed paths: M phpdbg_help.c M phpdbg_help.h Diff: diff --git a/phpdbg_help.c b/phpdbg_help.c index 38ae6c3..d5ec6fd 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 dba58d7..1ab5587 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}

« previous php.cvs (#75226) next »