[xdebug-general] Re: step_over and breakpoint make 2 step

From: zaher dirkey <zaherdirkey[@]yahoo.com>
Date: Sun, 10 Sep 2006 14:38:42 -0700 (PDT)

Hi , Sorry if duplicated messages, some error happned in first sent.

Log not worked with me
  xdebug.remote_log=c:\xdebug.log

my php.ini config

zend_extension_ts = ./ext/php_xdebug.dll
xdebug.remote_handler = dbgp
xdebug.remote_mode = req
xdebug.remote_port = 9000
xdebug.remote_enable = On
xdebug.remote_autostart = On
xdebug.default_enable = Off
xdebug.remote_log=c:\xdebug.log

But i logged it by my self
run this script in file "c:\bp.php"

<?php
  echo 'line1';
  echo 'line2'; //break point here
  echo 'line1';
?>
--------------------
<init fileuri="file:///C%3A%5Ctemp%5Cbp.php" language="PHP" protocol_version="1.0" appid="2088"><engine version="2.0.0beta5"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick Rethans]]></author><url><![CDATA[http://xdebug.org]]></url><copyright><![CDATA[Copyright (c) 2002-2005 by Derick Rethans]]></copyright></init>
breakpoint_set -t line -n 3 -f "file://C:\temp\bp.php" -i 1
<response command="breakpoint_set" transaction_id="1" id="20880001"></response>
step_into -i 2
<response command="step_into" transaction_id="2" status="break" reason="ok"></response>
stack_get -i 3
<response command="stack_get" transaction_id="3"><stack where="{main}" level="0" type="file" filename="file:///C%3A%5Ctemp%5Cbp.php" lineno="2"></stack></response>
step_over -i 4
<response command="step_over" transaction_id="4" status="break" reason="ok"></response>
stack_get -i 5
<response command="stack_get" transaction_id="5"><stack where="{main}" level="0" type="file" filename="file:///C%3A%5Ctemp%5Cbp.php" lineno="3"></stack></response>
step_over -i 6
<response command="step_over" transaction_id="6" status="break" reason="ok"></response>
stack_get -i 7
<response command="stack_get" transaction_id="7"><stack where="{main}" level="0" type="file" filename="file:///C%3A%5Ctemp%5Cbp.php" lineno="3"></stack></response>
step_over -i 8
<response command="step_over" transaction_id="8" status="break" reason="ok"></response>
stack_get -i 9
<response command="stack_get" transaction_id="9"><stack where="{main}" level="0" type="file" filename="file:///C%3A%5Ctemp%5Cbp.php" lineno="4"></stack></response>
step_over -i 10
<response command="step_over" transaction_id="10" status="break" reason="ok"></response>
stack_get -i 11
<response command="stack_get" transaction_id="11"><stack where="{main}" level="0" type="file" filename="file:///C%3A%5Ctemp%5Cbp.php" lineno="5"></stack></response>
step_over -i 12
<response command="step_over" transaction_id="12" status="stopped" reason="ok"></response>
---------------------------------
----- Original Message ----
From: Derick Rethans <derick[@]xdebug.org>
To: zaher dirkey <zaherdirkey[@]yahoo.com>
Cc: xdebug-general[@]lists.xdebug.org
Sent: Friday, September 8, 2006 10:11:40 AM
Subject: Re: [xdebug-general] step_over and breakpoint make 2 step

On Thu, 7 Sep 2006, zaher dirkey wrote:
> I am making PHP editor with XDebug gdbp protocol, for now it work
> good, steps and breakpoints but i notice that when make breakpoint to
> line and make step line by line, the step (stepover) make 2 step
> before leave the breakpointed line.
Could you provide a *short* and standalone script and a remote debugging
log for the session that shows this behavior? You can make a debugging
log by setting xdebug.remote_log=c:\somefile.log in php.ini. With this I
can try to figure out what the problem is.
regards,
Derick

-- 
Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.org
Received on Sun Sep 10 2006 - 23:39:05 BST

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