Solved

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

Posted on 2013-01-03
7
7,355 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 

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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

The canonical version of this article is on my web site here: http://iconoun.com/articles/collisions/ A companion presentation is available here: http://iconoun.com/articles/collisions/Unicode_Presentation.pdf
Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
Viewers will learn how to maximize accessibility options in an Excel workbook for users with accessibility issues.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…

729 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