Date: Sun Nov 22 17:56:05 CET 2009
User: Derick Rethans
Directory: xdebug
Log Message:
[0.25]
- Fixed bug #356: temporary breakpoints persist.
#- Temporary breakpoints where never even implemented.
Modified files:
xdebug/xdebug.c (version: 1.461)
xdebug/xdebug_handler_dbgp.c (version: 1.144)
[FILE: /xdebug/xdebug.c]
===================================================================
RCS file: cvstemp,v
retrieving revision 1.460
retrieving revision 1.461
diff -u -r1.460 -r1.461
--- xdebug/xdebug.c:1.460 Sun Nov 22 12:43:23 2009 GMT
+++ xdebug/xdebug.c Sun Nov 22 15:56:05 2009 GMT
@@ -1468,6 +1468,11 @@
static int handle_hit_value(xdebug_brk_info *brk_info)
{
+ /* If this is a temporary breakpoint, disable the breakpoint */
+ if (brk_info->temporary) {
+ brk_info->disabled = 1;
+ }
+
/* Increase hit counter */
brk_info->hit_count++;
[FILE: /xdebug/xdebug_handler_dbgp.c]
===================================================================
RCS file: cvstemp,v
retrieving revision 1.143
retrieving revision 1.144
diff -u -r1.143 -r1.144
--- xdebug/xdebug_handler_dbgp.c:1.143 Sat Oct 17 14:40:43 2009 GMT
+++ xdebug/xdebug_handler_dbgp.c Sun Nov 22 15:56:05 2009 GMT
@@ -1085,6 +1085,9 @@
BREAKPOINT_CHANGE_OPERATOR();
brk_info->hit_value = strtol(CMD_OPTION('h'), NULL, 10);
}
+ if (CMD_OPTION('r')) {
+ brk_info->temporary = strtol(CMD_OPTION('r'), NULL, 10);
+ }
if ((strcmp(CMD_OPTION('t'), "line") == 0) || (strcmp(CMD_OPTION('t'), "conditional") == 0)) {
if (!CMD_OPTION('n')) {
@@ -2284,7 +2287,7 @@
char *xdebug_dbgp_get_revision(void)
{
- return "$Revision: 1.143 $";
+ return "$Revision: 1.144 $";
}
static int xdebug_dbgp_cmdloop(xdebug_con *context, int bail TSRMLS_DC)
Received on Sun Nov 22 2009 - 17:56:21 GMT
This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST