View Issue Details

IDProjectCategoryView StatusLast Update
0001645XdebugStep Debuggingpublic2021-04-14 16:07
Reporterdv-ds Assigned Toderick  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionunable to reproduce 
Product Version2.7.0RC2 
Summary0001645: Variable not set / present in locals when hitting deprecation warning
Description

As each() is deprecated in 7.2+, the following code generates a deprecation warning.

This may or may not be the cause of the issue here, which is that evaluating the function argument is not possible without using the console. Function locals seem to be affected in the same way.

When this happens, assuming the debugger is made to stop as soon as this deprecation warning is generated, it is not possible to evaluate $arg in a normal way:

  • At the top stack frame, the variable is not listed as a local. It can be evaluated properly in the console however.
  • At the stack frame just below that, the variable is listed as a local, but it is shown to be "uninitialized". It can be evaluated properly in the console however.
Steps To Reproduce

<?php

$x = [1, 2, 3];

function foobar($arg) {
while (list($key, $value) = each($arg)) {
echo "$key : $value\n";
}
}

foobar($x);

// Set IDE to break on "everything", so that the deprecation warning is caught.

Additional Information

Setup:

  • Visual Studio Code, 1.31.1
  • Apache 2.4.37 (Homebrew)
  • PHP 7.3.1 (Homebrew). Opcache disabled.
TagsNo tags attached.
Attached Files
Operating SystemmacOS
PHP Version7.3.0-7.3.1

Activities

derick

2019-03-05 13:30

administrator   ~0004936

As I can't run VS Code locally, would you mind attaching a remote debugging log as you did in 0001644?

dv-ds

2019-03-05 14:20

reporter   ~0004937

Sure thing, here you go.

