]> granicus.if.org Git - php/commitdiff
run help
authorkrakjoe <joe.watkins@live.co.uk>
Sun, 10 Nov 2013 13:06:57 +0000 (13:06 +0000)
committerkrakjoe <joe.watkins@live.co.uk>
Sun, 10 Nov 2013 13:06:57 +0000 (13:06 +0000)
phpdbg_help.c
phpdbg_help.h

index 38ae6c36f39161ef415e4a2dca9a8e12fb811c76..d5ec6fd40c3ed28b9f91bea6b139d8aed4e80e33 100644 (file)
@@ -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);
index dba58d7dc486dbc6d9d97370cc2d444e3e62a454..1ab558725ce9074675dd07eaa1b99f09af5d3457 100644 (file)
@@ -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}