Sai Stuff to Developers

January 10, 2012

Visual Studio 2010 Debugging Web Application Loading Symbols takes too long?

Filed under: DotNet — tosaik @ 8:47 am

Recently I started a new web Application and after coding when I am trying to run the application through Visual Studio 2010 it’s taking me nearly 5 – 10 minutes depending on the size of the application. I thought too many files are loading when started but when I started researching I came to know that it is due to the downloading symbol files to the temporary location.

For this I found two solutions first solution is silly and recommended but I will mention why.

Solution 1: As my default browser is Internet Explorer, uncheck “Delete Browsing History on Exit” in the Internet Options window as shown below

 

 

 

 

 

 

 

 

 

 

For the first time the symbols are loaded by the browser will be used for next debug of the same application.

The problem with this solution is if you have any changes in the script or css files then it won’t refresh with the latest one instead it will use same old one which it stored at the time of loading symbols.

Solution 2: This is the best solution and simple solution. Open visual studio 2010

Go to Tools -> Options-> Debugging->General and check “Enable Just My Code(Managed only)”

 

 

 

 

 

 

That’s it your problem solved and no need to wait all the time for every Run.

 

Happy Coding 🙂

 

Advertisements

1 Comment »

  1. Nice Article

    Comment by tosaik — January 11, 2012 @ 9:37 am | Reply


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: