title: Why is 'Attach to Process' in Visual Studio 2012 to w3wp.exe so slow?
body: <p>When debugging a webapplication on IIS, attach to process to the w3wp.exe worker process, takes a good few minutes, loading a large number of dll files, ones ever few seconds.  The machine is running Windows 8 with 8 cores and 16GB ram, so not really a machine limitation.</p>
  
  <p>It makes attaching to process such a painful procedure.</p>
  
  <p>Just a sample from the output window:</p>
  
  <pre><code>'w3wp.exe' (Managed (v4.0.30319)): Loaded 'Anonymously Hosted DynamicMethods Assembly'
  'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_64\System.Data.OracleClient\v4.0_4.0.0.0__b77a5c561934e089\System.Data.OracleClient.dll', Symbols loaded.
  'w3wp.exe' (Managed (v4.0.30319)): Loaded 'EntityFrameworkDynamicProxies-audits.core'
  'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.WindowsAzure.ServiceRuntime\v4.0_2.1.0.0__31bf3856ad364e35\Microsoft.WindowsAzure.ServiceRuntime.dll'
  </code></pre>
  
  <p>Is it this slow for anyone else, if not, what can be done to improve performance?</p>