View Issue Details

IDProjectCategoryView StatusLast Update
0001727XdebugStep Debuggingpublic2020-01-26 21:53
Reporterjanw.me Assigned Toderick  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version2.8.1 
Target Version2.9.1Fixed in Version2.9.1 
Summary0001727: Debugger stops more often than expected due to resolving breakpoints
Description

Xdebug breaks on the function definition before it stops inside the function with a breakpoint.
I also Filled a bug with PHPStorm: https://youtrack.jetbrains.com/issue/WI-50152
The attached image explains it best.

It started happing last week, PHPstorm released an update, but a provision of the vagrant might also have updated the xdebug version, I don't know.

Additional Information

I run Ubuntu and using https://github.com/Varying-Vagrant-Vagrants/VVV for the dev enviroment.
PHP 7.3.12 inside the VVV
Xdebug 2.8.1
PhpStorm 2019.3 Build #PS-193.5233.101, built on November 27, 2019 no Non-Bundled Plugins.

TagsNo tags attached.
Attached Files
xdebug-test.php.png (21,439 bytes)   
xdebug-test.php.png (21,439 bytes)   
xdebug-remote.log (42,078 bytes)   
[19375] Log opened at 2019-12-09 08:55:16
[19375] I: Connecting to configured address/port: 192.168.50.1:9000.
[19375] I: Connected to client. :-)
[19375] -> <init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" fileuri="file:///srv/www/cultuurbedrijfnop/public_html/xdebug-test.php" language="PHP" xdebug:language_version="7.2.25-1+ubuntu18.04.1+deb.sury.org+1" protocol_version="1.0" appid="19375" idekey="VVVDEBUG"><engine version="2.8.1"><![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>

[19375] <- eval -i 1 -- KHN0cmluZykoaW5pX2dldCgneGRlYnVnLmNvdmVyYWdlX2VuYWJsZScpLic7Jy5pbmlfZ2V0KCd4ZGVidWcucHJvZmlsZXJfZW5hYmxlJykuJzsnLmluaV9nZXQoJ3hkZWJ1Zy5yZW1vdGVfYXV0b3N0YXJ0JykuJzsnLmluaV9nZXQoJ3hkZWJ1Zy5yZW1vdGVfY29ubmVjdF9iYWNrJykuJzsnLmluaV9nZXQoJ3hkZWJ1Zy5yZW1vdGVfbW9kZScpKQ==
[19375] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="eval" transaction_id="1"><property type="string" size="11" encoding="base64"><![CDATA[MTswOzE7MDtyZXE=]]></property></response>

[19375] <- feature_set -i 2 -n show_hidden -v 1
[19375] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="2" feature="show_hidden" success="1"></response>

[19375] <- feature_set -i 3 -n max_depth -v 1
[19375] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="3" feature="max_depth" success="1"></response>

[19375] <- feature_set -i 4 -n max_children -v 100
[19375] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="4" feature="max_children" success="1"></response>

[19375] <- feature_set -i 5 -n extended_properties -v 1
[19375] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="5" feature="extended_properties" success="1"></response>

[19375] <- feature_set -i 6 -n resolved_breakpoints -v 1
[19375] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="6" feature="resolved_breakpoints" success="1"></response>

[19375] <- feature_set -i 7 -n notify_ok -v 1
[19375] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="7" feature="notify_ok" success="1"></response>

[19375] <- stdout -i 8 -c 1
[19375] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="stdout" transaction_id="8" success="1"></response>

[19375] <- status -i 9
[19375] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="status" transaction_id="9" status="starting" reason="ok"></response>

[19375] <- step_into -i 10
[19375] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="step_into" transaction_id="10" status="break" reason="ok"><xdebug:message filename="file:///srv/www/cultuurbedrijfnop/public_html/xdebug-test.php" lineno="3"></xdebug:message></response>

[19375] <- eval -i 11 -- aXNzZXQoJF9TRVJWRVJbJ1BIUF9JREVfQ09ORklHJ10p
[19375] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="eval" transaction_id="11"><property type="bool"><![CDATA[0]]></property></response>

[19375] <- eval -i 12 -- aXNzZXQoJF9TRVJWRVJbJ1NFUlZFUl9OQU1FJ10p
[19375] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="eval" transaction_id="12"><property type="bool"><![CDATA[1]]></property></response>

[19375] <- eval -i 13 -- KHN0cmluZykoJF9TRVJWRVJbJ1NFUlZFUl9OQU1FJ10p
[19375] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="eval" transaction_id="13"><property type="string" size="22" encoding="base64"><![CDATA[Y3VsdHV1cmJlZHJpamZub3AudGVzdA==]]></property></response>

[19375] <- eval -i 14 -- KHN0cmluZykoJF9TRVJWRVJbJ1NFUlZFUl9QT1JUJ10p
[19375] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="eval" transaction_id="14"><property type="string" size="2" encoding="base64"><![CDATA[ODA=]]></property></response>

[19375] <- eval -i 15 -- KHN0cmluZykoJF9TRVJWRVJbJ1JFUVVFU1RfVVJJJ10p
[19375] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="eval" transaction_id="15"><property type="string" size="16" encoding="base64"><![CDATA[L3hkZWJ1Zy10ZXN0LnBocA==]]></property></response>

[19375] <- breakpoint_set -i 16 -t line -f file:///srv/www/cultuurbedrijfnop/public_html/wp-content/mu-plugins/nav-courses/Form.php -n 121
[19375] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="breakpoint_set" transaction_id="16" id="193750017" resolved="unresolved"></response>

[19375] <- breakpoint_set -i 17 -t line -f file:///srv/www/cultuurbedrijfnop/public_html/xdebug-test.php -n 9
[19375] -> <notify xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" name="breakpoint_resolved"><breakpoint type="line" resolved="resolved" filename="file:///srv/www/cultuurbedrijfnop/public_html/xdebug-test.php" lineno="13" state="enabled" hit_count="0" hit_value="0" id="193750018"></breakpoint></notify>

[19375] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="breakpoint_set" transaction_id="17" id="193750018" resolved="resolved"></response>

[19375] <- breakpoint_set -i 18 -t line -f file:///srv/www/cultuurbedrijfnop/public_html/wp-content/mu-plugins/nav-courses/Form/Data_Sanitizer.php -n 80
[19375] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="breakpoint_set" transaction_id="18" id="193750019" resolved="unresolved"></response>

[19375] <- breakpoint_set -i 19 -t line -f file:///srv/www/cultuurbedrijfnop/public_html/wp-content/themes/cnop/template-parts/single-course/slider.php -n 4
[19375] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="breakpoint_set" transaction_id="19" id="193750020" resolved="unresolved"></response>

[19375] <- breakpoint_set -i 20 -t line -f file:///srv/www/cultuurbedrijfnop/public_html/xdebug-test.php -n 4
[19375] -> <notify xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" name="breakpoint_resolved"><breakpoint type="line" resolved="resolved" filename="file:///srv/www/cultuurbedrijfnop/public_html/xdebug-test.php" lineno="8" state="enabled" hit_count="0" hit_value="0" id="193750021"></breakpoint></notify>

[19375] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="breakpoint_set" transaction_id="20" id="193750021" resolved="resolved"></response>

[19375] <- stack_get -i 21
[19375] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="stack_get" transaction_id="21"><stack where="{main}" level="0" type="file" filename="file:///srv/www/cultuurbedrijfnop/public_html/xdebug-test.php" lineno="3"></stack></response>

[19375] <- run -i 22
[19375] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="run" transaction_id="22" status="break" reason="ok"><xdebug:message filename="file:///srv/www/cultuurbedrijfnop/public_html/xdebug-test.php" lineno="8"></xdebug:message></response>

