[xdebug-dev] xdebug xdebug/README xdebug/xdebug.c - Fixed bug #403: 'call' and 'return' breakpoints triggers both on call and

From: Derick Rethans <derick[@]derickrethans.nl>
Date: Sat, 28 Mar 2009 20:22:19 +0100

Date: Sat Mar 28 20:22:19 CET 2009
User: Derick Rethans
Directory: xdebug

Log Message:
[0.25]
- Fixed bug #403: 'call' and 'return' breakpoints triggers both on call and
  return for class method breakpoints.

Modified files:
           xdebug/xdebug.c (version: 1.444)

[FILE: /xdebug/xdebug.c]

===================================================================
RCS file: cvstemp,v
retrieving revision 1.443
retrieving revision 1.444
diff -u -r1.443 -r1.444
--- xdebug/xdebug.c:1.443 Thu Mar 26 11:40:14 2009 GMT
+++ xdebug/xdebug.c Sat Mar 28 18:22:19 2009 GMT
@@ -1382,7 +1382,7 @@
                 if (xdebug_hash_find(XG(context).class_breakpoints, tmp_name, strlen(tmp_name), (void *) &extra_brk_info)) {
                         /* Yup, breakpoint found, call handler if the breakpoint is not
                          * disabled AND handle_hit_value is happy */
- if (!extra_brk_info->disabled) {
+ if (!extra_brk_info->disabled && (extra_brk_info->function_break_type == breakpoint_type)) {
                                 if (handle_hit_value(extra_brk_info)) {
                                         XG(context).do_break = 1;
                                 }
Received on Sat Mar 28 2009 - 20:22:25 GMT

This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST