FIX: Slow performance when you step through a method that accesses a large XML element in Visual Studio 2010

Symptoms

Consider the following scenario:

  • You debug a Microsoft Visual Basic application in Microsoft Visual Studio 2010.

  • The application calls any method that has a variable that contains a large XML element. For example, the application calls the XElement.Parse method to access a large XML element. The XML element is used as a local variable, as a local field, or as a local parameter.

  • You step through the method in Visual Studio 2010, then the XML element is displayed in the Locals, Autos, or Call Stack window.

In this scenario, Visual Studio 2010 might be slow when you step through the method.

Cause

This issue occurs because the debugging components of Visual Basic handle the XML element incorrectly.

When the XML element is displayed in the Locals, Autos, or Call Stack window as a local variable, as a local field, or as a local parameter, the XML element is handled incorrectly.

Resolution

Hotfix information

A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

To resolve this problem, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft website:

http://support.microsoft.com/contactus/?ws=supportNote In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

Prerequisites

To apply this hotfix, you must have Microsoft Visual Studio 2010 Service Pack 1 (SP1) installed.

Restart requirement

You must restart the computer after you install this hotfix if the affected files are being used.

We recommend that you close all instances of Microsoft Visual Studio before you install this hotfix.

File information

The global version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.

File name

File version

File size

Date

Time

Platform

Msvbide.dll

10.0.40219.335

5,556,560

20-Jul-2011

17:55

x86

Vbdebug.dll

10.0.40219.335

2,956,112

20-Jul-2011

17:55

x86

Vbdebug.dll

10.0.40219.335

3,924,304

21-Jul-2011

00:47

x64

Vbdebug.dll

10.0.40219.335

7,807,312

21-Jul-2011

00:47

IA-64



Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.

×