Bug #73704 [Opn->Fbk]: phpdbg stops in /shows the wrong line
Edit report at https://bugs.php.net/bug.php?id=73704&edit=1
ID: 73704
Updated by: bwoebi@php.net
Reported by: stahlstift at gmail dot com
Summary: phpdbg stops in /shows the wrong line
-Status: Open
+Status: Feedback
Type: Bug
Package: phpdbg
Operating System: Windows 10 Pro
PHP Version: 7.0.14
Block user comment: N
Private report: N
New Comment:
Sorry for the delay.
I cannot reproduce this locally.
Could you please run: phpdbg -ep* orderimport.php
This should dump the opcodes, perhaps for some reasons you have opcodes on that line, it
shouldn't even be possible to halt on line 4 here as there should be no opcodes...
Previous Comments:
------------------------------------------------------------------------
[2016-12-09 14:31:05] stahlstift at gmail dot com
Description:
------------
Win 10 Pro 64Bit - PHP 7.14 x84 NTS
C:\Users\username\PhpstormProjects\product\scripts>phpdbg -e orderimport.php env=development
[Welcome to phpdbg, the interactive PHP debugger, v0.5.0]
To get help using phpdbg type "help" and press enter
[Please report bugs to <http://bugs.php.net/report.php>]
[Successful compilation of C:\Users\username\PhpstormProjects\product\scripts\orderimport.php]
prompt> l 10
00001: <?php
00002:
00003: $application = require 'boot.php';
00004:
00005: require __DIR__
.'/../vendor/plugins/PluginName/scripts/orderimport/orderimporter.php';
prompt> b 2
[Breakpoint #0 added at C:\Users\username\PhpstormProjects\product\scripts\orderimport.php:2]
prompt> b 3
[Breakpoint #1 added at C:\Users\username\PhpstormProjects\product\scripts\orderimport.php:3]
prompt> b 4
[Breakpoint #2 added at C:\Users\username\PhpstormProjects\product\scripts\orderimport.php:4]
prompt> run
[Breakpoint #2 at C:\Users\username\PhpstormProjects\product\scripts\orderimport.php:4, hits: 1]
>00004:
00005: require __DIR__
.'/../vendor/plugins/PluginName/scripts/orderimport/orderimporter.php';
prompt>
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=73704&edit=1
Thread (5 messages)