哪里可以找到ASP.NET MVC 4.0 RTM符号? [英] Where are the symbols for ASP.NET MVC 4.0 RTM?

查看:178
本文介绍了哪里可以找到ASP.NET MVC 4.0 RTM符号?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想配置Visual Studio 2012中,让我步入ASP.NET MVC 4.0源$ C ​​$ C。 ( System.Web.Mvc.dll程序)。我已经按照 SymbolSource的推荐配置但是当我尝试加载符号,Visual Studio中无法找到他们。


  

推荐配置


  
  

要配置Visual Studio的符号/服务器
  使用,请按照以下说明:


  
  

      
  1. 进入工具 - >选项 - >调试 - >常规

  2.   
  3. 取消选中启用仅我的code(仅限托管)。

  4.   
  5. 取消选中启用.NET框架源步进。
      是的,这是一种误导,但如果你不这样做,那么Visual Studio将
      忽略你的自定义服务器订单(另见上)。

  6.   
  7. 选中启用源
      服务器支持。

  8.   
  9. 取消选中要求源文件完全匹配
      原始版本

  10.   
  11. 进入工具 - >选项 - >调试 - >符号。
      选择本地符号/源缓存文件夹。

  12.   
  13. 添加符号服务器
      在符号文件(.PDB)的位置。需要注意的是正确的
      顺序,因为有些服务器可能包含相同的二进制符号:
      带或不带源。我们建议如下设置:
      

  14.   

我知道源$ C ​​$ C是codePLEX使用 ,但是我特别感兴趣在使用符号服务器,而不必从GAC unreference MVC和引用当地建造装配步入code。

任何人都有成功与MVC 4.0要这样做呢?


解决方案

只需添加,供应更多的则只是主要版本符号服务器。

试试这个,包含最微小的基础之上。

  http://srv.symbolsource.org/pdb/Public

验证:

VS运行以​​管理员身份。

检查一些已下载到你的符号缓存目录。

转到只选择指定的模块。
添加System.Web.Mvc.dll程序

设置在code一个破发点。开始调试。
当断点命中单击鼠标右键调用堆栈中的任何mvc.dll一行。验证符号被加载。
如果加载,尝试dubbleclick在一个调用堆栈排开MVC源。

找回来,你有麻烦了。

I'm trying to configure Visual Studio 2012 to allow me to step into ASP.NET MVC 4.0 source code. (System.Web.Mvc.dll). I've followed SymbolSource's recommended configuration but when I try to load the symbols, Visual Studio can't locate them.

Recommended configuration

To configure Visual Studio for symbol/server use, follow these instructions:

  1. Go to Tools -> Options -> Debugger -> General.
  2. Uncheck "Enable Just My Code (Managed only)".
  3. Uncheck "Enable .NET Framework source stepping". Yes, it is misleading, but if you don't, then Visual Studio will ignore your custom server order (see further on).
  4. Check "Enable source server support".
  5. Uncheck "Require source files to exactly match the original version"
  6. Go to Tools -> Options -> Debugger -> Symbols. Select a folder for the local symbol/source cache.
  7. Add symbol servers under "Symbol file (.pdb) locations". Pay attention to the correct order, because some servers may contain symbols for the same binaries: with or without sources. We recommend the following setup:

I am aware that the source code is available on CodePlex, however I'm specifically interested in stepping into the code using a symbol server instead of having to unreference Mvc from the GAC and reference a locally built assembly.

Has anyone had success doing this with MVC 4.0?

解决方案

Just add a symbol server that serves more then just major releases.

Try this one, contains most minor builds.

http://srv.symbolsource.org/pdb/Public

Verify:

Run VS as administrator.

Check that something have been downloaded to your symbol cache directory.

Goto select only specified modules. Add "System.Web.Mvc.dll"

Set a break point in your code. Start debug. When break point hits rightclick in callstack on any mvc.dll row. Verify that symbols are loaded. if loaded, try dubbleclick on one callstack row to open mvc source.

Get back with where you get in trouble.

这篇关于哪里可以找到ASP.NET MVC 4.0 RTM符号?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