如何步入MVC4源$ C $ C没有建立组装 [英] How to step into MVC4 source code without building assembly
问题描述
有没有一种简单的方法通过MVC 4源从我的解决方案中的步骤?
Is there an easy way to step through the MVC 4 source from within my solution?
我发现这个问题但解决方案需要建立MVC从源4组装。我想一个符号从服务器查找将是preferable但一直没能做到这一点。
I found this question but the solution requires building the MVC 4 assembly from source. I would think a symbol look up from a server would be preferable but have not been able to make this happen.
想法?
推荐答案
以下符号服务器添加到您的Visual Studio和你是好去:
Add the following symbol servers to your Visual Studio and you are good to go:
- http://referencesource.microsoft.com/symbols
- http://srv.symbolsource.org/pdb/Public
- http://srv.symbolsource.org/pdb/MyGet
- http://msdl.microsoft.com/download/symbols
- http://referencesource.microsoft.com/symbols
- http://srv.symbolsource.org/pdb/Public
- http://srv.symbolsource.org/pdb/MyGet
- http://msdl.microsoft.com/download/symbols
下面是我的怎么是这样的:
Here's how mine look like:
此外,你需要调试器配置使用它们:
Also you need to configure your debugger to use them:
- 工具 - >选项 - >调试 - >常规
- 取消选中启用仅我的code(仅限托管)
- 选中启用.NET框架源步进
- 选中启用源服务器支持
- 取消选中要求源文件的原始版本完全匹配
呵呵,当然不要忘了恢复这些设置回来时,你不再需要.NET源调试或调试可能成为你一个痛苦而缓慢的经历。
Oh and of course don't forget to revert those settings back when you no longer need to debug in .NET sources or otherwise debugging might become a painfully slow experience for you.
这篇关于如何步入MVC4源$ C $ C没有建立组装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!