Skip to content
February 11, 2011 / windperson

Visual Studio 2010偵錯模式跑得超慢的幾個fix土法

  1. 砍掉所有的中斷點:
  2. 清除VS選項視窗裡Debug → Symbols的 Cache symbols in this directory:所指位置的目錄裡的所有檔案,然後再把Debug → General裡的 Enable .Net Framework source stepping 選取後,按OK讓VS重抓那堆M$的debug symbol:

    假如沒有抓完的話,在按F5跑Debug模式時會再度嘗試下載debug symbol;等到正常之後再回去該選項取消掉。
  3. 假如以上都無效,關掉VS之後嘗試把專案的.suo檔案刪掉、或把host process的檔案(在output目錄的*.vshost.exe)也刪掉後用VS重開該專案。
Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

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

%d bloggers like this: