[xdebug-dev] xdebug xdebug/xdebug_handler_dbgp.c

From: Derick Rethans <derick[@]derickrethans.nl>
Date: Thu, 4 Aug 2005 16:04:30 +0200

Date: Thu Aug 4 16:04:30 CEST 2005
User: Derick Rethans
Directory: xdebug

Log Message:
- Fixed bug #136: The "type" attribute is missing from stack_get returns.

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

[FILE: /xdebug/xdebug_handler_dbgp.c]

===================================================================
RCS file: cvstemp,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -r1.72 -r1.73
--- xdebug/xdebug_handler_dbgp.c:1.72 Sun Mar 06 20:55:31 2005 GMT
+++ xdebug/xdebug_handler_dbgp.c Thu Aug 04 12:04:30 2005 GMT
@@ -582,7 +582,8 @@
 
         tmp = xdebug_xml_node_init("stack");
         xdebug_xml_add_attribute_ex(tmp, "where", xdstrdup(tmp_fname), 0, 1);
- xdebug_xml_add_attribute_ex(tmp, "level", xdebug_sprintf("%ld", nr), 0, 1);
+ xdebug_xml_add_attribute_ex(tmp, "level", xdebug_sprintf("%ld", nr), 0, 1);
+ xdebug_xml_add_attribute_ex(tmp, "type", xdstrdup("file"), 0, 1);
         if (fse_prev) {
                 xdebug_xml_add_attribute_ex(tmp, "filename", xdebug_path_to_url(fse_prev->filename TSRMLS_CC), 0, 1);
                 xdebug_xml_add_attribute_ex(tmp, "lineno", xdebug_sprintf("%lu", fse_prev->lineno TSRMLS_CC), 0, 1);
@@ -1890,7 +1891,7 @@
 
 char *xdebug_dbgp_get_revision(void)
 {
- return "$Revision: 1.72 $";
+ return "$Revision: 1.73 $";
 }
 
 int xdebug_dbgp_cmdloop(xdebug_con *context TSRMLS_DC)
Received on Thu Aug 04 2005 - 16:04:32 BST

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