Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
tools
vsnet.act
vsnet.debugging
vsnet.documentation
vsnet.enterprise.tools
vsnet.general
vsnet.ide
vsnet.jlca
vsnet.servicepacks
vsnet.setup
vsnet.vsip
vsnet.vss
vsnet.vstools.office
vstudio.development
vstudio.extensibility
vstudio.general
vstudio.helpauthoring
vstudio.setup
vstudio.sourcesafe
  
 
date: Fri, 1 Feb 2008 11:09:44 -0000,    group: microsoft.public.vstudio.helpauthoring        back       


VS 2005 Hangs whilst adding XML Documentation Comments + auto recovery not helping   
I'm finding that VS hangs then crashes when editing XML doc comments.

I'm trying to document a library of C# classes and am frequently having the
VS lock up (high cpu use) then given time crashing.

It seems to be happen when editing <see or <![CDATA[ elements but that could
be subjective.  Whilst I can repro with an exact set of steps I'm pretty
much guaranteed crash after editing a couple of members with more than
simple <summary> and <remark> elements.

What makes it worse is that auto recovery doesn't help.  Its like it doesn't
know I've made any changes.

Anyone else experiencing these problems or can shed some light on why Auto
recovery might not help? (Yes I have check that is enabled ;)

-- 
Anthony Jones - MVP ASP/ASP.NET
date: Fri, 1 Feb 2008 11:09:44 -0000   author:   Anthony Jones

Re: VS 2005 Hangs whilst adding XML Documentation Comments + auto recovery not helping   
"Anthony Jones"  wrote in message
news:e8Yd0LMZIHA.5348@TK2MSFTNGP03.phx.gbl...
> I'm finding that VS hangs then crashes when editing XML doc comments.
>
> I'm trying to document a library of C# classes and am frequently having
the
> VS lock up (high cpu use) then given time crashing.
>
> It seems to be happen when editing <see or <![CDATA[ elements but that
could
> be subjective.  Whilst I can repro with an exact set of steps I'm pretty
> much guaranteed crash after editing a couple of members with more than
> simple <summary> and <remark> elements.
>
> What makes it worse is that auto recovery doesn't help.  Its like it
doesn't
> know I've made any changes.
>
> Anyone else experiencing these problems or can shed some light on why Auto
> recovery might not help? (Yes I have check that is enabled ;)
>


I have a repeatable Repro for I wonder if some else could confirm this bug:-

1: open a new C# console project
2: enter /// above the static main
3: inside <summary> enter < and select <![CDATA[ from the list
4: enter < VS locks up and will eventually crash

Ta,

-- 
Anthony Jones - MVP ASP/ASP.NET
date: Fri, 1 Feb 2008 16:19:35 -0000   author:   Anthony Jones

Re: VS 2005 Hangs whilst adding XML Documentation Comments + auto recovery not helping   
>I have a repeatable Repro for I wonder if some else could confirm this bug:-
>
>1: open a new C# console project
>2: enter /// above the static main
>3: inside <summary> enter < and select <![CDATA[ from the list
>4: enter < VS locks up and will eventually crash

Just to make sure I've followed your instructions correctly, I end up
with a block like this:

		/// <summary>
		/// <![CDATA[<]]>
		/// </summary>
		/// <param name="args"></param>

I don't have VS2005 installed, but VS2008 didn't lock up or crash for
me.

Having said that, if I delete that summary block and try to repeat the
instructions, it will no longer put in the CDATA item - it lists it,
but selecting it and pressing enter does nothing. The !-- item also
doesn't work, though other items in the list do!

Now it's in that state it appears to be stuck that way - even closing
VS2008 and starting a new project I can't enter the items beginning
with ! There's something weird going on there.

Dave
date: Fri, 01 Feb 2008 21:35:42 +0000   author:   David Lowndes lid

Re: VS 2005 Hangs whilst adding XML Documentation Comments + auto recovery not helping   
"David Lowndes" <DavidL@example.invalid> wrote in message
news:9f37q39ajd33uueqq5dvjbs9vf3727rkfm@4ax.com...
> >I have a repeatable Repro for I wonder if some else could confirm this
bug:-
> >
> >1: open a new C# console project
> >2: enter /// above the static main
> >3: inside <summary> enter < and select <![CDATA[ from the list
> >4: enter < VS locks up and will eventually crash
>
> Just to make sure I've followed your instructions correctly, I end up
> with a block like this:
>
> /// <summary>
> /// <![CDATA[<]]>
> /// </summary>
> /// <param name="args"></param>
>
> I don't have VS2005 installed, but VS2008 didn't lock up or crash for
> me.
>
> Having said that, if I delete that summary block and try to repeat the
> instructions, it will no longer put in the CDATA item - it lists it,
> but selecting it and pressing enter does nothing. The !-- item also
> doesn't work, though other items in the list do!
>
> Now it's in that state it appears to be stuck that way - even closing
> VS2008 and starting a new project I can't enter the items beginning
> with ! There's something weird going on there.
>


Thanks. I was considering whether moving on to VS2008 but is sounds like the
team working on this feature still have some work to do.

-- 
Anthony Jones - MVP ASP/ASP.NET
date: Sat, 2 Feb 2008 15:02:18 -0000   author:   Anthony Jones

Re: VS 2005 Hangs whilst adding XML Documentation Comments + auto recovery not helping   
>> >1: open a new C# console project
>> >2: enter /// above the static main
>> >3: inside <summary> enter < and select <![CDATA[ from the list
>> >4: enter < VS locks up and will eventually crash

I can reproduce this on VS2005 (+SP1).

>> Just to make sure I've followed your instructions correctly, I end up
>> with a block like this:
>>
>> /// <summary>
>> /// <![CDATA[<]]>
>> /// </summary>
>> /// <param name="args"></param>
>>
>> I don't have VS2005 installed, but VS2008 didn't lock up or crash for
>> me.
>>
>> Having said that, if I delete that summary block and try to repeat the
>> instructions, it will no longer put in the CDATA item - it lists it,
>> but selecting it and pressing enter does nothing. The !-- item also
>> doesn't work, though other items in the list do!
>>
>> Now it's in that state it appears to be stuck that way - even closing
>> VS2008 and starting a new project I can't enter the items beginning
>> with ! There's something weird going on there.

I've just noted that the above hasn't happened on a second VS2008
system I've tried it on. The first VS2008 system also had Visual
Assist X on it and now I've disabled it that weird behaviour has
disappeared - so that appears to be a Visual Assist X issue.

>Thanks. I was considering whether moving on to VS2008 but is sounds like the
>team working on this feature still have some work to do.

VS2008 on its own does appear to be OK. :)

Dave
date: Mon, 04 Feb 2008 12:02:31 +0000   author:   David Lowndes lid

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us