From: Felipe Pena Date: Fri, 22 Nov 2013 23:05:25 +0000 (-0200) Subject: - Added support to set breakpoint in the current place X-Git-Tag: php-5.6.0alpha1~110^2~135 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4a6f7373a32ee6dd5cb71324cf2312d98659cf27;p=php - Added support to set breakpoint in the current place --- diff --git a/phpdbg_prompt.c b/phpdbg_prompt.c index 500f5321c4..8f7959559f 100644 --- a/phpdbg_prompt.c +++ b/phpdbg_prompt.c @@ -753,6 +753,11 @@ PHPDBG_COMMAND(info) /* {{{ */ PHPDBG_COMMAND(break) /* {{{ */ { switch (param->type) { + case EMPTY_PARAM: + phpdbg_set_breakpoint_file( + zend_get_executed_filename(TSRMLS_C), + zend_get_executed_lineno(TSRMLS_C) TSRMLS_CC); + break; case ADDR_PARAM: phpdbg_set_breakpoint_opline(param->addr TSRMLS_CC); break;