[xdebug-dev] xdebug xdebug/xdebug_handler_dbgp.c - Fixed returned error when the stack depth was out of limits.

From: Derick Rethans <derick[@]derickrethans.nl>
Date: Sat, 1 May 2004 13:49:37 +0200

Date: Sat May 1 13:49:36 CEST 2004
User: Derick Rethans
Directory: xdebug

Log Message:
[0.05]
- Fixed returned error when the stack depth was out of limits.

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

[FILE: /xdebug/xdebug_handler_dbgp.c]

===================================================================
RCS file: cvstemp,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- xdebug/xdebug_handler_dbgp.c:1.42 Thu Apr 22 16:37:43 2004 GMT
+++ xdebug/xdebug_handler_dbgp.c Sat May 01 09:49:36 2004 GMT
@@ -1271,7 +1271,7 @@
                         stackframe = return_stackframe(depth TSRMLS_CC);
                         xdebug_xml_add_child(*retval, stackframe);
                 } else {
- RETURN_RESULT(XG(status), XG(reason), XDEBUG_ERROR_UNIMPLEMENTED);
+ RETURN_RESULT(XG(status), XG(reason), XDEBUG_ERROR_STACK_DEPTH_INVALID);
                 }
         } else {
                 counter = 0;
@@ -1528,7 +1528,7 @@
 
 char *xdebug_dbgp_get_revision(void)
 {
- return "$Revision: 1.42 $";
+ return "$Revision: 1.43 $";
 }
 
 int xdebug_dbgp_cmdloop(xdebug_con *context TSRMLS_DC)
Received on Fri May 07 2004 - 10:27:56 BST

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