Visual Studio 2010:Web 应用程序调试速度非常慢! [英] Visual Studio 2010: very slow web applications debugging!

查看:19
本文介绍了Visual Studio 2010:Web 应用程序调试速度非常慢!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近安装了 Visual Studio 2010(终极版,最终版于 4 月发布),发现调试 Web 应用程序变得非常慢(比 Visual Studio 2008 慢 2-3 倍)!

我使用相同的 Web 应用程序并检查了其中一个页面在 VS 2008 和 VS 2010 中的加载速度,并比较了加载页面所需的时间.

我使用 2 种方法对其进行了测试:1) 在 ASP.NET 开发服务器下调试(通过按开始"按钮)和 2)使用 ASP.NET 开发服务器而不进行调试(通过使用在浏览器中查看"菜单命令).

我得到了 Visual Studio 2008 和 2010 的以下结果.

1) 没有调试的 ASP.NET 开发服务器(在浏览器中查看"):页面加载速度在 VS 2008 和 2010 中相同.>

2) 在 ASP.NET 开发服务器下调试(开始"按钮):在 VS 2010 中,页面加载时间比在 VS 2008 中要长 - VS 2010 调试是 2-比 VS 2008 慢 3 倍

3) 同时,在 VS 2008 中调试 Web 应用程序时,与仅使用在浏览器中查看"命令相比,加载页面所需的时间相同.也就是说,VS 2008 调试不会为网页浏览器中的页面加载引入任何开销

我想确保其他人也有同样的问题,在 VS 2010 中调试 Web 应用程序很慢.这个问题可以通过任何方式解决吗?

顺便说一句,我使用的是 Windows XP SP3.

谢谢.

解决方案

禁用 Intellitrace(历史调试器) - 它允许在调试期间回到过去",但会减慢调试速度.

您可以从选项->intellitrace 中禁用它

I recently installed Visual Studio 2010 (Ultimate edition, final version released in April), and found that debugging a web application became very slow (2-3 times slower than in Visual Studio 2008)!

I took the same web application and checked the speed of loading of one of its pages in VS 2008 and VS 2010, and compared the time it takes to load the page.

I tested it using 2 approaches: 1) debugging under ASP.NET Development Server (by pressing the "Start" button) and 2) using ASP.NET Development Server without debugging (by using the "View in Browser" menu command).

And I got the following results for Visual Studio 2008 and 2010.

1) ASP.NET Development Server withoud debugging ("View in Browser"): the speed of page loading is the same in VS 2008 and 2010.

2) Debugging under ASP.NET Development Server ("Start" button): in VS 2010 the page takes more time to load than in VS 2008 - VS 2010 debugging is 2-3 times slower than in VS 2008!

3) At the same time, when debugging a web application in VS 2008, it takes the same time to load the page compared to when using only the "View in Browser" command. That is, VS 2008 debugging does not introduce any overhead to page loading in the web browser!

I wanted to make sure that other people have the same problem with slow debugging of web applications in VS 2010. Can this issue be solved by any means?

BTW, I am using Windows XP SP3.

Thank you.

解决方案

Disable Intellitrace (historical debugger) - it enable jumping "back in time" during debug but it slows down debugging.

You can disable it from the options->intellitrace

这篇关于Visual Studio 2010:Web 应用程序调试速度非常慢!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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