From 8043d1ee5fe07b37a6154362095a206c97aa610f Mon Sep 17 00:00:00 2001 From: krakjoe Date: Sun, 10 Nov 2013 13:06:57 +0000 Subject: [PATCH] run help --- phpdbg_help.c | 7 +++++++ phpdbg_help.h | 2 ++ 2 files changed, 9 insertions(+) diff --git a/phpdbg_help.c b/phpdbg_help.c index 38ae6c36f39..d5ec6fd40c3 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 dba58d7dc48..1ab558725ce 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}