php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #80006 phpdbg next command doesn't step over as documented
Submitted: 2020-08-21 22:05 UTC Modified: -
From: bernhardsonerik at gmail dot com Assigned:
Status: Open Package: phpdbg
PHP Version: 7.2.33 OS: Ubuntu focal
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
41 - 18 = ?
Subscribe to this entry?

 
 [2020-08-21 22:05 UTC] 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.

Patches

Add a Patch

Pull Requests

Pull requests:

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-08-22 20:59 UTC] cmb@php.net
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
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue Oct 04 04:05:53 2022 UTC