473,394 Members | 1,696 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Intermittent VS.Net Pauses during VB.NET code writing

IN VS.NET 2005, I have a form with over 20,000 lines of code. Frequently,
both during debug or non-debug code editing, VS.NET freezes for up to 30 or
60 seconds to collect its thoughts. I think others may be experiencing this
problem if they are editing a class with a large amount of code. Here is how
I learned to deal with it.

I open the Windows Task Manager and set it to the Processes Tab and Sort by
CPU. I then highlight devenv.exe and watch its behavior. When it is the
first item in the list, I know I am frozen and just wait. When it moves down
the list, I can then begin (or resume) my editing. This solution does not
eliminate the pauses but it makes it easier to know when you can resume your
code development.

Mar 2 '06 #1
3 947
turn off autosave recovery information it will stop that
"genojoe" <ge*****@discussions.microsoft.com> wrote in message
news:6F**********************************@microsof t.com...
IN VS.NET 2005, I have a form with over 20,000 lines of code. Frequently,
both during debug or non-debug code editing, VS.NET freezes for up to 30
or
60 seconds to collect its thoughts. I think others may be experiencing
this
problem if they are editing a class with a large amount of code. Here is
how
I learned to deal with it.

I open the Windows Task Manager and set it to the Processes Tab and Sort
by
CPU. I then highlight devenv.exe and watch its behavior. When it is the
first item in the list, I know I am frozen and just wait. When it moves
down
the list, I can then begin (or resume) my editing. This solution does not
eliminate the pauses but it makes it easier to know when you can resume
your
code development.

Mar 2 '06 #2
Thanks. I was hoping for this type of response.

I did not know that Autorevover existed. Instead of turning off, I
increased it to 15 minutes.

Again Thanks.
Mar 2 '06 #3
I have disabled autorecovery completely. With my large class, the pauses are
sufficiently frequent to make my crutch for seeing when the code again is
editable valuable to me.

This is especially true when doing code editing during debug.
Mar 3 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: NeverLift | last post by:
I've carefully constructed my home page so it will display on any reasonable resolution monitor with no scrolling required and, to ensure that happens, my <body> element includes an OnLoad that...
0
by: deevoy | last post by:
Hi- I'm developing a asp.net web application and everything has proven fine on the dev and acceptance environment. We've moved the code up to our windows server 2003 prod environment and get the...
0
by: scotthutchinson | last post by:
I have a .NET Remoting object hosted in IIS6 on Windows Server 2003 (happens before and after installing SP1) at an endpoint (ASP.NET application virtual folder) named "CompanyXYZReporting". The...
1
by: deevoy | last post by:
Hi- I'm developing a asp.net web application and everything has proven fine on the dev and acceptance environment. We've moved the code up to our windows server 2003 prod environment and get...
3
by: Don | last post by:
I have a strange bug popping up every once in a while. I've got a section of code that executes these statements when working with a streamwriter: --- Start --- .... ' Close the...
0
by: Shane C | last post by:
Intermittent Error: Server was unable to process request  Object reference not set to an instance of an object I have windows application that references a XML web service on our web server. ...
0
by: Brano | last post by:
Hi all, I have a asp.net website that has been live for about 2 weeks now and there were no problems with it. I have got a new server that is Win 2003 IIS 6.0 I have moved my application onto...
1
by: genojoe | last post by:
I have a Windows Form VB.NET application with many, many menu items, and thousands of lines of code in the form class. I have upgraded it to VS 2005 and am now very unhappy with periodic delays...
5
by: ApexData | last post by:
I am, intermittently, getting the following error: Error5 Invalid Procedure Call or Argument intCounter is Global, and OnLoad initialized to 0 Any Ideas ??? Private Sub Form_Timer() 'My...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.