Date: Thu Oct 19 10:19:36 CEST 2006
User: Derick Rethans
Directory: xdebug
Log Message:
- Fixed bug #209: Additional remote debugging session started when triggering
shutdown function.
Modified files:
xdebug/xdebug_handler_dbgp.c (version: 1.101)
Added files:
xdebug/tests/bug00209.inc (new version: 1.1)
xdebug/tests/bug00209.phpt (new version: 1.1)
[FILE: /xdebug/xdebug_handler_dbgp.c]
===================================================================
RCS file: cvstemp,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -r1.100 -r1.101
--- xdebug/xdebug_handler_dbgp.c:1.100 Mon Oct 16 18:08:57 2006 GMT
+++ xdebug/xdebug_handler_dbgp.c Thu Oct 19 06:19:36 2006 GMT
@@ -1329,6 +1329,7 @@
{
XG(status) = DBGP_STATUS_STOPPING;
XG(remote_enabled) = 0;
+ XG(remote_enable) = 0;
}
@@ -2062,7 +2063,7 @@
char *xdebug_dbgp_get_revision(void)
{
- return "$Revision: 1.100 $";
+ return "$Revision: 1.101 $";
}
int xdebug_dbgp_cmdloop(xdebug_con *context TSRMLS_DC)
[FILE: /xdebug/tests/bug00209.inc]
<?php
function myFunction()
{
$counter = 1 + 2;
}
register_shutdown_function('myFunction');
?>
[FILE: /xdebug/tests/bug00209.phpt]
--TEST--
Test for bug #209: Additional remote debugging session started when triggering shutdown function.
--SKIPIF--
<?php print "skip Can only be tested through DBGp"; ?>
--FILE--
<?php
include("bug00209.inc");
echo "test";
?>
--EXPECT--
Received on Thu Oct 19 2006 - 10:19:46 BST
This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST