View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001735 | Xdebug | Step Debugging | public | 2020-01-17 12:28 | 2020-01-17 17:55 |
Reporter | dnsnx | Assigned To | derick | ||
Priority | normal | Severity | block | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 2.9.0 | ||||
Target Version | 2.9.2 | Fixed in Version | 2.9.2 | ||
Summary | 0001735: DBGp eval warning promoted to Exception can cause out-of-sync responses | ||||
Description | I'm having an issue with Visual Studio Code and Xdebug. My System: My issue is: Maybe something is configured wrong, but actually I can't figure out what it is. See here the configuration files: php.ini:
launch.json of Visual Studio Code:
The solution was to clear all breakpoints (even on deleted files) and clear all variables in the "Watch"-section of Visual Studio Code. | ||||
Steps To Reproduce | I can reproduce the error, when I enter variables in the "Watch"-section of Visual Studio Code. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Operating System | Windows 10 | ||||
PHP Version | 7.4.0-7.4.4 | ||||
|
Would you mind putting the log in an attached file? |
|
Log file attached... xdebug_log.log (29,511 bytes)
[21784] Log opened at 2020-01-17 08:29:56 [21784] I: Connecting to configured address/port: localhost:9000. [21784] I: Connected to client. :-) [21784] -> <init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" fileuri="file:///D:/Files/Company/Project/public/index.php" language="PHP" xdebug:language_version="7.4.0-dev" protocol_version="1.0" appid="21784" idekey="VSCODE"><engine version="2.9.0"><![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> [21784] <- breakpoint_list -i 1 [21784] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="breakpoint_list" transaction_id="1"></response> [21784] <- breakpoint_set -i 2 -t line -f file:///d:/Files/Company/Project/app/Http/Controllers/Auth/AuthController.php -n 101 [21784] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="breakpoint_set" transaction_id="2" id="217840005"></response> [21784] <- breakpoint_list -i 3 [21784] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="breakpoint_list" transaction_id="3"><breakpoint type="line" filename="file:///D:/Files/Company/Project/app/Http/Controllers/Auth/AuthController.php" lineno="101" state="enabled" hit_count="0" hit_value="0" id="217840005"></breakpoint></response> [21784] <- breakpoint_list -i 4 [21784] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="breakpoint_list" transaction_id="4"><breakpoint type="line" filename="file:///D:/Files/Company/Project/app/Http/Controllers/Auth/AuthController.php" lineno="101" state="enabled" hit_count="0" hit_value="0" id="217840005"></breakpoint></response> [21784] <- breakpoint_set -i 5 -t exception -x * [21784] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="breakpoint_set" transaction_id="5" id="217840006"></response> [21784] <- run -i 6 [21784] -> <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:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Encryption/BaseEncrypter.php" lineno="44" exception="Illuminate\Contracts\Encryption\DecryptException"><![CDATA[The payload is invalid.]]></xdebug:message></response> [21784] <- run -i 7 [21784] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="run" transaction_id="7" status="break" reason="ok"><xdebug:message filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Encryption/BaseEncrypter.php" lineno="44" exception="Illuminate\Contracts\Encryption\DecryptException"><![CDATA[The payload is invalid.]]></xdebug:message></response> [21784] <- run -i 8 [21784] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="run" transaction_id="8" status="break" reason="ok"><xdebug:message filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Encryption/BaseEncrypter.php" lineno="44" exception="Illuminate\Contracts\Encryption\DecryptException"><![CDATA[The payload is invalid.]]></xdebug:message></response> [21784] <- run -i 9 [21784] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="run" transaction_id="9" status="break" reason="ok"><xdebug:message filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Encryption/BaseEncrypter.php" lineno="44" exception="Illuminate\Contracts\Encryption\DecryptException"><![CDATA[The payload is invalid.]]></xdebug:message></response> [21784] <- run -i 10 [21784] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="run" transaction_id="10" status="break" reason="ok"><xdebug:message filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Encryption/BaseEncrypter.php" lineno="44" exception="Illuminate\Contracts\Encryption\DecryptException"><![CDATA[The payload is invalid.]]></xdebug:message></response> [21784] <- run -i 11 [21784] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="run" transaction_id="11" status="break" reason="ok"><xdebug:message filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Encryption/BaseEncrypter.php" lineno="44" exception="Illuminate\Contracts\Encryption\DecryptException"><![CDATA[The payload is invalid.]]></xdebug:message></response> [21784] <- run -i 12 [21784] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="run" transaction_id="12" status="break" reason="ok"><xdebug:message filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Encryption/BaseEncrypter.php" lineno="44" exception="Illuminate\Contracts\Encryption\DecryptException"><![CDATA[The payload is invalid.]]></xdebug:message></response> [21784] <- run -i 13 [21784] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="run" transaction_id="13" status="break" reason="ok"><xdebug:message filename="file:///D:/Files/Company/Project/app/Http/Controllers/Auth/AuthController.php" lineno="101"></xdebug:message></response> [21784] <- stack_get -i 14 [21784] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="stack_get" transaction_id="14"><stack where="App\Http\Controllers\Auth\AuthController->register" level="0" type="file" filename="file:///D:/Files/Company/Project/app/Http/Controllers/Auth/AuthController.php" lineno="101"></stack><stack where="call_user_func_array:{D:\Files\Company\Project\vendor\laravel\framework\src\Illuminate\Routing\Controller.php:80}" level="1" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Routing/Controller.php" lineno="80"></stack><stack where="App\Http\Controllers\Auth\AuthController->callAction" level="2" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Routing/Controller.php" lineno="80"></stack><stack where="Illuminate\Routing\ControllerDispatcher->call" level="3" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php" lineno="146"></stack><stack where="Illuminate\Routing\ControllerDispatcher->Illuminate\Routing\{closure:D:\Files\Company\Project\vendor\laravel\framework\src\Illuminate\Routing\ControllerDispatcher.php:92-96}" level="4" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php" lineno="94"></stack><stack where="call_user_func:{D:\Files\Company\Project\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:52}" level="5" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php" lineno="52"></stack><stack where="Illuminate\Routing\Pipeline->Illuminate\Routing\{closure:D:\Files\Company\Project\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:50-58}" level="6" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php" lineno="52"></stack><stack where="call_user_func:{D:\Files\Company\Project\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:102}" level="7" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php" lineno="102"></stack><stack where="Illuminate\Routing\Pipeline->then" level="8" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php" lineno="102"></stack><stack where="Illuminate\Routing\ControllerDispatcher->callWithinStack" level="9" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php" lineno="96"></stack><stack where="Illuminate\Routing\ControllerDispatcher->dispatch" level="10" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php" lineno="54"></stack><stack where="Illuminate\Routing\Route->runController" level="11" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Routing/Route.php" lineno="174"></stack><stack where="Illuminate\Routing\Route->run" level="12" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Routing/Route.php" lineno="140"></stack><stack where="Illuminate\Routing\Router->Illuminate\Routing\{closure:D:\Files\Company\Project\vendor\laravel\framework\src\Illuminate\Routing\Router.php:721-726}" level="13" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Routing/Router.php" lineno="724"></stack><stack where="call_user_func:{D:\Files\Company\Project\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:52}" level="14" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php" lineno="52"></stack><stack where="Illuminate\Routing\Pipeline->Illuminate\Routing\{closure:D:\Files\Company\Project\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:50-58}" level="15" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php" lineno="52"></stack><stack where="App\Http\Middleware\Domain->handle" level="16" type="file" filename="file:///D:/Files/Company/Project/app/Http/Middleware/Domain.php" lineno="51"></stack><stack where="call_user_func_array:{D:\Files\Company\Project\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:136}" level="17" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php" lineno="136"></stack><stack where="Illuminate\Routing\Pipeline->Illuminate\Pipeline\{closure:D:\Files\Company\Project\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:114-137}" level="18" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php" lineno="136"></stack><stack where="call_user_func:{D:\Files\Company\Project\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:32}" level="19" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php" lineno="32"></stack><stack where="Illuminate\Routing\Pipeline->Illuminate\Routing\{closure:D:\Files\Company\Project\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:28-38}" level="20" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php" lineno="32"></stack><stack where="App\Http\Middleware\Locale->handle" level="21" type="file" filename="file:///D:/Files/Company/Project/app/Http/Middleware/Locale.php" lineno="24"></stack><stack where="call_user_func_array:{D:\Files\Company\Project\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:136}" level="22" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php" lineno="136"></stack><stack where="Illuminate\Routing\Pipeline->Illuminate\Pipeline\{closure:D:\Files\Company\Project\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:114-137}" level="23" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php" lineno="136"></stack><stack where="call_user_func:{D:\Files\Company\Project\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:32}" level="24" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php" lineno="32"></stack><stack where="Illuminate\Routing\Pipeline->Illuminate\Routing\{closure:D:\Files\Company\Project\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:28-38}" level="25" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php" lineno="32"></stack><stack where="App\Http\Middleware\VerifyCsrfToken->handle" level="26" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php" lineno="64"></stack><stack where="call_user_func_array:{D:\Files\Company\Project\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:136}" level="27" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php" lineno="136"></stack><stack where="Illuminate\Routing\Pipeline->Illuminate\Pipeline\{closure:D:\Files\Company\Project\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:114-137}" level="28" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php" lineno="136"></stack><stack where="call_user_func:{D:\Files\Company\Project\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:32}" level="29" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php" lineno="32"></stack><stack where="Illuminate\Routing\Pipeline->Illuminate\Routing\{closure:D:\Files\Company\Project\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:28-38}" level="30" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php" lineno="32"></stack><stack where="Illuminate\View\Middleware\ShareErrorsFromSession->handle" level="31" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php" lineno="49"></stack><stack where="call_user_func_array:{D:\Files\Company\Project\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:136}" level="32" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php" lineno="136"></stack><stack where="Illuminate\Routing\Pipeline->Illuminate\Pipeline\{closure:D:\Files\Company\Project\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:114-137}" level="33" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php" lineno="136"></stack><stack where="call_user_func:{D:\Files\Company\Project\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:32}" level="34" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php" lineno="32"></stack><stack where="Illuminate\Routing\Pipeline->Illuminate\Routing\{closure:D:\Files\Company\Project\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:28-38}" level="35" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php" lineno="32"></stack><stack where="Illuminate\Session\Middleware\StartSession->handle" level="36" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php" lineno="64"></stack><stack where="call_user_func_array:{D:\Files\Company\Project\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:136}" level="37" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php" lineno="136"></stack><stack where="Illuminate\Routing\Pipeline->Illuminate\Pipeline\{closure:D:\Files\Company\Project\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:114-137}" level="38" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php" lineno="136"></stack><stack where="call_user_func:{D:\Files\Company\Project\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:32}" level="39" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php" lineno="32"></stack><stack where="Illuminate\Routing\Pipeline->Illuminate\Routing\{closure:D:\Files\Company\Project\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:28-38}" level="40" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php" lineno="32"></stack><stack where="Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle" level="41" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php" lineno="37"></stack><stack where="call_user_func_array:{D:\Files\Company\Project\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:136}" level="42" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php" lineno="136"></stack><stack where="Illuminate\Routing\Pipeline->Illuminate\Pipeline\{closure:D:\Files\Company\Project\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:114-137}" level="43" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php" lineno="136"></stack><stack where="call_user_func:{D:\Files\Company\Project\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:32}" level="44" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php" lineno="32"></stack><stack where="Illuminate\Routing\Pipeline->Illuminate\Routing\{closure:D:\Files\Company\Project\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:28-38}" level="45" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php" lineno="32"></stack><stack where="App\Http\Middleware\EncryptCookies->handle" level="46" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php" lineno="59"></stack><stack where="call_user_func_array:{D:\Files\Company\Project\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:136}" level="47" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php" lineno="136"></stack><stack where="Illuminate\Routing\Pipeline->Illuminate\Pipeline\{closure:D:\Files\Company\Project\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:114-137}" level="48" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php" lineno="136"></stack><stack where="call_user_func:{D:\Files\Company\Project\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:32}" level="49" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php" lineno="32"></stack><stack where="Illuminate\Routing\Pipeline->Illuminate\Routing\{closure:D:\Files\Company\Project\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:28-38}" level="50" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php" lineno="32"></stack><stack where="call_user_func:{D:\Files\Company\Project\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:102}" level="51" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php" lineno="102"></stack><stack where="Illuminate\Routing\Pipeline->then" level="52" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php" lineno="102"></stack><stack where="Illuminate\Routing\Router->runRouteWithinStack" level="53" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Routing/Router.php" lineno="726"></stack><stack where="Illuminate\Routing\Router->dispatchToRoute" level="54" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Routing/Router.php" lineno="699"></stack><stack where="Illuminate\Routing\Router->dispatch" level="55" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Routing/Router.php" lineno="675"></stack><stack where="App\Http\Kernel->Illuminate\Foundation\Http\{closure:D:\Files\Company\Project\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php:243-247}" level="56" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php" lineno="246"></stack><stack where="call_user_func:{D:\Files\Company\Project\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:52}" level="57" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php" lineno="52"></stack><stack where="Illuminate\Routing\Pipeline->Illuminate\Routing\{closure:D:\Files\Company\Project\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:50-58}" level="58" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php" lineno="52"></stack><stack where="Barryvdh\Debugbar\Middleware\Debugbar->handle" level="59" type="file" filename="file:///D:/Files/Company/Project/vendor/barryvdh/laravel-debugbar/src/Middleware/Debugbar.php" lineno="51"></stack><stack where="call_user_func_array:{D:\Files\Company\Project\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:136}" level="60" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php" lineno="136"></stack><stack where="Illuminate\Routing\Pipeline->Illuminate\Pipeline\{closure:D:\Files\Company\Project\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:114-137}" level="61" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php" lineno="136"></stack><stack where="call_user_func:{D:\Files\Company\Project\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:32}" level="62" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php" lineno="32"></stack><stack where="Illuminate\Routing\Pipeline->Illuminate\Routing\{closure:D:\Files\Company\Project\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:28-38}" level="63" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php" lineno="32"></stack><stack where="App\Http\Middleware\VerifyAGB->handle" level="64" type="file" filename="file:///D:/Files/Company/Project/app/Http/Middleware/VerifyAGB.php" lineno="24"></stack><stack where="call_user_func_array:{D:\Files\Company\Project\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:136}" level="65" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php" lineno="136"></stack><stack where="Illuminate\Routing\Pipeline->Illuminate\Pipeline\{closure:D:\Files\Company\Project\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:114-137}" level="66" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php" lineno="136"></stack><stack where="call_user_func:{D:\Files\Company\Project\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:32}" level="67" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php" lineno="32"></stack><stack where="Illuminate\Routing\Pipeline->Illuminate\Routing\{closure:D:\Files\Company\Project\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:28-38}" level="68" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php" lineno="32"></stack><stack where="Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle" level="69" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php" lineno="44"></stack><stack where="call_user_func_array:{D:\Files\Company\Project\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:136}" level="70" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php" lineno="136"></stack><stack where="Illuminate\Routing\Pipeline->Illuminate\Pipeline\{closure:D:\Files\Company\Project\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:114-137}" level="71" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php" lineno="136"></stack><stack where="call_user_func:{D:\Files\Company\Project\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:32}" level="72" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php" lineno="32"></stack><stack where="Illuminate\Routing\Pipeline->Illuminate\Routing\{closure:D:\Files\Company\Project\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:28-38}" level="73" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php" lineno="32"></stack><stack where="call_user_func:{D:\Files\Company\Project\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:102}" level="74" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php" lineno="102"></stack><stack where="Illuminate\Routing\Pipeline->then" level="75" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php" lineno="102"></stack><stack where="App\Http\Kernel->sendRequestThroughRouter" level="76" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php" lineno="132"></stack><stack where="App\Http\Kernel->handle" level="77" type="file" filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php" lineno="99"></stack><stack where="{main}" level="78" type="file" filename="file:///D:/Files/Company/Project/public/index.php" lineno="53"></stack></response> [21784] <- eval -i 15 -- JHJlc3VsdEpzb24= [21784] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="eval" transaction_id="15" status="break" reason="ok"><xdebug:message filename="file://D:/Files/Company/Project/public/xdebug:/debug-eval" lineno="1" exception="ErrorException"><![CDATA[Undefined variable: resultJson]]></xdebug:message></response> [21784] <- context_names -i 16 -d 0 [21784] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="context_names" transaction_id="16"><context name="Locals" id="0"></context><context name="Superglobals" id="1"></context><context name="User defined constants" id="2"></context></response> [21784] <- step_over -i 17 [21784] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="eval" transaction_id="15" status="running" reason="ok"><error code="206"><message><![CDATA[error evaluating code]]></message></error></response> [21784] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="step_over" transaction_id="17" status="break" reason="ok"><xdebug:message filename="file:///D:/Files/Company/Project/app/Http/Controllers/Auth/AuthController.php" lineno="107"></xdebug:message></response> [21784] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" status="break" reason="ok"><xdebug:message filename="file:///D:/Files/Company/Project/vendor/laravel/framework/src/Illuminate/Foundation/Validation/ValidatesRequests.php" lineno="88" exception="Illuminate\Foundation\Validation\ValidationException"><![CDATA[The given data failed to pass validation.]]></xdebug:message></response> [21784] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" status="stopping" reason="ok"></response> [21784] Log closed at 2020-01-17 08:30:05 [21784] Log opened at 2020-01-17 08:30:05 [21784] I: Connecting to configured address/port: localhost:9000. [21784] E: Time-out connecting to client (Waited: 200 ms). :-( [21784] Log closed at 2020-01-17 08:30:06 [21784] Log opened at 2020-01-17 08:30:06 [21784] I: Connecting to configured address/port: localhost:9000. [21784] E: Time-out connecting to client (Waited: 200 ms). :-( [21784] Log closed at 2020-01-17 08:30:07 [21784] Log opened at 2020-01-17 08:30:07 [21784] I: Connecting to configured address/port: localhost:9000. [21784] E: Time-out connecting to client (Waited: 200 ms). :-( [21784] Log closed at 2020-01-17 08:30:07 |
|
I see in the log:
The normal undefined variable message seems to be converted to an ErrorException. Is this something that Laravel does? If so, can you show me a link to that implementation (probably something to do with set_error_handler ). |
|
The PR for this has been merged (https://github.com/xdebug/xdebug/pull/543) and this fix will be part of Xdebug 2.9.2. The story is: This turned out to be a bug in Xdebug, which would happen when the following points are all true:
The cause was that although the eval command turns of breakpoints with a breakpoints_allowed flag until it has been run, the breakpoint handler for exceptions did not check whether this breakpoints_allowed flag was actually set. The fix is to check for the breakpoints_allowed flag in the handler for exception breakpoints. |
Date Modified | Username | Field | Change |
---|---|---|---|
2020-01-17 12:28 | dnsnx | New Issue | |
2020-01-17 12:35 | derick | Assigned To | => derick |
2020-01-17 12:35 | derick | Status | new => feedback |
2020-01-17 12:35 | derick | Note Added: 0005217 | |
2020-01-17 12:39 | dnsnx | File Added: xdebug_log.log | |
2020-01-17 12:39 | dnsnx | Note Added: 0005218 | |
2020-01-17 12:39 | dnsnx | Status | feedback => assigned |
2020-01-17 16:15 | derick | Steps to Reproduce Updated | |
2020-01-17 16:21 | derick | Status | assigned => feedback |
2020-01-17 16:21 | derick | Note Added: 0005219 | |
2020-01-17 16:21 | derick | Note Edited: 0005219 | |
2020-01-17 16:22 | derick | Description Updated | |
2020-01-17 17:32 | derick | Target Version | => 2.9.2 |
2020-01-17 17:32 | derick | Summary | Xdebug - Visual Studio Code - Step into / Step over - Nothing happens => DBGp eval warning promoted to Exception can cause out-of-sync responses |
2020-01-17 17:55 | derick | Status | feedback => closed |
2020-01-17 17:55 | derick | Resolution | open => fixed |
2020-01-17 17:55 | derick | Fixed in Version | => 2.9.2 |
2020-01-17 17:55 | derick | Note Added: 0005220 | |
2020-03-12 16:33 | derick | Category | Remote Debugging => Step Debugging |