Ovi*_*gan 6 c# debugging omnisharp visual-studio-code
我试图在Visual Studio代码中逐步了解ASP网络核心库代码,但不知道如何从根本上禁用“仅我的代码”并附加pdbs。
在断点命中期间检查omnisharp行为的默认堆栈为:
MyNamespace.MyCLass.function()
[External Code] (\Unknown Source:0)
Run Code Online (Sandbox Code Playgroud)
如何调试外部库代码?
launch.json看来我需要根据以下内容编辑 vs code 的 工作区文件:
https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md"justMyCode":false带有,"requireExactSource": false和
的部分
"symbolPath": [ "/Volumes/symbols" ]
现在的问题是符号。无法为 asp net mvc 的公开版本找到 .net core 符号。我必须手动编译https://github.com/aspnet/Mvc以及我感兴趣的所有其他中间件。
| 归档时间: |
|
| 查看次数: |
905 次 |
| 最近记录: |