View Issue Details

IDProjectCategoryView StatusLast Update
0000284XdebugUncategorizedpublic2007-07-05 20:09
Reporterincastrix Assigned To 
PrioritynormalSeveritytrivialReproducibilityalways
Status closedResolutionopen 
Summary0000284: 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.

Additional Information

code:

$dummy = null;
echo "Breakpoint set";
echo "End";

DBG I/O:

breakpoint_set -i 6 -t line -f file:///var/www/coop/stepover.php -n 2

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

run -i 7

<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>
<response xmlns=\"urn:debugger_protocol_v1\" xmlns:xdebug=\"http://xdebug.org/dbgp/xdebug\&quot; command=\"run\" transaction_id=\"7\" status=\"break\" reason=\"ok\"><xdebug:message filename=\"file:///var/www/coop/stepover.php\" lineno=\"2\"></xdebug:message></response>

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\&quot; command=\"stack_get\" transaction_id=\"8\"><stack where=\"{main}\" level=\"0\" type=\"file\" filename=\"file:///var/www/coop/stepover.php\" lineno=\"2\"></stack></response>

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\&quot; command=\"step_over\" transaction_id=\"11\" status=\"break\" reason=\"ok\"><xdebug:message filename=\"file:///var/www/coop/stepover.php\" lineno=\"3\"></xdebug:message></response>

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\&quot; command=\"stack_get\" transaction_id=\"12\"><stack where=\"{main}\" level=\"0\" type=\"file\" filename=\"file:///var/www/coop/stepover.php\" lineno=\"3\"></stack></response>

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\&quot; command=\"step_over\" transaction_id=\"14\" status=\"break\" reason=\"ok\"><xdebug:message filename=\"file:///var/www/coop/stepover.php\" lineno=\"3\"></xdebug:message></response>

TagsNo tags attached.
Operating SystemDebian AMD64 lenny/sid
PHP Version5.2-dev

Activities

derick

2007-07-03 22:29

administrator   ~0000672

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&quot; 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]]>&lt;/url>&lt;copyright>&lt;![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&quot; 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&quot; 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&quot; 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&quot; 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&quot; 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&quot; 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?

incastrix

2007-07-04 19:26

reporter   ~0000674

Sorry missing a breakpoint at line 3.

Command log:

breakpoint_set -i 4 -t line -f file:///var/www/coop/stepover.php -n 3

breakpoint_set -i 5 -t line -f file:///var/www/coop/stepover.php -n 2

run -i 12

<?xml version="1.0" encoding="iso-8859-1"?>
<response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug&quot; command="run" transaction_id="12" status="break" reason="ok"><xdebug:message filename="file:///var/www/coop/stepover.php" lineno="2"></xdebug:message></response>

step_over -i 16

<?xml version="1.0" encoding="iso-8859-1"?>
<response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug&quot; command="step_over" transaction_id="16" status="break" reason="ok"><xdebug:message filename="file:///var/www/coop/stepover.php" lineno="3"></xdebug:message></response>

step_over -i 19

<?xml version="1.0" encoding="iso-8859-1"?>
<response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug&quot; command="step_over" transaction_id="19" status="break" reason="ok"><xdebug:message filename="file:///var/www/coop/stepover.php" lineno="3"></xdebug:message></response>

derick

2007-07-05 20:09

administrator   ~0000675

Fixed in CVS, thanks for your report.

Issue History

Date Modified Username Field Change
2007-06-18 16:15 incastrix New Issue
2007-07-03 22:29 derick Note Added: 0000672
2007-07-03 22:29 derick Status new => feedback
2007-07-04 19:26 incastrix Note Added: 0000674
2007-07-05 20:09 derick Status feedback => closed
2007-07-05 20:09 derick Note Added: 0000675
2016-07-31 12:36 derick Category Usage problems => Usage problems (Crashes)
2016-07-31 12:38 derick Category Usage problems (Crashes) => Usage problems (Wrong Results)
2020-03-12 16:35 derick Category Usage problems (Wrong Results) => Variable Display
2020-03-12 16:38 derick Category Variable Display => Uncategorized