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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

Pull requests:

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: Sat Dec 21 18:01:29 2024 UTC