[xdebug-dev] xdebug xdebug/xdebug.c - Fixed bug #92: xdebug_disable() doesn't disable the exception handler.

From: Derick Rethans <derick[@]derickrethans.nl>
Date: Tue, 12 Oct 2004 16:49:30 +0200

Date: Tue Oct 12 16:49:29 CEST 2004
User: Derick Rethans
Directory: xdebug

Log Message:
[0.25]
- Fixed bug #92: xdebug_disable() doesn't disable the exception handler.

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

[FILE: /xdebug/xdebug.c]

===================================================================
RCS file: cvstemp,v
retrieving revision 1.240
retrieving revision 1.241
diff -u -r1.240 -r1.241
--- xdebug/xdebug.c:1.240 Wed Oct 06 04:56:28 2004 GMT
+++ xdebug/xdebug.c Tue Oct 12 12:49:29 2004 GMT
@@ -1791,6 +1791,7 @@
         zend_error_cb = new_error_cb;
 #ifdef ZEND_ENGINE_2
         zend_opcode_handlers[ZEND_EXIT] = xdebug_exit_handler;
+ zend_throw_exception_hook = xdebug_throw_exception_hook;
 #endif
 }
 
@@ -1799,6 +1800,7 @@
         zend_error_cb = old_error_cb;
 #ifdef ZEND_ENGINE_2
         zend_opcode_handlers[ZEND_EXIT] = old_exit_handler;
+ zend_throw_exception_hook = NULL;
 #endif
 }
 
Received on Tue Oct 12 2004 - 16:49:47 BST

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