xdebug_0001625.log (7,253 bytes)   
[3829] Log opened at 2019-02-12 09:17:10
[3829] I: Connecting to configured address/port: localhost:9000.
[3829] I: Connected to client. :-)
[3829] -> <init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" fileuri="file:///Users/davidvuorio/git/jaws/public/index.php" language="PHP" xdebug:language_version="7.3.1" protocol_version="1.0" appid="3829"><engine version="2.7.0rc1"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick Rethans]]></author><url><![CDATA[https://xdebug.org]]></url><copyright><![CDATA[Copyright (c) 2002-2019 by Derick Rethans]]></copyright></init>
[3829]
[3829] <- feature_set -i 1 -n max_children -v 256
[3829] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="1" feature="max_children" success="1"></response>
[3829]
[3829] <- breakpoint_list -i 2
[3829] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="breakpoint_list" transaction_id="2"></response>
[3829]
[3829] <- breakpoint_set -i 3 -t line -f file:///Users/davidvuorio/git/jaws/public/index.php -n 4
[3829] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="breakpoint_set" transaction_id="3" id="38290003"></response>
[3829]
[3829] <- breakpoint_list -i 4
[3829] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="breakpoint_list" transaction_id="4"><breakpoint type="line" filename="file:///Users/davidvuorio/git/jaws/public/index.php" lineno="4" state="enabled" hit_count="0" hit_value="0" id="38290003"></breakpoint></response>
[3829]
[3829] <- breakpoint_list -i 5
[3829] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="breakpoint_list" transaction_id="5"><breakpoint type="line" filename="file:///Users/davidvuorio/git/jaws/public/index.php" lineno="4" state="enabled" hit_count="0" hit_value="0" id="38290003"></breakpoint></response>
[3829]
[3829] <- run -i 6
[3829] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="run" transaction_id="6" status="break" reason="ok"><xdebug:message filename="file:///Users/davidvuorio/git/jaws/public/index.php" lineno="4"></xdebug:message></response>
[3829]
[3829] <- stack_get -i 7
[3829] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="stack_get" transaction_id="7"><stack where="{main}" level="0" type="file" filename="file:///Users/davidvuorio/git/jaws/public/index.php" lineno="4"></stack></response>
[3829]
[3829] <- context_names -i 8 -d 0
[3829] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="context_names" transaction_id="8"><context name="Locals" id="0"></context><context name="Superglobals" id="1"></context><context name="User defined constants" id="2"></context></response>
[3829]
[3829] <- context_get -i 9 -d 0 -c 0
[3829] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="context_get" transaction_id="9" context="0"><property name="$a" fullname="$a" type="int"><![CDATA[1]]></property></response>
[3829]
[3829] <- eval -i 10 -- JGE=
[3829] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="eval" transaction_id="10"><property type="int"><![CDATA[1]]></property></response>
[3829]
[3829] <- context_get -i 11 -d 0 -c 1
[4305] Log opened at 2019-02-12 09:17:18
[4305] I: Connecting to configured address/port: localhost:9000.
[4305] I: Connected to client. :-)
[4305] -> <init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" fileuri="file:///Users/davidvuorio/git/jaws/public/index.php" language="PHP" xdebug:language_version="7.3.1" protocol_version="1.0" appid="4305"><engine version="2.7.0rc1"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick Rethans]]></author><url><![CDATA[https://xdebug.org]]></url><copyright><![CDATA[Copyright (c) 2002-2019 by Derick Rethans]]></copyright></init>
[4305]
[4305] <- feature_set -i 1 -n max_children -v 256
[4305] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="1" feature="max_children" success="1"></response>
[4305]
[4305] <- breakpoint_list -i 2
[4305] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="breakpoint_list" transaction_id="2"></response>
[4305]
[4305] <- breakpoint_set -i 3 -t line -f file:///Users/davidvuorio/git/jaws/public/index.php -n 4
[4305] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="breakpoint_set" transaction_id="3" id="43050001"></response>
[4305]
[4305] <- breakpoint_list -i 4
[4305] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="breakpoint_list" transaction_id="4"><breakpoint type="line" filename="file:///Users/davidvuorio/git/jaws/public/index.php" lineno="4" state="enabled" hit_count="0" hit_value="0" id="43050001"></breakpoint></response>
[4305]
[4305] <- breakpoint_list -i 5
[4305] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="breakpoint_list" transaction_id="5"><breakpoint type="line" filename="file:///Users/davidvuorio/git/jaws/public/index.php" lineno="4" state="enabled" hit_count="0" hit_value="0" id="43050001"></breakpoint></response>
[4305]
[4305] <- run -i 6
[4305] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="run" transaction_id="6" status="break" reason="ok"><xdebug:message filename="file:///Users/davidvuorio/git/jaws/public/index.php" lineno="4"></xdebug:message></response>
[4305]
[4305] <- stack_get -i 7
[4305] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="stack_get" transaction_id="7"><stack where="{main}" level="0" type="file" filename="file:///Users/davidvuorio/git/jaws/public/index.php" lineno="4"></stack></response>
[4305]
[4305] <- context_names -i 8 -d 0
[4305] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="context_names" transaction_id="8"><context name="Locals" id="0"></context><context name="Superglobals" id="1"></context><context name="User defined constants" id="2"></context></response>
[4305]
[4305] <- context_get -i 9 -d 0 -c 0
[4305] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="context_get" transaction_id="9" context="0"><property name="$a" fullname="$a" type="int"><![CDATA[1]]></property></response>
[4305]
[4305] <- eval -i 10 -- JF9HRVQ=
[3831] Log opened at 2019-02-12 09:17:27
[3831] I: Connecting to configured address/port: localhost:9000.
[3831] W: Creating socket for 'localhost:9000', poll success, but error: Operation now in progress (19).
[3831] W: Creating socket for 'localhost:9000', poll success, but error: Operation now in progress (19).
[3831] E: Could not connect to client. :-(
[3831] Log closed at 2019-02-12 09:17:27
[3831]
xdebug_0001625.log (7,253 bytes)   

dv-ds

2019-03-05 14:23

reporter   ~0004938

Oops, wrong log, sorry. Here goes.

xdebug-0001645.log (17,532 bytes)   
// Path replaced with file:///foo.php
// Some data replaced with "...".

// Run until "everything" breakpoint hits.

[5227] Log opened at 2019-03-05 14:00:54
[5227] I: Connecting to configured address/port: localhost:9000.
[5227] I: Connected to client. :-)
[5227] -> <init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" fileuri="file:///foo.php" language="PHP" xdebug:language_version="7.3.1" protocol_version="1.0" appid="5227"><engine version="2.7.0RC2"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick Rethans]]></author><url><![CDATA[https://xdebug.org]]></url><copyright><![CDATA[Copyright (c) 2002-2019 by Derick Rethans]]></copyright></init>
[5227]
[5227] <- feature_set -i 1 -n max_children -v 256
[5227] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="1" feature="max_children" success="1"></response>
[5227]
[5227] <- breakpoint_list -i 2
[5227] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="breakpoint_list" transaction_id="2"></response>
[5227]
[5227] <- breakpoint_list -i 3
[5227] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="breakpoint_list" transaction_id="3"></response>
[5227]
[5227] <- breakpoint_set -i 4 -t exception -x *
[5227] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="breakpoint_set" transaction_id="4" id="52270001"></response>
[5227]
[5227] <- run -i 5
[5227] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="run" transaction_id="5" status="break" reason="ok"><xdebug:message filename="file:///foo.php" lineno="6" exception="Deprecated" code="8192"><![CDATA[The each() function is deprecated. This message will be suppressed on further calls]]></xdebug:message></response>
[5227]
[5227] <- stack_get -i 6
[5227] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="stack_get" transaction_id="6"><stack where="each" level="0" type="file" filename="file:///foo.php" lineno="6"></stack><stack where="foobar" level="1" type="file" filename="file:///foo.php" lineno="6"></stack><stack where="{main}" level="2" type="file" filename="file:///foo.php" lineno="11"></stack></response>
[5227]
[5227] <- context_names -i 7 -d 0
[5227] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="context_names" transaction_id="7"><context name="Locals" id="0"></context><context name="Superglobals" id="1"></context><context name="User defined constants" id="2"></context></response>
[5227]

