我正在尝试调试我的 Visual Studio C# Blazor 项目,但是每当我尝试设置断点时,我都会收到错误“当前不会命中断点。未绑定断点。” 或“尚未加载任何符号。” 我一直能够调试直到最新的视觉版本。我已经尝试过以下方法:
如果有人能给我任何关于如何解决这个问题的建议,我将不胜感激。
我用的是vscode。我无法调试“独立”(或“托管”)blazor wasm。
类似的问题有很多,但它们都是针对 RC、.NET 6 明显修复的错误或 SDK 6.0.102 中明显修复的工具错误。
我阅读了所有文档。我怀疑这个问题是由于已知的热重载兼容性错误而变得更加复杂。
我了解一切的最新情况。我在 Linux (ubuntu 20) 上使用 chromium。
当我尝试调试时,我在弹出窗口中收到此错误:
Unable to launch browser: "Failed to launch browser!
ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process.
WARNING: Kernel has no file descriptor comparison support: Operation not permitted
ERROR:process_singleton_posix.cc(341)] Failed to create /home/username/.config/Code/User/workspaceStorage/4208cd9cd69c4fe2a941aed538319caa/ms-vscode.js-debug/.profile/SingletonLock: Permission denied (13)
ERROR:chrome_browser_main.cc(1432)] Failed to create a ProcessSingleton for your profile directory. This means that running multiple instances would start multiple browser processes rather than …Run Code Online (Sandbox Code Playgroud)