[19375] <- stack_get -i 23
[19375] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="stack_get" transaction_id="23"><stack where="{main}" level="0" type="file" filename="file:///srv/www/cultuurbedrijfnop/public_html/xdebug-test.php" lineno="8"></stack></response>

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

[19375] <- context_get -i 25 -d 0 -c 0
[19375] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="context_get" transaction_id="25" context="0"></response>

[19375] <- context_get -i 26 -d 0 -c 1
[19375] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="context_get" transaction_id="26" context="1"><property name="$_COOKIE" fullname="$_COOKIE" type="array" children="1" numchildren="9" page="0" pagesize="100"><property name="_ga" fullname="$_COOKIE[&quot;_ga&quot;]" type="string" size="27" encoding="base64"><![CDATA[R0ExLjIuMjExNTMwNTQzMy4xNTcwNTQwMTEy]]></property><property name="wp-settings-5" fullname="$_COOKIE[&quot;wp-settings-5&quot;]" type="string" size="44" encoding="base64"><![CDATA[bGlicmFyeUNvbnRlbnQ9YnJvd3NlJmVkaXRvcj10aW55bWNlJm1mb2xkPW8=]]></property><property name="wp-settings-time-5" fullname="$_COOKIE[&quot;wp-settings-time-5&quot;]" type="string" size="10" encoding="base64"><![CDATA[MTU3MTgxODA2NA==]]></property><property name="wp-settings-1" fullname="$_COOKIE[&quot;wp-settings-1&quot;]" type="string" size="79" encoding="base64"><![CDATA[aGlkZXRiPTEmbGlicmFyeUNvbnRlbnQ9YnJvd3NlJmVkaXRvcl9wbGFpbl90ZXh0X3Bhc3RlX3dhcm5pbmc9MiZlZGl0b3I9dGlueW1jZQ==]]></property><property name="wp-settings-time-1" fullname="$_COOKIE[&quot;wp-settings-time-1&quot;]" type="string" size="10" encoding="base64"><![CDATA[MTU3MjI1MjA1Mg==]]></property><property name="wordpress_e9c4fc8f0d84a393ab800ddee8f26b3b" fullname="$_COOKIE[&quot;wordpress_e9c4fc8f0d84a393ab800ddee8f26b3b&quot;]" type="string" size="136" encoding="base64"><![CDATA[RWFnZXJseSBJbnRlcm5ldHwxNTc2ODQ3MDk1fHdUTEFUM0FScFFmWXVjTklLMFk1SWZuQ0djcnNQZ000djBjOGRiZzFnanp8MGY5ODUwOWFiZmRiYjk0MDc3ZTE2MmI2NzY3N2MxN2FiYjVmMGExMzNjZmFlMzllNjUwNzdmZTQyYzcxNmUyMw==]]></property><property name="wordpress_logged_in_e9c4fc8f0d84a393ab800ddee8f26b3b" fullname="$_COOKIE[&quot;wordpress_logged_in_e9c4fc8f0d84a393ab800ddee8f26b3b&quot;]" type="string" size="136" encoding="base64"><![CDATA[RWFnZXJseSBJbnRlcm5ldHwxNTc2ODQ3MDk1fHdUTEFUM0FScFFmWXVjTklLMFk1SWZuQ0djcnNQZ000djBjOGRiZzFnanp8MzA5OTkwY2IzNjhhZWU3YzZkNzQ0ZDZlYzU0ZmE0YzJkYjZmZDViZTI0NTYxZmZjZWUzMzIzY2NlNGFhOGZiZg==]]></property><property name="wordpress_test_cookie" fullname="$_COOKIE[&quot;wordpress_test_cookie&quot;]" type="string" size="15" encoding="base64"><![CDATA[V1AgQ29va2llIGNoZWNr]]></property><property name="_gid" fullname="$_COOKIE[&quot;_gid&quot;]" type="string" size="26" encoding="base64"><![CDATA[R0ExLjIuMzMwMTE1MDM3LjE1NzU4ODA3OTQ=]]></property></property><property name="$_ENV" fullname="$_ENV" type="array" children="0" numchildren="0" page="0" pagesize="100"></property><property name="$_FILES" fullname="$_FILES" type="array" children="0" numchildren="0" page="0" pagesize="100"></property><property name="$_GET" fullname="$_GET" type="array" children="0" numchildren="0" page="0" pagesize="100"></property><property name="$_POST" fullname="$_POST" type="array" children="0" numchildren="0" page="0" pagesize="100"></property><property name="$_REQUEST" fullname="$_REQUEST" type="array" children="0" numchildren="0" page="0" pagesize="100"></property><property name="$_SERVER" fullname="$_SERVER" type="array" children="1" numchildren="36" page="0" pagesize="100"><property name="PATH" fullname="$_SERVER[&quot;PATH&quot;]" type="string" size="52" encoding="base64"><![CDATA[L3Nydi93d3cvcGhwY3Mvc2NyaXB0cy86L3Vzci9sb2NhbC9iaW46L3Vzci9iaW46L2Jpbg==]]></property><property name="USER" fullname="$_SERVER[&quot;USER&quot;]" type="string" size="8" encoding="base64"><![CDATA[d3d3LWRhdGE=]]></property><property name="HOME" fullname="$_SERVER[&quot;HOME&quot;]" type="string" size="8" encoding="base64"><![CDATA[L3Zhci93d3c=]]></property><property name="HTTP_CACHE_CONTROL" fullname="$_SERVER[&quot;HTTP_CACHE_CONTROL&quot;]" type="string" size="9" encoding="base64"><![CDATA[bWF4LWFnZT0w]]></property><property name="HTTP_UPGRADE_INSECURE_REQUESTS" fullname="$_SERVER[&quot;HTTP_UPGRADE_INSECURE_REQUESTS&quot;]" type="string" size="1" encoding="base64"><![CDATA[MQ==]]></property><property name="HTTP_COOKIE" fullname="$_SERVER[&quot;HTTP_COOKIE&quot;]" type="string" size="728" encoding="base64"><![CDATA[X2dhPUdBMS4yLjIxMTUzMDU0MzMuMTU3MDU0MDExMjsgd3Atc2V0dGluZ3MtNT1saWJyYXJ5Q29udGVudCUzRGJyb3dzZSUyNmVkaXRvciUzRHRpbnltY2UlMjZtZm9sZCUzRG87IHdwLXNldHRpbmdzLXRpbWUtNT0xNTcxODE4MDY0OyB3cC1zZXR0aW5ncy0xPWhpZGV0YiUzRDElMjZsaWJyYXJ5Q29udGVudCUzRGJyb3dzZSUyNmVkaXRvcl9wbGFpbl90ZXh0X3Bhc3RlX3dhcm5pbmclM0QyJTI2ZWRpdG9yJTNEdGlueW1jZTsgd3Atc2V0dGluZ3MtdGltZS0xPTE1NzIyNTIwNTI7IHdvcmRwcmVzc19lOWM0ZmM4ZjBkODRhMzkzYWI4MDBkZGVlOGYyNmIzYj1FYWdlcmx5K0ludGVybmV0JTdDMTU3Njg0NzA5NSU3Q3dUTEFUM0FScFFmWXVjTklLMFk1SWZuQ0djcnNQZ000djBjOGRiZzFnanolN0MwZjk4NTA5YWJmZGJiOTQwNzdlMTYyYjY3Njc3YzE3YWJiNWYwYTEzM2NmYWUzOWU2NTA3N2ZlNDJjNzE2ZTIzOyB3b3JkcHJlc3NfbG9nZ2VkX2luX2U5YzRmYzhmMGQ4NGEzOTNhYjgwMGRkZWU4ZjI2YjNiPUVhZ2VybHkrSW50ZXJuZXQlN0MxNTc2ODQ3MDk1JTdDd1RMQVQzQVJwUWZZdWNOSUswWTVJZm5DR2Nyc1BnTTR2MGM4ZGJnMWdqeiU3QzMwOTk5MGNiMzY4YWVlN2M2ZDc0NGQ2ZWM1NGZhNGMyZGI2ZmQ1YmUyNDU2MWZmY2VlMzMyM2NjZTRhYThmYmY7IHdvcmRwcmVzc190ZXN0X2Nvb2tpZT1XUCtDb29raWUrY2hlY2s7IF9naWQ9R0ExLjIuMzMwMTE1MDM3LjE1NzU4ODA3OTQ=]]></property><property name="HTTP_CONNECTION" fullname="$_SERVER[&quot;HTTP_CONNECTION&quot;]" type="string" size="10" encoding="base64"><![CDATA[a2VlcC1hbGl2ZQ==]]></property><property name="HTTP_DNT" fullname="$_SERVER[&quot;HTTP_DNT&quot;]" type="string" size="1" encoding="base64"><![CDATA[MQ==]]></property><property name="HTTP_ACCEPT_ENCODING" fullname="$_SERVER[&quot;HTTP_ACCEPT_ENCODING&quot;]" type="string" size="13" encoding="base64"><![CDATA[Z3ppcCwgZGVmbGF0ZQ==]]></property><property name="HTTP_ACCEPT_LANGUAGE" fullname="$_SERVER[&quot;HTTP_ACCEPT_LANGUAGE&quot;]" type="string" size="14" encoding="base64"><![CDATA[ZW4tVVMsZW47cT0wLjU=]]></property><property name="HTTP_ACCEPT" fullname="$_SERVER[&quot;HTTP_ACCEPT&quot;]" type="string" size="63" encoding="base64"><![CDATA[dGV4dC9odG1sLGFwcGxpY2F0aW9uL3hodG1sK3htbCxhcHBsaWNhdGlvbi94bWw7cT0wLjksKi8qO3E9MC44]]></property><property name="HTTP_USER_AGENT" fullname="$_SERVER[&quot;HTTP_USER_AGENT&quot;]" type="string" size="76" encoding="base64"><![CDATA[TW96aWxsYS81LjAgKFgxMTsgVWJ1bnR1OyBMaW51eCB4ODZfNjQ7IHJ2OjcwLjApIEdlY2tvLzIwMTAwMTAxIEZpcmVmb3gvNzAuMA==]]></property><property name="HTTP_HOST" fullname="$_SERVER[&quot;HTTP_HOST&quot;]" type="string" size="22" encoding="base64"><![CDATA[Y3VsdHV1cmJlZHJpamZub3AudGVzdA==]]></property><property name="SCRIPT_FILENAME" fullname="$_SERVER[&quot;SCRIPT_FILENAME&quot;]" type="string" size="54" encoding="base64"><![CDATA[L3Nydi93d3cvY3VsdHV1cmJlZHJpamZub3AvcHVibGljX2h0bWwveGRlYnVnLXRlc3QucGhw]]></property><property name="REDIRECT_STATUS" fullname="$_SERVER[&quot;REDIRECT_STATUS&quot;]" type="string" size="3" encoding="base64"><![CDATA[MjAw]]></property><property name="SERVER_NAME" fullname="$_SERVER[&quot;SERVER_NAME&quot;]" type="string" size="22" encoding="base64"><![CDATA[Y3VsdHV1cmJlZHJpamZub3AudGVzdA==]]></property><property name="SERVER_PORT" fullname="$_SERVER[&quot;SERVER_PORT&quot;]" type="string" size="2" encoding="base64"><![CDATA[ODA=]]></property><property name="SERVER_ADDR" fullname="$_SERVER[&quot;SERVER_ADDR&quot;]" type="string" size="12" encoding="base64"><![CDATA[MTkyLjE2OC41MC40]]></property><property name="REMOTE_PORT" fullname="$_SERVER[&quot;REMOTE_PORT&quot;]" type="string" size="5" encoding="base64"><![CDATA[MzQxOTI=]]></property><property name="REMOTE_ADDR" fullname="$_SERVER[&quot;REMOTE_ADDR&quot;]" type="string" size="12" encoding="base64"><![CDATA[MTkyLjE2OC41MC4x]]></property><property name="SERVER_SOFTWARE" fullname="$_SERVER[&quot;SERVER_SOFTWARE&quot;]" type="string" size="12" encoding="base64"><![CDATA[bmdpbngvMS4xNy42]]></property><property name="GATEWAY_INTERFACE" fullname="$_SERVER[&quot;GATEWAY_INTERFACE&quot;]" type="string" size="7" encoding="base64"><![CDATA[Q0dJLzEuMQ==]]></property><property name="REQUEST_SCHEME" fullname="$_SERVER[&quot;REQUEST_SCHEME&quot;]" type="string" size="4" encoding="base64"><![CDATA[aHR0cA==]]></property><property name="SERVER_PROTOCOL" fullname="$_SERVER[&quot;SERVER_PROTOCOL&quot;]" type="string" size="8" encoding="base64"><![CDATA[SFRUUC8xLjE=]]></property><property name="DOCUMENT_ROOT" fullname="$_SERVER[&quot;DOCUMENT_ROOT&quot;]" type="string" size="38" encoding="base64"><![CDATA[L3Nydi93d3cvY3VsdHV1cmJlZHJpamZub3AvcHVibGljX2h0bWw=]]></property><property name="DOCUMENT_URI" fullname="$_SERVER[&quot;DOCUMENT_URI&quot;]" type="string" size="16" encoding="base64"><![CDATA[L3hkZWJ1Zy10ZXN0LnBocA==]]></property><property name="REQUEST_URI" fullname="$_SERVER[&quot;REQUEST_URI&quot;]" type="string" size="16" encoding="base64"><![CDATA[L3hkZWJ1Zy10ZXN0LnBocA==]]></property><property name="SCRIPT_NAME" fullname="$_SERVER[&quot;SCRIPT_NAME&quot;]" type="string" size="16" encoding="base64"><![CDATA[L3hkZWJ1Zy10ZXN0LnBocA==]]></property><property name="CONTENT_LENGTH" fullname="$_SERVER[&quot;CONTENT_LENGTH&quot;]" type="string" size="0" encoding="base64"><![CDATA[]]></property><property name="CONTENT_TYPE" fullname="$_SERVER[&quot;CONTENT_TYPE&quot;]" type="string" size="0" 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="FCGI_ROLE" fullname="$_SERVER[&quot;FCGI_ROLE&quot;]" type="string" size="9" encoding="base64"><![CDATA[UkVTUE9OREVS]]></property><property name="PHP_SELF" fullname="$_SERVER[&quot;PHP_SELF&quot;]" type="string" size="16" encoding="base64"><![CDATA[L3hkZWJ1Zy10ZXN0LnBocA==]]></property><property name="REQUEST_TIME_FLOAT" fullname="$_SERVER[&quot;REQUEST_TIME_FLOAT&quot;]" type="float"><![CDATA[1575881716.4755]]></property><property name="REQUEST_TIME" fullname="$_SERVER[&quot;REQUEST_TIME&quot;]" type="int"><![CDATA[1575881716]]></property></property></response>

