Browse Source

remove cont

pull/550/head
krakjoe 13 years ago
parent
commit
1591b0e5f6
  1. 9
      phpdbg_help.c
  2. 4
      phpdbg_help.h
  3. 8
      phpdbg_prompt.c

9
phpdbg_help.c

@ -41,7 +41,7 @@ PHPDBG_HELP(step) /* {{{ */
PHPDBG_HELP(next) /* {{{ */
{
printf("While stepping through execution, use the next command to step back into the vm and execute the next opcode");
printf("While stepping through execution, or after a breakpoint, use the next command to step back into the vm and execute the next opcode\n");
return SUCCESS;
} /* }}} */
@ -91,13 +91,6 @@ PHPDBG_HELP(break) /* {{{ */
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;
} /* }}} */
PHPDBG_HELP(back) /* {{{ */
{
printf("The backtrace is gathered with the default debug_backtrace functionality.\n");

4
phpdbg_help.h

@ -41,7 +41,6 @@ PHPDBG_HELP(run);
PHPDBG_HELP(eval);
PHPDBG_HELP(print);
PHPDBG_HELP(break);
PHPDBG_HELP(cont);
PHPDBG_HELP(back);
/**
@ -51,12 +50,11 @@ 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(step, "stepping through execution allows inspection of the opline after every opcode"),
PHPDBG_HELP_D(next, "execute the next opcode"),
PHPDBG_HELP_D(next, "continue executing while stepping or after breaking"),
PHPDBG_HELP_D(run, "execution inside the phpdbg vm allows detailed inspection and debugging"),
PHPDBG_HELP_D(eval, "access to eval() allows you to affect the environment during execution"),
PHPDBG_HELP_D(print, "printing allows inspection of the execution environment"),
PHPDBG_HELP_D(break, "breakpoints allow execution interruption"),
PHPDBG_HELP_D(cont, "use continue when a break point is met"),
PHPDBG_HELP_D(back, "show debug backtrace information during execution"),
{NULL, 0, 0}

8
phpdbg_prompt.c

@ -104,11 +104,6 @@ static PHPDBG_COMMAND(next) /* {{{ */
return PHPDBG_NEXT;
} /* }}} */
static PHPDBG_COMMAND(cont) /* {{{ */
{
return SUCCESS;
} /* }}} */
static PHPDBG_COMMAND(run) /* {{{ */
{
if (PHPDBG_G(ops) || PHPDBG_G(exec)) {
@ -290,12 +285,11 @@ static const phpdbg_command_t phpdbg_prompt_commands[] = {
PHPDBG_COMMAND_D(exec, "set execution context"),
PHPDBG_COMMAND_D(compile, "attempt to pre-compile execution context"),
PHPDBG_COMMAND_D(step, "step through execution"),
PHPDBG_COMMAND_D(next, "next opcode"),
PHPDBG_COMMAND_D(next, "continue execution"),
PHPDBG_COMMAND_D(run, "attempt execution"),
PHPDBG_COMMAND_D(eval, "evaluate some code"),
PHPDBG_COMMAND_D(print, "print something"),
PHPDBG_COMMAND_D(break, "set breakpoint"),
PHPDBG_COMMAND_D(cont, "continue execution"),
PHPDBG_COMMAND_D(back, "show backtrace"),
PHPDBG_COMMAND_D(help, "show help menu"),
PHPDBG_COMMAND_D(quit, "exit phpdbg"),

Loading…
Cancel
Save