更新时间:2021-07-22 09:35:15
在此感谢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.