[19375] <- context_get -i 27 -d 0 -c 2
[19375] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="context_get" transaction_id="27" context="2"></response>

[19375] <- run -i 28
[19375] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="run" transaction_id="28" status="break" reason="ok"><xdebug:message filename="file:///srv/www/cultuurbedrijfnop/public_html/xdebug-test.php" lineno="13"></xdebug:message></response>

[19375] <- stack_get -i 29
[19375] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="stack_get" transaction_id="29"><stack where="{main}" level="0" type="file" filename="file:///srv/www/cultuurbedrijfnop/public_html/xdebug-test.php" lineno="13"></stack></response>

[19375] <- context_get -i 30 -d 0 -c 0
[19375] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="context_get" transaction_id="30" context="0"></response>

[19375] <- context_get -i 31 -d 0 -c 1
[19375] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="context_get" transaction_id="31" context="1"><property name="$_COOKIE" fullname="$_COOKIE" type="array" children="1" numchildren="9" page="0" pagesize="100"><property name="_ga" fullname="$_COOKIE[&quot;_ga&quot;]" type="string" size="27" encoding="base64"><![CDATA[R0ExLjIuMjExNTMwNTQzMy4xNTcwNTQwMTEy]]></property><property name="wp-settings-5" fullname="$_COOKIE[&quot;wp-settings-5&quot;]" type="string" size="44" encoding="base64"><![CDATA[bGlicmFyeUNvbnRlbnQ9YnJvd3NlJmVkaXRvcj10aW55bWNlJm1mb2xkPW8=]]></property><property name="wp-settings-time-5" fullname="$_COOKIE[&quot;wp-settings-time-5&quot;]" type="string" size="10" encoding="base64"><![CDATA[MTU3MTgxODA2NA==]]></property><property name="wp-settings-1" fullname="$_COOKIE[&quot;wp-settings-1&quot;]" type="string" size="79" encoding="base64"><![CDATA[aGlkZXRiPTEmbGlicmFyeUNvbnRlbnQ9YnJvd3NlJmVkaXRvcl9wbGFpbl90ZXh0X3Bhc3RlX3dhcm5pbmc9MiZlZGl0b3I9dGlueW1jZQ==]]></property><property name="wp-settings-time-1" fullname="$_COOKIE[&quot;wp-settings-time-1&quot;]" type="string" size="10" encoding="base64"><![CDATA[MTU3MjI1MjA1Mg==]]></property><property name="wordpress_e9c4fc8f0d84a393ab800ddee8f26b3b" fullname="$_COOKIE[&quot;wordpress_e9c4fc8f0d84a393ab800ddee8f26b3b&quot;]" type="string" size="136" encoding="base64"><![CDATA[RWFnZXJseSBJbnRlcm5ldHwxNTc2ODQ3MDk1fHdUTEFUM0FScFFmWXVjTklLMFk1SWZuQ0djcnNQZ000djBjOGRiZzFnanp8MGY5ODUwOWFiZmRiYjk0MDc3ZTE2MmI2NzY3N2MxN2FiYjVmMGExMzNjZmFlMzllNjUwNzdmZTQyYzcxNmUyMw==]]></property><property name="wordpress_logged_in_e9c4fc8f0d84a393ab800ddee8f26b3b" fullname="$_COOKIE[&quot;wordpress_logged_in_e9c4fc8f0d84a393ab800ddee8f26b3b&quot;]" type="string" size="136" encoding="base64"><![CDATA[RWFnZXJseSBJbnRlcm5ldHwxNTc2ODQ3MDk1fHdUTEFUM0FScFFmWXVjTklLMFk1SWZuQ0djcnNQZ000djBjOGRiZzFnanp8MzA5OTkwY2IzNjhhZWU3YzZkNzQ0ZDZlYzU0ZmE0YzJkYjZmZDViZTI0NTYxZmZjZWUzMzIzY2NlNGFhOGZiZg==]]></property><property name="wordpress_test_cookie" fullname="$_COOKIE[&quot;wordpress_test_cookie&quot;]" type="string" size="15" encoding="base64"><![CDATA[V1AgQ29va2llIGNoZWNr]]></property><property name="_gid" fullname="$_COOKIE[&quot;_gid&quot;]" type="string" size="26" encoding="base64"><![CDATA[R0ExLjIuMzMwMTE1MDM3LjE1NzU4ODA3OTQ=]]></property></property><property name="$_ENV" fullname="$_ENV" type="array" children="0" numchildren="0" page="0" pagesize="100"></property><property name="$_FILES" fullname="$_FILES" type="array" children="0" numchildren="0" page="0" pagesize="100"></property><property name="$_GET" fullname="$_GET" type="array" children="0" numchildren="0" page="0" pagesize="100"></property><property name="$_POST" fullname="$_POST" type="array" children="0" numchildren="0" page="0" pagesize="100"></property><property name="$_REQUEST" fullname="$_REQUEST" type="array" children="0" numchildren="0" page="0" pagesize="100"></property><property name="$_SERVER" fullname="$_SERVER" type="array" children="1" numchildren="36" page="0" pagesize="100"><property name="PATH" fullname="$_SERVER[&quot;PATH&quot;]" type="string" size="52" encoding="base64"><![CDATA[L3Nydi93d3cvcGhwY3Mvc2NyaXB0cy86L3Vzci9sb2NhbC9iaW46L3Vzci9iaW46L2Jpbg==]]></property><property name="USER" fullname="$_SERVER[&quot;USER&quot;]" type="string" size="8" encoding="base64"><![CDATA[d3d3LWRhdGE=]]></property><property name="HOME" fullname="$_SERVER[&quot;HOME&quot;]" type="string" size="8" encoding="base64"><![CDATA[L3Zhci93d3c=]]></property><property name="HTTP_CACHE_CONTROL" fullname="$_SERVER[&quot;HTTP_CACHE_CONTROL&quot;]" type="string" size="9" encoding="base64"><![CDATA[bWF4LWFnZT0w]]></property><property name="HTTP_UPGRADE_INSECURE_REQUESTS" fullname="$_SERVER[&quot;HTTP_UPGRADE_INSECURE_REQUESTS&quot;]" type="string" size="1" encoding="base64"><![CDATA[MQ==]]></property><property name="HTTP_COOKIE" fullname="$_SERVER[&quot;HTTP_COOKIE&quot;]" type="string" size="728" encoding="base64"><![CDATA[X2dhPUdBMS4yLjIxMTUzMDU0MzMuMTU3MDU0MDExMjsgd3Atc2V0dGluZ3MtNT1saWJyYXJ5Q29udGVudCUzRGJyb3dzZSUyNmVkaXRvciUzRHRpbnltY2UlMjZtZm9sZCUzRG87IHdwLXNldHRpbmdzLXRpbWUtNT0xNTcxODE4MDY0OyB3cC1zZXR0aW5ncy0xPWhpZGV0YiUzRDElMjZsaWJyYXJ5Q29udGVudCUzRGJyb3dzZSUyNmVkaXRvcl9wbGFpbl90ZXh0X3Bhc3RlX3dhcm5pbmclM0QyJTI2ZWRpdG9yJTNEdGlueW1jZTsgd3Atc2V0dGluZ3MtdGltZS0xPTE1NzIyNTIwNTI7IHdvcmRwcmVzc19lOWM0ZmM4ZjBkODRhMzkzYWI4MDBkZGVlOGYyNmIzYj1FYWdlcmx5K0ludGVybmV0JTdDMTU3Njg0NzA5NSU3Q3dUTEFUM0FScFFmWXVjTklLMFk1SWZuQ0djcnNQZ000djBjOGRiZzFnanolN0MwZjk4NTA5YWJmZGJiOTQwNzdlMTYyYjY3Njc3YzE3YWJiNWYwYTEzM2NmYWUzOWU2NTA3N2ZlNDJjNzE2ZTIzOyB3b3JkcHJlc3NfbG9nZ2VkX2luX2U5YzRmYzhmMGQ4NGEzOTNhYjgwMGRkZWU4ZjI2YjNiPUVhZ2VybHkrSW50ZXJuZXQlN0MxNTc2ODQ3MDk1JTdDd1RMQVQzQVJwUWZZdWNOSUswWTVJZm5DR2Nyc1BnTTR2MGM4ZGJnMWdqeiU3QzMwOTk5MGNiMzY4YWVlN2M2ZDc0NGQ2ZWM1NGZhNGMyZGI2ZmQ1YmUyNDU2MWZmY2VlMzMyM2NjZTRhYThmYmY7IHdvcmRwcmVzc190ZXN0X2Nvb2tpZT1XUCtDb29raWUrY2hlY2s7IF9naWQ9R0ExLjIuMzMwMTE1MDM3LjE1NzU4ODA3OTQ=]]></property><property name="HTTP_CONNECTION" fullname="$_SERVER[&quot;HTTP_CONNECTION&quot;]" type="string" size="10" encoding="base64"><![CDATA[a2VlcC1hbGl2ZQ==]]></property><property name="HTTP_DNT" fullname="$_SERVER[&quot;HTTP_DNT&quot;]" type="string" size="1" encoding="base64"><![CDATA[MQ==]]></property><property name="HTTP_ACCEPT_ENCODING" fullname="$_SERVER[&quot;HTTP_ACCEPT_ENCODING&quot;]" type="string" size="13" encoding="base64"><![CDATA[Z3ppcCwgZGVmbGF0ZQ==]]></property><property name="HTTP_ACCEPT_LANGUAGE" fullname="$_SERVER[&quot;HTTP_ACCEPT_LANGUAGE&quot;]" type="string" size="14" encoding="base64"><![CDATA[ZW4tVVMsZW47cT0wLjU=]]></property><property name="HTTP_ACCEPT" fullname="$_SERVER[&quot;HTTP_ACCEPT&quot;]" type="string" size="63" encoding="base64"><![CDATA[dGV4dC9odG1sLGFwcGxpY2F0aW9uL3hodG1sK3htbCxhcHBsaWNhdGlvbi94bWw7cT0wLjksKi8qO3E9MC44]]></property><property name="HTTP_USER_AGENT" fullname="$_SERVER[&quot;HTTP_USER_AGENT&quot;]" type="string" size="76" encoding="base64"><![CDATA[TW96aWxsYS81LjAgKFgxMTsgVWJ1bnR1OyBMaW51eCB4ODZfNjQ7IHJ2OjcwLjApIEdlY2tvLzIwMTAwMTAxIEZpcmVmb3gvNzAuMA==]]></property><property name="HTTP_HOST" fullname="$_SERVER[&quot;HTTP_HOST&quot;]" type="string" size="22" encoding="base64"><![CDATA[Y3VsdHV1cmJlZHJpamZub3AudGVzdA==]]></property><property name="SCRIPT_FILENAME" fullname="$_SERVER[&quot;SCRIPT_FILENAME&quot;]" type="string" size="54" encoding="base64"><![CDATA[L3Nydi93d3cvY3VsdHV1cmJlZHJpamZub3AvcHVibGljX2h0bWwveGRlYnVnLXRlc3QucGhw]]></property><property name="REDIRECT_STATUS" fullname="$_SERVER[&quot;REDIRECT_STATUS&quot;]" type="string" size="3" encoding="base64"><![CDATA[MjAw]]></property><property name="SERVER_NAME" fullname="$_SERVER[&quot;SERVER_NAME&quot;]" type="string" size="22" encoding="base64"><![CDATA[Y3VsdHV1cmJlZHJpamZub3AudGVzdA==]]></property><property name="SERVER_PORT" fullname="$_SERVER[&quot;SERVER_PORT&quot;]" type="string" size="2" encoding="base64"><![CDATA[ODA=]]></property><property name="SERVER_ADDR" fullname="$_SERVER[&quot;SERVER_ADDR&quot;]" type="string" size="12" encoding="base64"><![CDATA[MTkyLjE2OC41MC40]]></property><property name="REMOTE_PORT" fullname="$_SERVER[&quot;REMOTE_PORT&quot;]" type="string" size="5" encoding="base64"><![CDATA[MzQxOTI=]]></property><property name="REMOTE_ADDR" fullname="$_SERVER[&quot;REMOTE_ADDR&quot;]" type="string" size="12" encoding="base64"><![CDATA[MTkyLjE2OC41MC4x]]></property><property name="SERVER_SOFTWARE" fullname="$_SERVER[&quot;SERVER_SOFTWARE&quot;]" type="string" size="12" encoding="base64"><![CDATA[bmdpbngvMS4xNy42]]></property><property name="GATEWAY_INTERFACE" fullname="$_SERVER[&quot;GATEWAY_INTERFACE&quot;]" type="string" size="7" encoding="base64"><![CDATA[Q0dJLzEuMQ==]]></property><property name="REQUEST_SCHEME" fullname="$_SERVER[&quot;REQUEST_SCHEME&quot;]" type="string" size="4" encoding="base64"><![CDATA[aHR0cA==]]></property><property name="SERVER_PROTOCOL" fullname="$_SERVER[&quot;SERVER_PROTOCOL&quot;]" type="string" size="8" encoding="base64"><![CDATA[SFRUUC8xLjE=]]></property><property name="DOCUMENT_ROOT" fullname="$_SERVER[&quot;DOCUMENT_ROOT&quot;]" type="string" size="38" encoding="base64"><![CDATA[L3Nydi93d3cvY3VsdHV1cmJlZHJpamZub3AvcHVibGljX2h0bWw=]]></property><property name="DOCUMENT_URI" fullname="$_SERVER[&quot;DOCUMENT_URI&quot;]" type="string" size="16" encoding="base64"><![CDATA[L3hkZWJ1Zy10ZXN0LnBocA==]]></property><property name="REQUEST_URI" fullname="$_SERVER[&quot;REQUEST_URI&quot;]" type="string" size="16" encoding="base64"><![CDATA[L3hkZWJ1Zy10ZXN0LnBocA==]]></property><property name="SCRIPT_NAME" fullname="$_SERVER[&quot;SCRIPT_NAME&quot;]" type="string" size="16" encoding="base64"><![CDATA[L3hkZWJ1Zy10ZXN0LnBocA==]]></property><property name="CONTENT_LENGTH" fullname="$_SERVER[&quot;CONTENT_LENGTH&quot;]" type="string" size="0" encoding="base64"><![CDATA[]]></property><property name="CONTENT_TYPE" fullname="$_SERVER[&quot;CONTENT_TYPE&quot;]" type="string" size="0" 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="FCGI_ROLE" fullname="$_SERVER[&quot;FCGI_ROLE&quot;]" type="string" size="9" encoding="base64"><![CDATA[UkVTUE9OREVS]]></property><property name="PHP_SELF" fullname="$_SERVER[&quot;PHP_SELF&quot;]" type="string" size="16" encoding="base64"><![CDATA[L3hkZWJ1Zy10ZXN0LnBocA==]]></property><property name="REQUEST_TIME_FLOAT" fullname="$_SERVER[&quot;REQUEST_TIME_FLOAT&quot;]" type="float"><![CDATA[1575881716.4755]]></property><property name="REQUEST_TIME" fullname="$_SERVER[&quot;REQUEST_TIME&quot;]" type="int"><![CDATA[1575881716]]></property></property></response>

