summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg_bp.c
diff options
context:
space:
mode:
authorMitch Hagstrand <mhagstrand@gmail.com>2016-11-13 02:59:13 -0800
committerBob Weinand <bobwei9@hotmail.com>2016-11-13 12:44:25 +0100
commit57c0773cd7aac0684044c65f7722cf53703bf81d (patch)
tree63ede86d994981d5e87ffcf775a980415a9f2520 /sapi/phpdbg/phpdbg_bp.c
parent84e2904def531c733bd4b3289184bb10a39479d3 (diff)
downloadphp-git-57c0773cd7aac0684044c65f7722cf53703bf81d.tar.gz
Fix phpdbg breakpoint restoring after execution completes
Diffstat (limited to 'sapi/phpdbg/phpdbg_bp.c')
-rw-r--r--sapi/phpdbg/phpdbg_bp.c2
1 files changed, 1 insertions, 1 deletions
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;