开发者

Very very slow debugging in ASP.NET 4 for Visual studio 2010

when i debug my asp.net web-application it is very slow on my machine when i debug.

are their开发者_高级运维 any way to make this fast like in MVC we exclude the file if not want.


Your question is rather vague. What exactly is slow about it? The application execution, the time it takes to launch the application?

If the application takes a long time to start, one thing you might want to try is to go to the Debug menu and choose Delete All Breakpoints. Breakpoints don't make slower under normal conditions, but as you change your code, some breakpoint locations may become invalid. Having those arround can slow it down a lot. So clear all the breakpoints and only set the ones you need.


try 127.0.0.1 instead of localhost or alter C:\Windows\System32\drivers\etc\hosts

127.0.0.1       localhost
::1             localhost

To

127.0.0.1       localhost
#::1             localhost
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