[19375] <- context_get -i 32 -d 0 -c 2
[19375] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="context_get" transaction_id="32" context="2"></response>

[19375] <- run -i 33
[19375] -> <notify xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" name="breakpoint_resolved"><breakpoint type="line" resolved="resolved" filename="file:///srv/www/cultuurbedrijfnop/public_html/xdebug-test.php" lineno="9" state="enabled" hit_count="1" hit_value="0" id="193750018"></breakpoint></notify>

[19375] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="run" transaction_id="33" status="break" reason="ok"><xdebug:message filename="file:///srv/www/cultuurbedrijfnop/public_html/xdebug-test.php" lineno="9"></xdebug:message></response>

[19375] <- stack_get -i 34
[19375] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="stack_get" transaction_id="34"><stack where="called_function" level="0" type="file" filename="file:///srv/www/cultuurbedrijfnop/public_html/xdebug-test.php" lineno="9"></stack><stack where="{main}" level="1" type="file" filename="file:///srv/www/cultuurbedrijfnop/public_html/xdebug-test.php" lineno="13"></stack></response>

[19375] <- context_get -i 35 -d 0 -c 0
[19375] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="context_get" transaction_id="35" context="0"><property name="$break" fullname="$break" type="uninitialized"></property></response>

[19375] <- context_get -i 36 -d 0 -c 1
[19375] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="context_get" transaction_id="36" context="1"><property name="$_COOKIE" fullname="$_COOKIE" type="array" children="1" numchildren="9" page="0" pagesize="100"><property name="_ga" fullname="$_COOKIE[&quot;_ga&quot;]" type="string" size="27" encoding="base64"><![CDATA[R0ExLjIuMjExNTMwNTQzMy4xNTcwNTQwMTEy]]></property><property name="wp-settings-5" fullname="$_COOKIE[&quot;wp-settings-5&quot;]" type="string" size="44" encoding="base64"><![CDATA[bGlicmFyeUNvbnRlbnQ9YnJvd3NlJmVkaXRvcj10aW55bWNlJm1mb2xkPW8=]]></property><property name="wp-settings-time-5" fullname="$_COOKIE[&quot;wp-settings-time-5&quot;]" type="string" size="10" encoding="base64"><![CDATA[MTU3MTgxODA2NA==]]></property><property name="wp-settings-1" fullname="$_COOKIE[&quot;wp-settings-1&quot;]" type="string" size="79" encoding="base64"><![CDATA[aGlkZXRiPTEmbGlicmFyeUNvbnRlbnQ9YnJvd3NlJmVkaXRvcl9wbGFpbl90ZXh0X3Bhc3RlX3dhcm5pbmc9MiZlZGl0b3I9dGlueW1jZQ==]]></property><property name="wp-settings-time-1" fullname="$_COOKIE[&quot;wp-settings-time-1&quot;]" type="string" size="10" encoding="base64"><![CDATA[MTU3MjI1MjA1Mg==]]></property><property name="wordpress_e9c4fc8f0d84a393ab800ddee8f26b3b" fullname="$_COOKIE[&quot;wordpress_e9c4fc8f0d84a393ab800ddee8f26b3b&quot;]" type="string" size="136" encoding="base64"><![CDATA[RWFnZXJseSBJbnRlcm5ldHwxNTc2ODQ3MDk1fHdUTEFUM0FScFFmWXVjTklLMFk1SWZuQ0djcnNQZ000djBjOGRiZzFnanp8MGY5ODUwOWFiZmRiYjk0MDc3ZTE2MmI2NzY3N2MxN2FiYjVmMGExMzNjZmFlMzllNjUwNzdmZTQyYzcxNmUyMw==]]></property><property name="wordpress_logged_in_e9c4fc8f0d84a393ab800ddee8f26b3b" fullname="$_COOKIE[&quot;wordpress_logged_in_e9c4fc8f0d84a393ab800ddee8f26b3b&quot;]" type="string" size="136" encoding="base64"><![CDATA[RWFnZXJseSBJbnRlcm5ldHwxNTc2ODQ3MDk1fHdUTEFUM0FScFFmWXVjTklLMFk1SWZuQ0djcnNQZ000djBjOGRiZzFnanp8MzA5OTkwY2IzNjhhZWU3YzZkNzQ0ZDZlYzU0ZmE0YzJkYjZmZDViZTI0NTYxZmZjZWUzMzIzY2NlNGFhOGZiZg==]]></property><property name="wordpress_test_cookie" fullname="$_COOKIE[&quot;wordpress_test_cookie&quot;]" type="string" size="15" encoding="base64"><![CDATA[V1AgQ29va2llIGNoZWNr]]></property><property name="_gid" fullname="$_COOKIE[&quot;_gid&quot;]" type="string" size="26" encoding="base64"><![CDATA[R0ExLjIuMzMwMTE1MDM3LjE1NzU4ODA3OTQ=]]></property></property><property name="$_ENV" fullname="$_ENV" type="array" children="0" numchildren="0" page="0" pagesize="100"></property><property name="$_FILES" fullname="$_FILES" type="array" children="0" numchildren="0" page="0" pagesize="100"></property><property name="$_GET" fullname="$_GET" type="array" children="0" numchildren="0" page="0" pagesize="100"></property><property name="$_POST" fullname="$_POST" type="array" children="0" numchildren="0" page="0" pagesize="100"></property><property name="$_REQUEST" fullname="$_REQUEST" type="array" children="0" numchildren="0" page="0" pagesize="100"></property><property name="$_SERVER" fullname="$_SERVER" type="array" children="1" numchildren="36" page="0" pagesize="100"><property name="PATH" fullname="$_SERVER[&quot;PATH&quot;]" type="string" size="52" encoding="base64"><![CDATA[L3Nydi93d3cvcGhwY3Mvc2NyaXB0cy86L3Vzci9sb2NhbC9iaW46L3Vzci9iaW46L2Jpbg==]]></property><property name="USER" fullname="$_SERVER[&quot;USER&quot;]" type="string" size="8" encoding="base64"><![CDATA[d3d3LWRhdGE=]]></property><property name="HOME" fullname="$_SERVER[&quot;HOME&quot;]" type="string" size="8" encoding="base64"><![CDATA[L3Zhci93d3c=]]></property><property name="HTTP_CACHE_CONTROL" fullname="$_SERVER[&quot;HTTP_CACHE_CONTROL&quot;]" type="string" size="9" encoding="base64"><![CDATA[bWF4LWFnZT0w]]></property><property name="HTTP_UPGRADE_INSECURE_REQUESTS" fullname="$_SERVER[&quot;HTTP_UPGRADE_INSECURE_REQUESTS&quot;]" type="string" size="1" encoding="base64"><![CDATA[MQ==]]></property><property name="HTTP_COOKIE" fullname="$_SERVER[&quot;HTTP_COOKIE&quot;]" type="string" size="728" encoding="base64"><![CDATA[X2dhPUdBMS4yLjIxMTUzMDU0MzMuMTU3MDU0MDExMjsgd3Atc2V0dGluZ3MtNT1saWJyYXJ5Q29udGVudCUzRGJyb3dzZSUyNmVkaXRvciUzRHRpbnltY2UlMjZtZm9sZCUzRG87IHdwLXNldHRpbmdzLXRpbWUtNT0xNTcxODE4MDY0OyB3cC1zZXR0aW5ncy0xPWhpZGV0YiUzRDElMjZsaWJyYXJ5Q29udGVudCUzRGJyb3dzZSUyNmVkaXRvcl9wbGFpbl90ZXh0X3Bhc3RlX3dhcm5pbmclM0QyJTI2ZWRpdG9yJTNEdGlueW1jZTsgd3Atc2V0dGluZ3MtdGltZS0xPTE1NzIyNTIwNTI7IHdvcmRwcmVzc19lOWM0ZmM4ZjBkODRhMzkzYWI4MDBkZGVlOGYyNmIzYj1FYWdlcmx5K0ludGVybmV0JTdDMTU3Njg0NzA5NSU3Q3dUTEFUM0FScFFmWXVjTklLMFk1SWZuQ0djcnNQZ000djBjOGRiZzFnanolN0MwZjk4NTA5YWJmZGJiOTQwNzdlMTYyYjY3Njc3YzE3YWJiNWYwYTEzM2NmYWUzOWU2NTA3N2ZlNDJjNzE2ZTIzOyB3b3JkcHJlc3NfbG9nZ2VkX2luX2U5YzRmYzhmMGQ4NGEzOTNhYjgwMGRkZWU4ZjI2YjNiPUVhZ2VybHkrSW50ZXJuZXQlN0MxNTc2ODQ3MDk1JTdDd1RMQVQzQVJwUWZZdWNOSUswWTVJZm5DR2Nyc1BnTTR2MGM4ZGJnMWdqeiU3QzMwOTk5MGNiMzY4YWVlN2M2ZDc0NGQ2ZWM1NGZhNGMyZGI2ZmQ1YmUyNDU2MWZmY2VlMzMyM2NjZTRhYThmYmY7IHdvcmRwcmVzc190ZXN0X2Nvb2tpZT1XUCtDb29raWUrY2hlY2s7IF9naWQ9R0ExLjIuMzMwMTE1MDM3LjE1NzU4ODA3OTQ=]]></property><property name="HTTP_CONNECTION" fullname="$_SERVER[&quot;HTTP_CONNECTION&quot;]" type="string" size="10" encoding="base64"><![CDATA[a2VlcC1hbGl2ZQ==]]></property><property name="HTTP_DNT" fullname="$_SERVER[&quot;HTTP_DNT&quot;]" type="string" size="1" encoding="base64"><![CDATA[MQ==]]></property><property name="HTTP_ACCEPT_ENCODING" fullname="$_SERVER[&quot;HTTP_ACCEPT_ENCODING&quot;]" type="string" size="13" encoding="base64"><![CDATA[Z3ppcCwgZGVmbGF0ZQ==]]></property><property name="HTTP_ACCEPT_LANGUAGE" fullname="$_SERVER[&quot;HTTP_ACCEPT_LANGUAGE&quot;]" type="string" size="14" encoding="base64"><![CDATA[ZW4tVVMsZW47cT0wLjU=]]></property><property name="HTTP_ACCEPT" fullname="$_SERVER[&quot;HTTP_ACCEPT&quot;]" type="string" size="63" encoding="base64"><![CDATA[dGV4dC9odG1sLGFwcGxpY2F0aW9uL3hodG1sK3htbCxhcHBsaWNhdGlvbi94bWw7cT0wLjksKi8qO3E9MC44]]></property><property name="HTTP_USER_AGENT" fullname="$_SERVER[&quot;HTTP_USER_AGENT&quot;]" type="string" size="76" encoding="base64"><![CDATA[TW96aWxsYS81LjAgKFgxMTsgVWJ1bnR1OyBMaW51eCB4ODZfNjQ7IHJ2OjcwLjApIEdlY2tvLzIwMTAwMTAxIEZpcmVmb3gvNzAuMA==]]></property><property name="HTTP_HOST" fullname="$_SERVER[&quot;HTTP_HOST&quot;]" type="string" size="22" encoding="base64"><![CDATA[Y3VsdHV1cmJlZHJpamZub3AudGVzdA==]]></property><property name="SCRIPT_FILENAME" fullname="$_SERVER[&quot;SCRIPT_FILENAME&quot;]" type="string" size="54" encoding="base64"><![CDATA[L3Nydi93d3cvY3VsdHV1cmJlZHJpamZub3AvcHVibGljX2h0bWwveGRlYnVnLXRlc3QucGhw]]></property><property name="REDIRECT_STATUS" fullname="$_SERVER[&quot;REDIRECT_STATUS&quot;]" type="string" size="3" encoding="base64"><![CDATA[MjAw]]></property><property name="SERVER_NAME" fullname="$_SERVER[&quot;SERVER_NAME&quot;]" type="string" size="22" encoding="base64"><![CDATA[Y3VsdHV1cmJlZHJpamZub3AudGVzdA==]]></property><property name="SERVER_PORT" fullname="$_SERVER[&quot;SERVER_PORT&quot;]" type="string" size="2" encoding="base64"><![CDATA[ODA=]]></property><property name="SERVER_ADDR" fullname="$_SERVER[&quot;SERVER_ADDR&quot;]" type="string" size="12" encoding="base64"><![CDATA[MTkyLjE2OC41MC40]]></property><property name="REMOTE_PORT" fullname="$_SERVER[&quot;REMOTE_PORT&quot;]" type="string" size="5" encoding="base64"><![CDATA[MzQxOTI=]]></property><property name="REMOTE_ADDR" fullname="$_SERVER[&quot;REMOTE_ADDR&quot;]" type="string" size="12" encoding="base64"><![CDATA[MTkyLjE2OC41MC4x]]></property><property name="SERVER_SOFTWARE" fullname="$_SERVER[&quot;SERVER_SOFTWARE&quot;]" type="string" size="12" encoding="base64"><![CDATA[bmdpbngvMS4xNy42]]></property><property name="GATEWAY_INTERFACE" fullname="$_SERVER[&quot;GATEWAY_INTERFACE&quot;]" type="string" size="7" encoding="base64"><![CDATA[Q0dJLzEuMQ==]]></property><property name="REQUEST_SCHEME" fullname="$_SERVER[&quot;REQUEST_SCHEME&quot;]" type="string" size="4" encoding="base64"><![CDATA[aHR0cA==]]></property><property name="SERVER_PROTOCOL" fullname="$_SERVER[&quot;SERVER_PROTOCOL&quot;]" type="string" size="8" encoding="base64"><![CDATA[SFRUUC8xLjE=]]></property><property name="DOCUMENT_ROOT" fullname="$_SERVER[&quot;DOCUMENT_ROOT&quot;]" type="string" size="38" encoding="base64"><![CDATA[L3Nydi93d3cvY3VsdHV1cmJlZHJpamZub3AvcHVibGljX2h0bWw=]]></property><property name="DOCUMENT_URI" fullname="$_SERVER[&quot;DOCUMENT_URI&quot;]" type="string" size="16" encoding="base64"><![CDATA[L3hkZWJ1Zy10ZXN0LnBocA==]]></property><property name="REQUEST_URI" fullname="$_SERVER[&quot;REQUEST_URI&quot;]" type="string" size="16" encoding="base64"><![CDATA[L3hkZWJ1Zy10ZXN0LnBocA==]]></property><property name="SCRIPT_NAME" fullname="$_SERVER[&quot;SCRIPT_NAME&quot;]" type="string" size="16" encoding="base64"><![CDATA[L3hkZWJ1Zy10ZXN0LnBocA==]]></property><property name="CONTENT_LENGTH" fullname="$_SERVER[&quot;CONTENT_LENGTH&quot;]" type="string" size="0" encoding="base64"><![CDATA[]]></property><property name="CONTENT_TYPE" fullname="$_SERVER[&quot;CONTENT_TYPE&quot;]" type="string" size="0" 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="FCGI_ROLE" fullname="$_SERVER[&quot;FCGI_ROLE&quot;]" type="string" size="9" encoding="base64"><![CDATA[UkVTUE9OREVS]]></property><property name="PHP_SELF" fullname="$_SERVER[&quot;PHP_SELF&quot;]" type="string" size="16" encoding="base64"><![CDATA[L3hkZWJ1Zy10ZXN0LnBocA==]]></property><property name="REQUEST_TIME_FLOAT" fullname="$_SERVER[&quot;REQUEST_TIME_FLOAT&quot;]" type="float"><![CDATA[1575881716.4755]]></property><property name="REQUEST_TIME" fullname="$_SERVER[&quot;REQUEST_TIME&quot;]" type="int"><![CDATA[1575881716]]></property></property></response>

