Solved

Visual Studio 2012 now very slow when starting to debug a website

Posted on 2013-01-03
7
7,226 Views
Last Modified: 2013-01-12
I'm working on a .NET 4 website which accesses a sql server database, using Visual Studio 2012 Pro (version 11.0.51106.1 Q11REL)

When I hit "Start Debugging", it launches IE9 (blank), then loads symbols, then displays the specific page in the start action.

Suddenly last week, I went from seeing my page in about 5 seconds to 30-60 seconds!
I didn't change anything significant on my machine (I don't think; maybe I installed Update 1 to VS 2012?).
Update: it's not Update 1. I uninstalled and reinstalled from DVD, and it's still super slow. I even defragged the hard drive before reinstalling.

More specifically, I see the "loading symbols for..." messages, in VS' status bar, at a rate of about 1-2 per second, which is absurd.

Any ideas?

notes:
- this is on a fast laptop (i5, lots of memory, lots of free hard disk space, low CPU utilization)
- the project is set to use VS Development Server and only debug ASP.NET (Edit and Continue is disabled)
- it doesn't matter if I access my local copy or a remote copy of the database
0
Comment
Question by:povjetset
  • 4
  • 3
7 Comments
 
LVL 23

Expert Comment

by:Roopesh Reddy
ID: 38743010
Hi,

Try the solution as suggested in this thread - http://stackoverflow.com/questions/12567984/visual-studio-debugging-loading-very-slow

Hope it helps u...
0
 

Author Comment

by:povjetset
ID: 38744066
Thanks, but I had already seen that thread and those suggestions didn't help (including the more recent posts in that thread).

Also, fyi, if I do "Start without debugging" my website does come up within 2 seconds.
Currently it's a consistent 30 seconds to "Start with debugging"

It used to be fast when debugging, and on a co-worker's machine, the exact same project in VS 2012 does come up quickly in the debugger (5-10 seconds). We've compared a bunch of settings too.
0
 
LVL 23

Expert Comment

by:Roopesh Reddy
ID: 38744254
Hi,

Did you tried installing any updated? I mean Windows Operating System updates?

If not, try it!

Hope it helps u...
0
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 

Author Comment

by:povjetset
ID: 38744409
Everything is up to date via Windows Update
0
 
LVL 23

Assisted Solution

by:Roopesh Reddy
Roopesh Reddy earned 100 total points
ID: 38745995
Hi,

Weird!!!

Mean while, try to post the query in Microsoft Connect - https://connect.microsoft.com/VisualStudio

where Microsoft tech guys will be looking at the issue!

Moreover, you can try clearing the Cache - http://www.symantec.com/connect/downloads/clearing-temp-locations-and-aspnet-cache-system

Hope it helps u...
0
 

Accepted Solution

by:
povjetset earned 0 total points
ID: 38751512
Problem solved: delete all breakpoints
Worked like a charm, now my page comes up in under 1 second!

Apparently if you have a breakpoint set on a function or dll that no longer exists, VS will do a lot of scanning.

Found this via roopeshreddy's Microsoft Connect link:
http://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/98f50717-c842-4bb1-8676-f64d453f80d1

(I guess I didn't have quite the right search terms in google the first time around)
0
 

Author Closing Comment

by:povjetset
ID: 38769712
While roopeshreddy pointed me to a good site to post a question, he didn't point me to the relevant article that already answered it
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lync meeting or Lync conferencing is what many organizations would like to deploy to allow them save money. But companies are now giving up for various reasons, one of which is that they cannot join external meetings (non-federated company meetings)…
User Beware!  This is a rather permanent solution to removing your email from an exchange server.  The only way to truly go back is to have your exchange administrator restore your mailbox from backups.  This is usually the option of last resort.  A…
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question