Solved

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

Posted on 2013-01-03
7
7,099 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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

This very simple solution applies to a narrow cross-section of the "needs to close" variety. In this case, the full message in Event Viewer was in applog, Event ID 1000: Faulting application iexplore.exe, version 8.0.6001.18702, faulting module …
Article by: Leon
Software Metering within our group of companies has always been an afterthought until auditing of software and licensing became a pain point. Orchestrator and SCCM metering gave us the answer and it was an exciting process.
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

760 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now