[19375] <- context_get -i 37 -d 0 -c 2
[19375] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="context_get" transaction_id="37" context="2"></response>

[19375] <- run -i 38
[19375] -> <stream xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" type="stdout" encoding="base64"><![CDATA[Q29udGVudC10eXBlOiB0ZXh0L2h0bWw7IGNoYXJzZXQ9VVRGLTg=]]></stream>

[19375] -> <stream xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" type="stdout" encoding="base64"><![CDATA[DQo=]]></stream>

[19375] -> <stream xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" type="stdout" encoding="base64"><![CDATA[DQo=]]></stream>

[19375] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="run" transaction_id="38" status="stopping" reason="ok"></response>

[19375] <- run -i 39
[19375] Log closed at 2019-12-09 08:55:23

xdebug-remote.log (42,078 bytes)   
xdebug-test.php (18 bytes)   
<?php

phpinfo();
xdebug-test.php (18 bytes)   
x-debug ini settings.png (381,392 bytes)
Operating SystemUbuntu + https://github.com/Varying-Vagrant-Vagrants/VVV
PHP Version7.3.10-7.3.14

Activities

derick

2019-12-12 17:35

administrator   ~0005207

I've added a comment at the JetBrains tracker, but I'm copying it in here, to have it all in one spot too:

Hi,

