开发者

Visual Studio 2010 - Viewing lists during debug results in timeout

I am trying to debug a project, suddenly I'm running into an issue where enumerating any object collections results in a timeout if I try to view it.

If I run the program normally I have no issues. If I try to view any collection, such as a list, I get a timeout error and the whole thing bombs out.

I thought something might be going on with one of my more complex collections so I tried creating just a normal list of strings as follows...

List<string> blah = new List<string>{"fsdf","fsdg","Gt","gsersg","ser","gersgxdrsd"};

The same thing happens. I can hover over the object, I can even see the object count, however if I view the collection it dies.

I've ensured that the project/class library is in debug mode, disabled all extensions, restarted the system, tried percusive maintnence - nothing has worked.

Does anyone have any ideas? I'm completely losing my mind here.


I should also mention that this is a web application, I didn't noti开发者_JAVA技巧ce before but a w3wp debug window pops up after I stop debugging. Sorry to leave out important info - was too frustrated to think straight when I wrote the post. I can still execute my code normally, and while debugging. I can examine all other objects without issue, it is only looking at collections in the watch window (or by hovering) that breaks.


Have a look at How to correctly debug web applications on local IIS 7.5 with VS 2010 Beta2?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