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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: bernhardsonerik at gmail dot com
New email:
PHP Version: OS:

 

 [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
 [2023-09-06 08:33 UTC] lequangmkp36 at gmail dot com
Thanks for sharing this, this is amazing. i like it.  (https://github.com)(https://qrcodescanner.org/)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 04:01:27 2024 UTC