I had a look, and what @LazyOne writes is pretty much spot on, except for the point where you call it an "issue". This is a deliberate change to make breakpoints "stick" in case you inadvertently put them on a line where PHP doesn't have code generated for. The case is lined out in an article that I wrote that about a year ago, and which was first implemented in Xdebug 2.8 (on request from JetBrains, FWIW).

I'll try to explain what happens. If you set xdebug.remote_log_level to 10, the xdebug log file will corroborate what I say as well.

Line breakpoints are set with filename and line values, with the intention that Xdebug stops when code on that line gets executed. In some cases (as is explain in my article), PHP doesn't generate internal code on the lines that you expect. Xdebug, with the breakpoint_resolve feature on, will scan backwards and forwards from the given line to see whether it can find an executable line if there is not one on the line that the breakpoint has been set with.

Xdebug does this whenever a new function scope gets entered (which includes entering an included/required file). For this walk through, we look at PHP 7.3. With 7.4 this issue shows up less frequently, because it has optimised some more lines of (internal) code away.

Let's take this as file contents:


1 <?php
2
3 function non_called_function() {
4 $break = 1;
5 return '';
6 }
7
8 function called_function() {
9 $break = 2;
10 return'';
11 }
12
13 called_function();

With breakpoints set on line 4 and 9, when the main script is started, that scope ({main}) only has lines of executable code on line 3, 8, 13, and 14 as this VLD output shows:


