Bug #80006 [PATCH]: phpdbg next command doesn't step over as documented

From: Date: Sat, 22 Aug 2020 20:59:44 +0000
Subject: Bug #80006 [PATCH]: phpdbg next command doesn't step over as documented
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-228712@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=80006&edit=1

 ID:                 80006
 Patch added by:     cmb@php.net
 Reported by:        bernhardsonerik at gmail dot com
 Summary:            phpdbg next command doesn't step over as documented
 Status:             Open
 Type:               Bug
 Package:            phpdbg
 Operating System:   Ubuntu focal
 PHP Version:        7.2.33
 Block user comment: N
 Private report:     N

 New Comment:

The following pull request has been associated:

Patch Name: phpdbg next command must step over function calls
On GitHub:  https://github.com/php/php-src/pull/6031
Patch:      https://github.com/php/php-src/pull/6031.patch


Previous Comments:
------------------------------------------------------------------------
[2020-08-21 22:05:41] bernhardsonerik at gmail dot com

Description:
------------
The help description for the next command says step over next line, but that functionality does not
appear to work.

Test script:
---------------
<?php

function foo() {
        echo 0;
}

foo();
echo 1;


Expected result:
----------------
When at the interactive phpdbg command prompt on line 7, expect that executing the next command will
step over the foo() function call and stop on line 8.

Actual result:
--------------
phpdbg stops inside the foo function.


------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=80006&edit=1


Thread (4 messages)

« previous php.bugs (#228712) next »