简体   繁体   中英

VS2013 high CPU usage at break point during debugging

I have been suffering for quite a while with extremely high cpu usage of the devenv.exe executable during debugging. Everything crawls to a halt, it often takes minutes for anything to happen, window often show Not Responding up top, spinning wheel of death. Often get Visual Studio is Busy popup etc.

Debugging MVC .NET web application. Source is on TFS 2010 server. This is the Ultimate VS2013 edition. I don't seem to recall it was an issue until maybe 3 weeks ago, but my sense of time is known be off...

I tried taking a trace, nothing really showed up, except it seemed spending a lot of time starting new threads, no indication which since I don't have the VS pdf files. Anybody got ideas what I can do to figure out what it is doing (or not), to get a clue what to potentially turn off?

Did the following:

  • Upgraded to version 5.
  • Running in /SafeMode
  • Turned off Browser Link
  • Checked Enable Just My Code
  • Unchecked Require source files to exactly match the original version

Everything compiles really fast and no problem getting debugging started. Outside of the debugging in edit mode things are fast and slick. Also running in debug mode is fairly fast. The brick wall is hit when a breakpoint is reached and then everything goes haywire.

Anybody know anything to try?

调试设置

Turning off intellitrace seemed to have fixed the problem for me. Not sure why intellitrace think it needs to run when a break point is hit, since everything is supposed to come to a screeching halt, seems like a bug to me.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM