更新时间:2021-12-07 08:31:27
这就是答案,感谢 Hans Passant.请注意,此解决方案会引发其他问题.
Here is the answer, thanks to Hans Passant. Note that this solution raises additional questions.
确保 https://referencesource.microsoft.com/ 包含您的确切版本调试.
Ensure https://referencesource.microsoft.com/ contains the exact version you're debugging.
按照此处指定的方式配置 Visual Studio:https://referencesource.microsoft.com/setup.html
Configure Visual Studio as specified here: https://referencesource.microsoft.com/setup.html
确认符号加载到模块窗口中,包括源索引.
Confirm symbols are loaded in the Modules window, with source indexing included.
Microsoft 可以通过提供有用的错误消息而不是默默地失败来使这个过程更加健壮.
Microsoft could make this process a lot more robust by giving helpful error messages instead of silently failing.