开发者

How can I determine why Visual Studio 2008 is hanging?

开发者 https://www.devze.com 2023-03-14 18:19 出处:网络
Visual studio is just hanging. The GUI just sits there and the CPU is at or near 0%. I\'ve let it sit for close to hour to see if it would resume, to no avail.

Visual studio is just hanging. The GUI just sits there and the CPU is at or near 0%. I've let it sit for close to hour to see if it would resume, to no avail.

What is weird, is that the GUI doesn't respond to clicks anywhere, however, it re-draws correctly. If I drag another window over it, after the window passes over a portion, it is re-drawn correctly.

At the bottom of the VS window, it sometimes says 'Analyzing database schema. Your database projects will be ready after 5030 operations are completed', however, the GUI has hanged without it there.

I'm not sure if this is the cause or not.

开发者_如何学Python

I've tried /safemode, but I need the DB functionality loaded and using /safemode disables them.

I'm at a loss really.

More info -- The window stays as an unselected window even when I click on it. It's as though the whole thing is suspended except for the fact that it is redrawn properly when something else passes over it.


It might be worthwhile to delete all of the temporary files (.ncb, etc.) that get created within your solution directory, and let VS re-create them. Sometimes they get corrupted.

The next thing I would do isto use ProcessExplorer to see if I can identify a thread that seems to be hanging, and whether it's in a particular module.

0

精彩评论

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