From 8c22352e885986096f0293bddf57feddbdeac335 Mon Sep 17 00:00:00 2001 From: Bob Weinand Date: Mon, 14 Apr 2014 15:45:15 +0200 Subject: Added $this and superglobals support for watchpoints --- phpdbg.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'phpdbg.c') diff --git a/phpdbg.c b/phpdbg.c index 213906a977..7a90b8d86b 100644 --- a/phpdbg.c +++ b/phpdbg.c @@ -1192,6 +1192,8 @@ phpdbg_main: SG(request_info).argv[i] = estrdup(argv[php_optind - 1 + i]); } SG(request_info).argv[i] = exec ? estrndup(exec, exec_len) : estrdup(""); + + php_hash_environment(TSRMLS_C); } /* do not install sigint handlers for remote consoles */ -- cgit v1.2.1 From 7ab1c07a513f520fff0e4dbb39b924d9000ba5d4 Mon Sep 17 00:00:00 2001 From: Bob Weinand Date: Wed, 16 Apr 2014 11:40:29 +0200 Subject: Fixed bug: ev output was buffered instead of directly displayed --- phpdbg.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'phpdbg.c') diff --git a/phpdbg.c b/phpdbg.c index 7a90b8d86b..2648d60ff2 100644 --- a/phpdbg.c +++ b/phpdbg.c @@ -1195,6 +1195,10 @@ phpdbg_main: php_hash_environment(TSRMLS_C); } + + /* make sure to turn off buffer for ev command */ + php_output_activate(TSRMLS_C); + php_output_deactivate(TSRMLS_C); /* do not install sigint handlers for remote consoles */ /* sending SIGINT then provides a decent way of shutting down the server */ -- cgit v1.2.1