[xdebug-dev] xdebug xdebug/xdebug_handler_dbgp.c - Fixed bug #273: Remote debugging: context_get does not return context id.

From: Derick Rethans <derick[@]derickrethans.nl>
Date: Sun, 27 May 2007 23:57:17 +0200

Date: Sun May 27 23:57:17 CEST 2007
User: Derick Rethans
Directory: xdebug

Log Message:
[0.25]
- Fixed bug #273: Remote debugging: context_get does not return context id.

Modified files:
           xdebug/xdebug_handler_dbgp.c (version: 1.121)

[FILE: /xdebug/xdebug_handler_dbgp.c]

===================================================================
RCS file: cvstemp,v
retrieving revision 1.120
retrieving revision 1.121
diff -u -r1.120 -r1.121
--- xdebug/xdebug_handler_dbgp.c:1.120 Sat May 26 17:55:43 2007 GMT
+++ xdebug/xdebug_handler_dbgp.c Sun May 27 19:57:17 2007 GMT
@@ -1946,6 +1946,8 @@
                         RETURN_RESULT(XG(status), XG(reason), XDEBUG_ERROR_STACK_DEPTH_INVALID);
                         break;
         }
+
+ xdebug_xml_add_attribute_ex(*retval, "context", xdebug_sprintf("%d", context_id), 0, 1);
 }
 
 DBGP_FUNC(xcmd_profiler_name_get)
@@ -2193,7 +2195,7 @@
 
 char *xdebug_dbgp_get_revision(void)
 {
- return "$Revision: 1.120 $";
+ return "$Revision: 1.121 $";
 }
 
 static int xdebug_dbgp_cmdloop(xdebug_con *context TSRMLS_DC)
Received on Sun May 27 2007 - 23:57:23 BST

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