[xdebug-general] Re: Stopping state comes after stopped state

From: FUJINAKA Tohru <tohru[@]nakarika.com>
Date: Thu, 09 Oct 2008 18:05:31 +0900

Hi Derick,

> > With Xdebug version of 2.1.0-dev, `stop' command causes
> > `stopped' -> 'stopping'
> > state transition, it looks something irrelevant to me.
> >
> > Is it as what specs expect or simply a bug?
>
> I will have to check this - do you perhaps have a short reproducable
> script and a remote debug log for me?

Sure. It's very simple:

-- [script] --

<?php echo "hi";

-- [end of script] --

-- [log] --

Xdebug Simple DBGp client (0.10.0)
Copyright 2002-2007 by Derick Rethans.
- libedit support: enabled

Waiting for debug server to connect.
Connect
<?xml version="1.0" encoding="iso-8859-1"?>
<init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug"
 fileuri="file:///home/reedom/www/test.php" language="PHP"
 protocol_version="1.0" appid="92066" idekey="default">
 <engineversion="2.1.0-dev"><![CDATA[Xdebug]]></engine>
 <author><![CDATA[Derick Rethans]]></author>
 <url><![CDATA[http://xdebug.org]]></url>
 <copyright><![CDATA[Copyright (c) 2002-2007 by Derick Rethans]]></copyright>
</init>
(cmd) stop -i 1<ENTER>
<?xml version="1.0" encoding="iso-8859-1"?>
<response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug"
command="stop" transaction_id="1" status="stopped" reason="ok"></response>
(cmd)<ENTER>
<?xml version="1.0" encoding="iso-8859-1"?>
<response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug"
command="stop" transaction_id="1" status="stopping" reason="ok"></response>
(cmd)<ENTER>
Disconnect

-- [end of log] --

Best regards,

-- 
FUJINAKA Tohru <tohru[@]nakarika.com>
Received on Thu Oct 09 2008 - 11:05:50 BST

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST