'"ChromeProxyService: Failed to evaluate expression" error

I get this error when I want to start my project with chrome device via flutter.

The error is as follows; enter image description here

And vs code redirects to this line ; enter image description here

Because of these errors chrome emulator stays on white screen (not working). How do I fix this problem?



Solution 1:[1]

There were some issues with debugging in Chrome after updating to Chrome v100 which have been fixed in Flutter v2.10.5 that may solve these issues:

https://github.com/flutter/flutter/wiki/Hotfixes-to-the-Stable-Channel#2105-april-18-2022

flutter/101224 - Flutter web debugger fails when using chrome 100 or greater.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Danny Tuppeny