sjimmerson

I am running Visual Studio 2005 SP1 on Windows XP SP2. When editing XML code comments the IDE locks up/freezes on me when entering certain characters like < and >. It only appears to occur when the section I am editing contains a CDATA node, but it happens every time in this situation. When this occurs I have to kill the IDE and restart it and has proven to be very frustrating. If I take the CDATA node out it works fine. I did not have this problem before installing VS2005 SP1.

For example, if I edit the following comments by typing < to insert a new node, the IDE locks up, but if I take the CDATA node out I can edit the section. Is this a known issue Is there a hotfix Any other suggestions

/// <summary>

///

/// </summary>

/// <param name="propertyName"></param>

/// <param name="propertyValue"></param>

/// <remarks>

/// <code><![CDATA[]]></code>

/// </remarks>

/// <exception cref="ArgumentNullException">

/// Thrown when <b>propertName</b> is null or empty.

/// </exception>

/// <exception cref="ArgumentOutOfRangeException">

/// Thrown when <b>propertyName</b> does not exist in the InstallShield XML project file.

/// </exception>



Re: Visual C# IDE IDE Locks up/Freezes When Editing XML Code Comments

CareyCilyok

I get identical behavior. This also only began to occur after installing VS2005 SP1.

Dell Latitude D820
Intel(R) Core(TM)2 CPU
T7200 @ 2.00GHz
2.00 GB RAM
OS: Windows XP Professional SP2

All updates installed through KB929338

Carey





Re: Visual C# IDE IDE Locks up/Freezes When Editing XML Code Comments

Josh Stevens - MSFT

Please enter a report on http://connect.microsoft.com. That will help us track and address the bug.

Thanks!
-Josh





Re: Visual C# IDE IDE Locks up/Freezes When Editing XML Code Comments

Jeremy Meng MSFT

Correct me if I am wrong, I believe this is the same problem in another thread.

http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1175388&SiteID=1






Re: Visual C# IDE IDE Locks up/Freezes When Editing XML Code Comments

sjimmerson

Yes, that looks like it is the same issue.

I am able to copy and paste into XML Code Comments that contain characters that would otherwise cause Visual Studio to locks up, but that is totally against the grain of what i normally do so I usually lose all changes up to that point. Sometimes VS2005 will recover the changes sometimes it won't. Seems that due to the potential loss of information (code), time, etc. this would be considered a serious bug with a high priority for getting it corrected and released.

I write a lot of custom tasks for MSBuild and am constantly putting XML examples of the custom task in the code comments. This issue makes it very difficult to do that though.

Oh and you don't have to type within the CDATA node either. If I type a < anywhere in the code comment section VS2005 locks up.

Please provide the fix for this issue!!

Shane





Re: Visual C# IDE IDE Locks up/Freezes When Editing XML Code Comments

craig kelly-soens xpectworld.net

Message to Shane - sjimmerson

Sorry this is the only way to get hold of you, shane did yousort out your sql server 2005 express sp2 issues

im in the same boat.

Help appreciated, Thanks,C






Re: Visual C# IDE IDE Locks up/Freezes When Editing XML Code Comments

HeeJae Chang

this is known issue in SP1. the bug is fixed in Orcas. the only way to avoid it is not using <!-- --!> or paste the XML doc comment that contains --!> rather than typing it.

- heejae