[xdebug-dev] Bug 0000284: Step_over on breakpointed line

From: <noreply[@]lists.xdebug.org>
Date: Tue, 3 Jul 2007 23:29:48 +0200

The following bug requires your FEEDBACK.
======================================================================
http://bugs.xdebug.org/bug_view_page.php?bug_id=0000284
======================================================================
Reporter: incastrix
Handler:
======================================================================
Project: Xdebug
Bug ID: 284
Category: Usage problems
Reproducibility: always
Severity: trivial
Priority: normal
Status: feedback
Operating System: Debian AMD64 lenny/sid
PHP Version: 5.2-dev
Xdebug Version: 2.0.0rc5-dev
======================================================================
Date Submitted: 2007-06-18 17:15 CEST
Last Modified: 2007-07-03 23:29 CEST
======================================================================
Summary: Step_over on breakpointed line
Description:
if a breakpoint is set to a line and step_over to this I have to step_over
a time again to go to next line after breakpointed line.
======================================================================

----------------------------------------------------------------------
 derick - 2007-07-03 23:29 CEST
----------------------------------------------------------------------
I can not reproduce this:

code:
  1 <?php
  2 $dummy = null;
  3 echo "Breakpoint set";
  4 echo "End";
  5 ?>
command log:
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/httpd/html/test/xdebug/bug284.php" language="PHP"
protocol_version="1.0" appid="23578" idekey="dr"><engine
version="2.0.0RC5-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) breakpoint_set -i 6 -t line -f
file:///home/httpd/html/test/xdebug/bug284.php -n 2

<?xml version="1.0" encoding="iso-8859-1"?>
<response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set"
transaction_id="6" id="235780001"></response>

(cmd) run -i 7

<?xml version="1.0" encoding="iso-8859-1"?>
<response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="run"
transaction_id="7" status="break" reason="ok"><xdebug:message
filename="file:///home/httpd/html/test/xdebug/bug284.php"
lineno="2"></xdebug:message></response>

(cmd) stack_get -i 8

<?xml version="1.0" encoding="iso-8859-1"?>
<response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stack_get"
transaction_id="8"><stack where="{main}" level="0" type="file"
filename="file:///home/httpd/html/test/xdebug/bug284.php"
lineno="2"></stack></response>

(cmd) step_over -i 11

<?xml version="1.0" encoding="iso-8859-1"?>
<response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="step_over"
transaction_id="11" status="break" reason="ok"><xdebug:message
filename="file:///home/httpd/html/test/xdebug/bug284.php"
lineno="3"></xdebug:message></response>

(cmd) stack_get -i 12

<?xml version="1.0" encoding="iso-8859-1"?>
<response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stack_get"
transaction_id="12"><stack where="{main}" level="0" type="file"
filename="file:///home/httpd/html/test/xdebug/bug284.php"
lineno="3"></stack></response>

(cmd) step_over -i 14

<?xml version="1.0" encoding="iso-8859-1"?>
<response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="step_over"
transaction_id="14" status="break" reason="ok"><xdebug:message
filename="file:///home/httpd/html/test/xdebug/bug284.php"
lineno="4"></xdebug:message></response>

As you can see it correctly goes to line 4. Do you perhaps have other
commands that your log is missing - and do my line numbers match with
yours?

Bug History
Date Modified Username Field Change
======================================================================
2007-06-18 17:15incastrix New Bug
2007-06-18 17:15incastrix Bug Monitored: incastrix
2007-07-03 23:29derick Bugnote Added: 0000672
2007-07-03 23:29derick Status new => feedback
======================================================================
Received on Tue Jul 03 2007 - 23:29:53 BST

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