[xdebug-dev] xdebug xdebug/xdebug.c - Fixed bug #44: Script time-outs should be disabled when debugging.

From: Derick Rethans <derick[@]derickrethans.nl>
Date: Mon, 5 Apr 2004 00:03:22 +0200

Date: Mon Apr 5 00:03:21 CEST 2004
User: Derick Rethans
Directory: xdebug

Log Message:
[0.50]
- Fixed bug #44: Script time-outs should be disabled when debugging.

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

[FILE: /xdebug/xdebug.c]

===================================================================
RCS file: cvstemp,v
retrieving revision 1.203
retrieving revision 1.204
diff -u -r1.203 -r1.204
--- xdebug/xdebug.c:1.203 Sun Apr 04 19:32:49 2004 GMT
+++ xdebug/xdebug.c Sun Apr 04 20:03:21 2004 GMT
@@ -855,6 +855,7 @@
                         XG(remote_enable) &&
                         (XG(remote_mode) == XDEBUG_REQ)
                 ) {
+ /* Initialize debugging session */
                         XG(context).socket = xdebug_create_socket(XG(remote_host), XG(remote_port));
                         if (XG(context).socket >= 0) {
                                 XG(remote_enabled) = 1;
@@ -865,6 +866,9 @@
                                 if (!XG(context).handler->remote_init(&(XG(context)), XDEBUG_REQ, magic_cookie)) {
                                         XG(remote_enabled) = 0;
                                 }
+
+ /* Turn off script time outs */
+ zend_alter_ini_entry("max_execution_time", sizeof("max_execution_time"), "0", strlen("0"), PHP_INI_SYSTEM, PHP_INI_STAGE_ACTIVATE);
                         }
                 }
                 if (
Received on Mon Apr 05 2004 - 00:03:25 BST

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