correction in help

This commit is contained in:
krakjoe 2013-11-25 18:39:27 +00:00
parent 754fe82216
commit 6932eb76e3
2 changed files with 1 additions and 2 deletions

View file

@ -66,7 +66,6 @@ PHPDBG_API void phpdbg_export_breakpoints(FILE *handle TSRMLS_DC) /* {{{ */
phpdbg_notice( phpdbg_notice(
"Exporting file breakpoints in %s (%d)", brake->filename, count); "Exporting file breakpoints in %s (%d)", brake->filename, count);
fprintf(handle, "# Breakpoints in %s (%d)\n", brake->filename, count);
do { do {
fprintf(handle, "break file %s:%lu\n", brake->filename, brake->line); fprintf(handle, "break file %s:%lu\n", brake->filename, brake->line);
} while ((brake = zend_llist_get_next_ex(brakes, &lposition))); } while ((brake = zend_llist_get_next_ex(brakes, &lposition)));

View file

@ -221,7 +221,7 @@ PHPDBG_HELP(break) /* {{{ */
phpdbg_writeln(EMPTY); phpdbg_writeln(EMPTY);
phpdbg_notice("Examples"); phpdbg_notice("Examples");
phpdbg_writeln("\t%sbreak [file] test.php:1", phpdbg_get_prompt(TSRMLS_C)); phpdbg_writeln("\t%sbreak [file] test.php:1", phpdbg_get_prompt(TSRMLS_C));
phpdbg_writeln("\t%sb [f] test.php:1", phpdbg_get_prompt(TSRMLS_C)); phpdbg_writeln("\t%sb [F] test.php:1", phpdbg_get_prompt(TSRMLS_C));
phpdbg_writeln("\tWill break execution on line 1 of test.php"); phpdbg_writeln("\tWill break execution on line 1 of test.php");
phpdbg_writeln(EMPTY); phpdbg_writeln(EMPTY);
phpdbg_writeln("\t%sbreak [func] my_function", phpdbg_get_prompt(TSRMLS_C)); phpdbg_writeln("\t%sbreak [func] my_function", phpdbg_get_prompt(TSRMLS_C));