com php-src: ...: phpdbg_help.c
| From: | Bob Weinand | Date: | Tue, 12 Nov 2013 16:07:59 +0000 |
| Subject: | com php-src: ...: phpdbg_help.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-75055@lists.php.net to get a copy of this message | ||
Commit: b6f5b64c6128a03f341ae991caeb66bfadead0d6
Author: krakjoe <joe.watkins@live.co.uk> Tue, 12 Nov 2013 16:07:59 +0000
Parents: c43d5a558f8c4b73d319b6d65ddfc7f1bd3924ec
Branches: PHP-5.6
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b6f5b64c6128a03f341ae991caeb66bfadead0d6
Log:
..
Changed paths:
M phpdbg_help.c
Diff:
diff --git a/phpdbg_help.c b/phpdbg_help.c
index 1a78c69..4769965 100644
--- a/phpdbg_help.c
+++ b/phpdbg_help.c
@@ -88,11 +88,8 @@ PHPDBG_HELP(eval) /* {{{ */
PHPDBG_HELP(break) /* {{{ */
{
- printf("Setting a breakpoint stops execution at a specific stage, the syntax is:\n");
- printf("\tfile:line\n");
- printf("\tfunction\n");
- printf("\t\\my\\class::method\n");
- printf("\t0x16\n");
+ printf("Setting a breakpoint stops execution at a specific stage.\n");
+ printf("\n");
printf("For example:\n");
printf("\t%sbreak test.php:1\n", PHPDBG_PROMPT_LINE(TSRMLS_C));
printf("Will break execution on line 1 of test.php\n");
@@ -102,6 +99,8 @@ PHPDBG_HELP(break) /* {{{ */
printf("Will break execution on entry to \\my\\class::method\n");
printf("\t%sbreak 0x7ff68f570e08\n", PHPDBG_PROMPT_LINE(TSRMLS_C));
printf("Will break at the opline with the address provided (addresses are shown during
execution)\n");
+ printf("\t%sbreak 200\n", PHPDBG_PROMPT_LINE(TSRMLS_C));
+ printf("Will break at line 200 of the currently executing file\n");
printf("It is important to note, an address is only valid for the current compiled
representation of the script\n");
printf("If you have to clean the environment and recompile then your opline break points will
be invalid\n");
return SUCCESS;