Solved

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

Posted on 2013-01-03
7
7,394 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

As with any other System Center product, the installation for the Authoring Tool can be quite a pain sometimes. This article serves to help you avoid making these mistakes and hopefully save you a ton of time on troubleshooting :)  Step 1: Make sur…
Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …
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…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses

623 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