开发者

Visual Studio 2010 professional responds very slowly when

For me Visual Studio 2010 professional responds very slowly when I use it for WPF developement. It does not happen as soon as I open the solution, but after i continuously use for some time with WPF related activities like coding, debugging, switching between different wpf views etc. After some time everything get slow like ctl+ tab, right click, typing everything...

Btw my system is of decent configuration. quad processor with 4 GB of RAM

Any idea why 开发者_开发问答it happens or if anybody else facing same problem?


The designer is a little slow and various plugins to VS2010 can also slow down performance. however, one thing to note is that VS2010 actually runs your code when you open the designer. i had a project where the developers added a bunch of threading and logic to the forms that ended up geting run by the designer, causing poor design time performance.

VS does have some ways of preventing this from happening, for example, the normal constructor is not run at the design time, but some things will run such as variable instanciations for example.

What you can do is launch another VS instance and attatch the debugger (Debug > attatch to process) to the first VS instance. you can then break the execution of the first instance and see if any of your code is beeing run by the designer.


It may be unrelated, but check for two things: 1 - Disable hardware acceleration. I had an horrible time with visual studio, not being able to type and all, until I disabled it. 2 - If you happen to have unwanted VirtualBox/VMWare plugins, they may be hogging up everything.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