From 57c0773cd7aac0684044c65f7722cf53703bf81d Mon Sep 17 00:00:00 2001 From: Mitch Hagstrand Date: Sun, 13 Nov 2016 02:59:13 -0800 Subject: Fix phpdbg breakpoint restoring after execution completes --- sapi/phpdbg/phpdbg_bp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sapi/phpdbg/phpdbg_bp.c') diff --git a/sapi/phpdbg/phpdbg_bp.c b/sapi/phpdbg/phpdbg_bp.c index a690a77af8..bb9d37b29e 100644 --- a/sapi/phpdbg/phpdbg_bp.c +++ b/sapi/phpdbg/phpdbg_bp.c @@ -136,7 +136,7 @@ PHPDBG_API void phpdbg_export_breakpoints_to_string(char **str) /* {{{ */ switch (brake->type) { case PHPDBG_BREAK_FILE: { phpdbg_asprintf(&new_str, - "%sbreak %s:%lu\n", *str, + "%sbreak \"%s\":%lu\n", *str, ((phpdbg_breakfile_t*)brake)->filename, ((phpdbg_breakfile_t*)brake)->line); } break; -- cgit v1.2.1