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
"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
>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
"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
>> >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