For Programmers: Free Programming Magazines  


Home > Archive > Visual Studio > July 2004 > Microsoft Visual Studio .NET will freeze when using the following line of code









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Microsoft Visual Studio .NET will freeze when using the following line of code
G. Tarazi

2004-07-15, 9:00 pm

The code completion will freeze Microsoft Visual Studio.NET when pressing Shift+9 in the attached sample



Some of the code used:

private void Form1_Load(object sender, System.EventArgs e)

{

x0123456789. x012345678901234567890123456789012345678
9x01234567890123456789012345678901234567
89. c012345678901234567890123456789012345678
9x01234567890123456789012345678901234567
89 x = new x0123456789. x012345678901234567890123456789012345678
9x01234567890123456789012345678901234567
89. c012345678901234567890123456789012345678
9x01234567890123456789012345678901234567
89();



x. A012345678901234567890123456789012345678
9012345678901234567890123456789012345678
90123456789

}



The crash will happen at the end of this line

x. A012345678901234567890123456789012345678
9012345678901234567890123456789012345678
90123456789

Just download the sample, comment this line, compile it, uncomment the line, go to the end of the line, and press shift + 9 for (



The VS.NET 2003 environment will freeze



The function name is long, but it is happening daily in our project when using a very large typed dataset.



What should I do, how can we get a hot fix for that?



Thanks

G. Tarazi

2004-07-15, 9:00 pm

here are 2 additional screenshots, can anyone else reproduce this?

Thanks

"G. Tarazi" <Tarazi (at) LiveTechnologies.ca> wrote in message news:etDZR7qaEHA.2944@TK2MSFTNGP11.phx.gbl...
The code completion will freeze Microsoft Visual Studio.NET when pressing Shift+9 in the attached sample



Some of the code used:

private void Form1_Load(object sender, System.EventArgs e)

{

x0123456789. x012345678901234567890123456789012345678
9x01234567890123456789012345678901234567
89. c012345678901234567890123456789012345678
9x01234567890123456789012345678901234567
89 x = new x0123456789. x012345678901234567890123456789012345678
9x01234567890123456789012345678901234567
89. c012345678901234567890123456789012345678
9x01234567890123456789012345678901234567
89();



x. A012345678901234567890123456789012345678
9012345678901234567890123456789012345678
90123456789

}



The crash will happen at the end of this line

x. A012345678901234567890123456789012345678
9012345678901234567890123456789012345678
90123456789

Just download the sample, comment this line, compile it, uncomment the line, go to the end of the line, and press shift + 9 for (



The VS.NET 2003 environment will freeze



The function name is long, but it is happening daily in our project when using a very large typed dataset.



What should I do, how can we get a hot fix for that?



Thanks

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com