filename: /home/derick/dev/php/derickr-xdebug/tests/debugger/bug01727.inc
function name: (null)
number of ops: 8
compiled vars: none
line #* E I O op fetch ext return operands

3 0 E > EXT_STMT
8 1 EXT_STMT
13 2 EXT_STMT
3 INIT_FCALL 'called_function'
4 EXT_FCALL_BEGIN
5 DO_FCALL 0
6 EXT_FCALL_END
14 7 > RETURN 1

As there is no executable line 4 or 9, the resolving mechanism starts at the given line, and scans forwards for a maximum of 5 lines. Which means that 4 becomes 8, and 9 becomes 13. After the resolving happened, Xdebug stops on line 8 (the first "break") as the breakpoint on 4 has now become 8. On the second run the next stop is at line 13 because the breakpoint from 9 was resolved to 13. On the third run, the PHP engine enters the called_function function where it re-resolves the breakpoint that you had originally set on line 9 back to 9, as now PHP can see code there, as is illustrated by VLD again:


function name: called_function
number of ops: 4
compiled vars: none
line #* E I O op fetch ext return operands

8 0 E > EXT_NOP
9 1 EXT_STMT
10 2 EXT_STMT
3 > RETURN

And hence, it stops as a third time on line 9, where you had expected that PHP/Xdebug would have stopped the first time.

The scanning of 5 lines forwards was picked as a compromise between not missing lines of code to be executed, and also to make sure that it wouldn't read "outside of the function". The latter seems to have happened here, because your functions are really short, and neither of them have a usually customary docblock either. I believe this is an outlier, as so much code in for example this Symfony file shows: https://github.com/symfony/symfony/blob/master/src/Symfony/Component/DomCrawler/Crawler.php#L205 — as docblocks are usually at least 5 lines large, the situation that you ran into here is almost never a problem, although of course, an occasional false positive can occur.

Now the question is, does it warrant reducing the max scan lines from 5 to something shorter, with the added change to miss executable lines further from where you think they would have been, or not?

derick

2020-01-13 00:09

administrator   ~0005214

This is now fixed in the xdebug_2_9 branch in GIT. It would be lovely if you could try this out before I put it in a release!

rfay

2020-01-14 21:16

reporter   ~0005216

I confirm that this fix works, at least given the original report.

Using the code from the report in https://github.com/drud/ddev/issues/1996:

Ubuntu 18.04, php-dev (7.2)

  • Checked out xdebug 2.8.1 and built it with rebuild.sh and repeated the issue as described.
  • Checked out xdebug master (aabc2f504fe07fc2429aeee4f8ed8bd940bf013a) and built it with rebuild.sh and was no longer able to recreate the issue, and breakpoints behaved as expected.
  • I didn't do a particularly extensive test, just tested this trivial section, but the problem appears to be resolved.

The xdebug version 3.0.0-dev of the master build did confuse me :)

Thanks for all the effort on this @derick ! And thanks for the years of effort maintaining a fundamental resource.

janw.me

2020-01-26 21:53

reporter   ~0005224

@derick,
Thanks for the fix it works now

Issue History

Date Modified Username Field Change
2019-12-09 09:23 janw.me New Issue
2019-12-09 09:23 janw.me File Added: xdebug-test.php.png
2019-12-09 09:23 janw.me File Added: xdebug-remote.log
2019-12-09 09:23 janw.me File Added: xdebug-test.php
2019-12-09 09:23 janw.me File Added: x-debug ini settings.png
2019-12-12 17:35 derick Note Added: 0005207
2020-01-12 14:48 derick Summary PHPStrorm stops on function definition => Debugger stops more often than expected due to resolving breakpoints
2020-01-12 14:48 derick Target Version => 2.9.1
2020-01-13 00:09 derick Assigned To => derick
2020-01-13 00:09 derick Status new => closed
2020-01-13 00:09 derick Resolution open => fixed
2020-01-13 00:09 derick Fixed in Version => 2.9.1
2020-01-13 00:09 derick Note Added: 0005214
2020-01-14 21:16 rfay Note Added: 0005216
2020-01-26 21:53 janw.me Note Added: 0005224
2020-03-12 16:33 derick Category Remote Debugging => Step Debugging