// Hover over $arg.

[5227] <- context_get -i 8 -d 0 -c 0
[5227] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="context_get" transaction_id="8" context="0"></response>
[5227]
[5227] <- context_get -i 9 -d 0 -c 1
[5227] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="context_get" transaction_id="9" context="1"><property name="$_COOKIE" fullname="$_COOKIE" type="array" children="0" numchildren="0" page="0" pagesize="256"></property><property name="$_ENV" fullname="$_ENV" type="array" children="0" numchildren="0" page="0" pagesize="256"></property><property name="$_FILES" fullname="$_FILES" type="array" children="0" numchildren="0" page="0" pagesize="256"></property><property name="$_GET" fullname="$_GET" type="array" children="0" numchildren="0" page="0" pagesize="256"></property><property name="$_POST" fullname="$_POST" type="array" children="0" numchildren="0" page="0" pagesize="256"></property><property name="$_REQUEST" fullname="$_REQUEST" type="array" children="0" numchildren="0" page="0" pagesize="256"></property><property name="$_SERVER" fullname="$_SERVER" type="array" children="1" numchildren="34" page="0" pagesize="256"><property name="SCRIPT_URL" fullname="$_SERVER[&quot;SCRIPT_URL&quot;]" type="string" size="1" encoding="base64"><![CDATA[...]]></property><property name="SCRIPT_URI" fullname="$_SERVER[&quot;SCRIPT_URI&quot;]" type="string" size="17" encoding="base64"><![CDATA[...]]></property><property name="APPLICATION_ENV" fullname="$_SERVER[&quot;APPLICATION_ENV&quot;]" type="string" size="5" encoding="base64"><![CDATA[...]]></property><property name="HTTP_HOST" fullname="$_SERVER[&quot;HTTP_HOST&quot;]" type="string" size="9" encoding="base64"><![CDATA[...]]></property><property name="HTTP_CONNECTION" fullname="$_SERVER[&quot;HTTP_CONNECTION&quot;]" type="string" size="10" encoding="base64"><![CDATA[...]]></property><property name="HTTP_UPGRADE_INSECURE_REQUESTS" fullname="$_SERVER[&quot;HTTP_UPGRADE_INSECURE_REQUESTS&quot;]" type="string" size="1" encoding="base64"><![CDATA[...]]></property><property name="HTTP_USER_AGENT" fullname="$_SERVER[&quot;HTTP_USER_AGENT&quot;]" type="string" size="121" encoding="base64"><![CDATA[...]]></property><property name="HTTP_DNT" fullname="$_SERVER[&quot;HTTP_DNT&quot;]" type="string" size="1" encoding="base64"><![CDATA[...]]></property><property name="HTTP_ACCEPT" fullname="$_SERVER[&quot;HTTP_ACCEPT&quot;]" type="string" size="85" encoding="base64"><![CDATA[...]]></property><property name="HTTP_ACCEPT_ENCODING" fullname="$_SERVER[&quot;HTTP_ACCEPT_ENCODING&quot;]" type="string" size="17" encoding="base64"><![CDATA[...]]></property><property name="HTTP_ACCEPT_LANGUAGE" fullname="$_SERVER[&quot;HTTP_ACCEPT_LANGUAGE&quot;]" type="string" size="35" encoding="base64"><![CDATA[...]]></property><property name="PATH" fullname="$_SERVER[&quot;PATH&quot;]" type="string" size="29" encoding="base64"><![CDATA[...]]></property><property name="SERVER_SIGNATURE" fullname="$_SERVER[&quot;SERVER_SIGNATURE&quot;]" type="string" size="0" encoding="base64"><![CDATA[]]></property><property name="SERVER_SOFTWARE" fullname="$_SERVER[&quot;SERVER_SOFTWARE&quot;]" type="string" size="30" encoding="base64"><![CDATA[...]]></property><property name="SERVER_NAME" fullname="$_SERVER[&quot;SERVER_NAME&quot;]" type="string" size="9" encoding="base64"><![CDATA[...]]></property><property name="SERVER_ADDR" fullname="$_SERVER[&quot;SERVER_ADDR&quot;]" type="string" size="9" encoding="base64"><![CDATA[...]]></property><property name="SERVER_PORT" fullname="$_SERVER[&quot;SERVER_PORT&quot;]" type="string" size="2" encoding="base64"><![CDATA[...]]></property><property name="REMOTE_ADDR" fullname="$_SERVER[&quot;REMOTE_ADDR&quot;]" type="string" size="9" encoding="base64"><![CDATA[...]]></property><property name="DOCUMENT_ROOT" fullname="$_SERVER[&quot;DOCUMENT_ROOT&quot;]" type="string" size="35" encoding="base64"><![CDATA[...]]></property><property name="REQUEST_SCHEME" fullname="$_SERVER[&quot;REQUEST_SCHEME&quot;]" type="string" size="4" encoding="base64"><![CDATA[...]]></property><property name="CONTEXT_PREFIX" fullname="$_SERVER[&quot;CONTEXT_PREFIX&quot;]" type="string" size="0" encoding="base64"><![CDATA[]]></property><property name="CONTEXT_DOCUMENT_ROOT" fullname="$_SERVER[&quot;CONTEXT_DOCUMENT_ROOT&quot;]" type="string" size="35" encoding="base64"><![CDATA[...]]></property><property name="SERVER_ADMIN" fullname="$_SERVER[&quot;SERVER_ADMIN&quot;]" type="string" size="15" encoding="base64"><![CDATA[...]]></property><property name="SCRIPT_FILENAME" fullname="$_SERVER[&quot;SCRIPT_FILENAME&quot;]" type="string" size="44" encoding="base64"><![CDATA[...]]></property><property name="REMOTE_PORT" fullname="$_SERVER[&quot;REMOTE_PORT&quot;]" type="string" size="5" encoding="base64"><![CDATA[...]]></property><property name="GATEWAY_INTERFACE" fullname="$_SERVER[&quot;GATEWAY_INTERFACE&quot;]" type="string" size="7" encoding="base64"><![CDATA[...]]></property><property name="SERVER_PROTOCOL" fullname="$_SERVER[&quot;SERVER_PROTOCOL&quot;]" type="string" size="8" encoding="base64"><![CDATA[...]]></property><property name="REQUEST_METHOD" fullname="$_SERVER[&quot;REQUEST_METHOD&quot;]" type="string" size="3" encoding="base64"><![CDATA[...]]></property><property name="QUERY_STRING" fullname="$_SERVER[&quot;QUERY_STRING&quot;]" type="string" size="0" encoding="base64"><![CDATA[]]></property><property name="REQUEST_URI" fullname="$_SERVER[&quot;REQUEST_URI&quot;]" type="string" size="1" encoding="base64"><![CDATA[...]]></property><property name="SCRIPT_NAME" fullname="$_SERVER[&quot;SCRIPT_NAME&quot;]" type="string" size="10" encoding="base64"><![CDATA[...]]></property><property name="PHP_SELF" fullname="$_SERVER[&quot;PHP_SELF&quot;]" type="string" size="10" encoding="base64"><![CDATA[...]]></property><property name="REQUEST_TIME_FLOAT" fullname="$_SERVER[&quot;REQUEST_TIME_FLOAT&quot;]" type="float"><![CDATA[...]]></property><property name="REQUEST_TIME" fullname="$_SERVER[&quot;REQUEST_TIME&quot;]" type="int"><![CDATA[...]]></property></property></response>
[5227]
[5227] <- context_get -i 10 -d 0 -c 2
[5227] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="context_get" transaction_id="10" context="2"></response>
[5227]

