我想调试(设置断点)System.Web.Mvc.DefaultControllerFactory,这可能吗? [英] I want to debug (set a breakpoint in) System.Web.Mvc.DefaultControllerFactory, is that possible?

查看:243
本文介绍了我想调试(设置断点)System.Web.Mvc.DefaultControllerFactory,这可能吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个项目,它引用在GAC中System.Web.Mvc组装。我也有从codePLEX的ASP.NET MVC源$ C ​​$ C。我想通过它的方法迈向更好地理解了DefaultControllerFactory的。我怎么能设置呢?

谢谢!


解决方案

  1. 编译MVC code。

  2. 卸载MVC(要确保你没有调试零售位)

  3. 使用您编译的程序集,而不是零售。

I have a project that references the System.Web.Mvc assembly in the GAC. I also have the ASP.NET MVC source code from Codeplex. I want to get a better understanding of the DefaultControllerFactory by stepping through its methods. How could I set this up?

Thanks!

解决方案

  1. Compile the MVC code.
  2. Uninstall the MVC (To make sure you don't debug the retail bits)
  3. Use the assembly that you compiled, instead of the retail.

这篇关于我想调试(设置断点)System.Web.Mvc.DefaultControllerFactory,这可能吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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