// Evaluate $arg in console.

[5227] <- eval -i 11 -- JGFyZw==
[5227] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="eval" transaction_id="11"><property type="array" children="1" numchildren="3" page="0" pagesize="256"><property name="0" type="int"><![CDATA[1]]></property><property name="1" type="int"><![CDATA[2]]></property><property name="2" type="int"><![CDATA[3]]></property></property></response>
[5227]

// Change stack frame.

[5227] <- context_names -i 12 -d 1
[5227] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="context_names" transaction_id="12"><context name="Locals" id="0"></context><context name="Superglobals" id="1"></context><context name="User defined constants" id="2"></context></response>
[5227]

// Hover over $arg.

[5227] <- context_get -i 13 -d 1 -c 0
[5227] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="context_get" transaction_id="13" context="0"><property name="$arg" fullname="$arg" type="uninitialized"></property><property name="$key" fullname="$key" type="uninitialized"></property><property name="$value" fullname="$value" type="uninitialized"></property></response>
[5227]
[5227] <- context_get -i 14 -d 1 -c 1
[5227] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="context_get" transaction_id="14" context="1"><property name="$_COOKIE" fullname="$_COOKIE" type="array" children="0" numchildren="0" page="0" pagesize="256"></property><property name="$_ENV" fullname="$_ENV" type="array" children="0" numchildren="0" page="0" pagesize="256"></property><property name="$_FILES" fullname="$_FILES" type="array" children="0" numchildren="0" page="0" pagesize="256"></property><property name="$_GET" fullname="$_GET" type="array" children="0" numchildren="0" page="0" pagesize="256"></property><property name="$_POST" fullname="$_POST" type="array" children="0" numchildren="0" page="0" pagesize="256"></property><property name="$_REQUEST" fullname="$_REQUEST" type="array" children="0" numchildren="0" page="0" pagesize="256"></property><property name="$_SERVER" fullname="$_SERVER" type="array" children="1" numchildren="34" page="0" pagesize="256"><property name="SCRIPT_URL" fullname="$_SERVER[&quot;SCRIPT_URL&quot;]" type="string" size="1" encoding="base64"><![CDATA[...]]></property><property name="SCRIPT_URI" fullname="$_SERVER[&quot;SCRIPT_URI&quot;]" type="string" size="17" encoding="base64"><![CDATA[...]]></property><property name="APPLICATION_ENV" fullname="$_SERVER[&quot;APPLICATION_ENV&quot;]" type="string" size="5" encoding="base64"><![CDATA[...]]></property><property name="HTTP_HOST" fullname="$_SERVER[&quot;HTTP_HOST&quot;]" type="string" size="9" encoding="base64"><![CDATA[...]]></property><property name="HTTP_CONNECTION" fullname="$_SERVER[&quot;HTTP_CONNECTION&quot;]" type="string" size="10" encoding="base64"><![CDATA[...]]></property><property name="HTTP_UPGRADE_INSECURE_REQUESTS" fullname="$_SERVER[&quot;HTTP_UPGRADE_INSECURE_REQUESTS&quot;]" type="string" size="1" encoding="base64"><![CDATA[...]]></property><property name="HTTP_USER_AGENT" fullname="$_SERVER[&quot;HTTP_USER_AGENT&quot;]" type="string" size="121" encoding="base64"><![CDATA[...]]></property><property name="HTTP_DNT" fullname="$_SERVER[&quot;HTTP_DNT&quot;]" type="string" size="1" encoding="base64"><![CDATA[...]]></property><property name="HTTP_ACCEPT" fullname="$_SERVER[&quot;HTTP_ACCEPT&quot;]" type="string" size="85" encoding="base64"><![CDATA[...]]></property><property name="HTTP_ACCEPT_ENCODING" fullname="$_SERVER[&quot;HTTP_ACCEPT_ENCODING&quot;]" type="string" size="17" encoding="base64"><![CDATA[...]]></property><property name="HTTP_ACCEPT_LANGUAGE" fullname="$_SERVER[&quot;HTTP_ACCEPT_LANGUAGE&quot;]" type="string" size="35" encoding="base64"><![CDATA[...]]></property><property name="PATH" fullname="$_SERVER[&quot;PATH&quot;]" type="string" size="29" encoding="base64"><![CDATA[...]]></property><property name="SERVER_SIGNATURE" fullname="$_SERVER[&quot;SERVER_SIGNATURE&quot;]" type="string" size="0" encoding="base64"><![CDATA[]]></property><property name="SERVER_SOFTWARE" fullname="$_SERVER[&quot;SERVER_SOFTWARE&quot;]" type="string" size="30" encoding="base64"><![CDATA[...]]></property><property name="SERVER_NAME" fullname="$_SERVER[&quot;SERVER_NAME&quot;]" type="string" size="9" encoding="base64"><![CDATA[...]]></property><property name="SERVER_ADDR" fullname="$_SERVER[&quot;SERVER_ADDR&quot;]" type="string" size="9" encoding="base64"><![CDATA[...]]></property><property name="SERVER_PORT" fullname="$_SERVER[&quot;SERVER_PORT&quot;]" type="string" size="2" encoding="base64"><![CDATA[...]]></property><property name="REMOTE_ADDR" fullname="$_SERVER[&quot;REMOTE_ADDR&quot;]" type="string" size="9" encoding="base64"><![CDATA[...]]></property><property name="DOCUMENT_ROOT" fullname="$_SERVER[&quot;DOCUMENT_ROOT&quot;]" type="string" size="35" encoding="base64"><![CDATA[...]]></property><property name="REQUEST_SCHEME" fullname="$_SERVER[&quot;REQUEST_SCHEME&quot;]" type="string" size="4" encoding="base64"><![CDATA[...]]></property><property name="CONTEXT_PREFIX" fullname="$_SERVER[&quot;CONTEXT_PREFIX&quot;]" type="string" size="0" encoding="base64"><![CDATA[]]></property><property name="CONTEXT_DOCUMENT_ROOT" fullname="$_SERVER[&quot;CONTEXT_DOCUMENT_ROOT&quot;]" type="string" size="35" encoding="base64"><![CDATA[...]]></property><property name="SERVER_ADMIN" fullname="$_SERVER[&quot;SERVER_ADMIN&quot;]" type="string" size="15" encoding="base64"><![CDATA[...]]></property><property name="SCRIPT_FILENAME" fullname="$_SERVER[&quot;SCRIPT_FILENAME&quot;]" type="string" size="44" encoding="base64"><![CDATA[...]]></property><property name="REMOTE_PORT" fullname="$_SERVER[&quot;REMOTE_PORT&quot;]" type="string" size="5" encoding="base64"><![CDATA[...]]></property><property name="GATEWAY_INTERFACE" fullname="$_SERVER[&quot;GATEWAY_INTERFACE&quot;]" type="string" size="7" encoding="base64"><![CDATA[...]]></property><property name="SERVER_PROTOCOL" fullname="$_SERVER[&quot;SERVER_PROTOCOL&quot;]" type="string" size="8" encoding="base64"><![CDATA[...]]></property><property name="REQUEST_METHOD" fullname="$_SERVER[&quot;REQUEST_METHOD&quot;]" type="string" size="3" encoding="base64"><![CDATA[R0VU]]></property><property name="QUERY_STRING" fullname="$_SERVER[&quot;QUERY_STRING&quot;]" type="string" size="0" encoding="base64"><![CDATA[]]></property><property name="REQUEST_URI" fullname="$_SERVER[&quot;REQUEST_URI&quot;]" type="string" size="1" encoding="base64"><![CDATA[...]]></property><property name="SCRIPT_NAME" fullname="$_SERVER[&quot;SCRIPT_NAME&quot;]" type="string" size="10" encoding="base64"><![CDATA[...]]></property><property name="PHP_SELF" fullname="$_SERVER[&quot;PHP_SELF&quot;]" type="string" size="10" encoding="base64"><![CDATA[...]]></property><property name="REQUEST_TIME_FLOAT" fullname="$_SERVER[&quot;REQUEST_TIME_FLOAT&quot;]" type="float"><![CDATA[...]]></property><property name="REQUEST_TIME" fullname="$_SERVER[&quot;REQUEST_TIME&quot;]" type="int"><![CDATA[...]]></property></property></response>
[5227]
[5227] <- context_get -i 15 -d 1 -c 2
[5227] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="context_get" transaction_id="15" context="2"></response>
[5227]

// Evaluate $arg in console.

[5227] <- eval -i 16 -- JGFyZw==
[5227] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="eval" transaction_id="16"><property type="array" children="1" numchildren="3" page="0" pagesize="256"><property name="0" type="int"><![CDATA[1]]></property><property name="1" type="int"><![CDATA[2]]></property><property name="2" type="int"><![CDATA[3]]></property></property></response>
[5227]

// Continue.

[5227] <- run -i 17
[5227] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="run" transaction_id="17" status="stopping" reason="ok"></response>
[5227]
[5227] <- stop -i 18
[5227] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="stop" transaction_id="18" status="stopped" reason="ok"></response>
[5227]
[5227] Log closed at 2019-03-05 14:02:57
[5227]
xdebug-0001645.log (17,532 bytes)   

derick

2021-03-17 09:34

administrator   ~0005758

Is this issue still relevant to you?

derick

2021-04-14 16:07

administrator   ~0005837

Closing this, as it is missing requested feedback.

Issue History

Date Modified Username Field Change
2019-03-05 12:54 dv-ds New Issue
2019-03-05 13:30 derick Assigned To => derick
2019-03-05 13:30 derick Status new => feedback
2019-03-05 13:30 derick Note Added: 0004936
2019-03-05 14:20 dv-ds File Added: xdebug_0001625.log
2019-03-05 14:20 dv-ds Note Added: 0004937
2019-03-05 14:20 dv-ds Status feedback => assigned
2019-03-05 14:23 dv-ds File Added: xdebug-0001645.log
2019-03-05 14:23 dv-ds Note Added: 0004938
2020-03-12 16:33 derick Category Remote Debugging => Step Debugging
2021-03-17 09:34 derick Status assigned => feedback
2021-03-17 09:34 derick Note Added: 0005758
2021-04-14 16:07 derick Status feedback => closed
2021-04-14 16:07 derick Resolution open => unable to reproduce
2021-04-14 16:07 derick Note Added: 0005837