Dr. Dobb's is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them. Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.


Channels ▼
RSS

Design

Visual Studio 2005: Unstable and Highly Recommended


The White Screen of Darn

DDJ: Is that the "White Screen of Darn" (WSOD) issue? (See Figure 1.)
Bill V.: Yes, that's the "White Screen of Darn".

DDJ: What are some recommendations on ways to get back from the WSOD? I run into that one a lot myself.
Billy H.:That one is the most baffling to me. It seems so intermittent, and there doesn't seem to be anything specific that causes it. But, restarting the IDE seems to fix it.
Kathleen: The ability to go into the Windows Forms designer generated code is required. For example, with the form that eats the TreeView instantiation.

[Click image to view at full size]
Figure 1: WSOD when trying to view a form designer.

DDJ: That's the file that shows up in the Solution Explorer under the form file, the one that's hidden in VB projects? (See Figure 2.)
Kathleen: Right.
Bill V.: I've found that if I wear white socks, the problems don't happen nearly as often.
(laughter)

DDJ: For me, it's in working with user controls. When you're developing user controls, it's inevitable that you will modify the interface to the control. You'll rename properties, for example. If this control is sited on a form, then the designer generated code in that form will no longer be valid. When this happens, the form will no longer open in the designer. To get the form to open again, you have to go into the designer file that says all over it, "Designer generated, don't modify this!" You have to modify that code to fix the problem and get your form showing again. In the past, if there was a problem with a user control you could still at least see the form. The user control would show up with a red "X". You could delete the control, and re-add it, and probably fix the problem.
Kathleen: I've been lucky in the mentoring stuff I do that we don't have to go into that file very often. Unfortunately at this stage, even with folks new to .NET, you can't pretend that the designer file doesn't exist. You absolutely will have to go in there from time to time to fix problems.

[Click image to view at full size]
Figure 2: Designer generated form file.

DDJ: Just to narrow this down, some people are running third-party products, but there are still issues even if you're running a clean load of Visual Studio, with nothing third-party installed, correct?
Bill V.: I'm still seeing issues without anything third-party installed.

DDJ: It can't be attributed to beta debris. I can't be attributed to third-party products. Those might exacerbate the problem, but even without those, there's significant instability. Is it possible that maybe this is a perception issue? Is it possible that Visual Studio 2005 is really just as stable as any other release of Visual Studio? When the previous version shipped, blogging hadn't taken off. Every time someone found a bug, it didn't get broadcast around the world. Is blogging the problem? Has it just created an impression that the product is less stable than previous releases, or is there really something different about this one?
Kathleen: It's different with this one.
Rocky: I think it has to be put in perspective. I think it's roughly comparable to the very first version of Visual Studio .NET.
Bill V.: I was about to say the same thing.
Rocky: I think it's quite similar to the original Visual Studio .NET. But then the next version, Visual Studio 2003, had to be one of the best releases for stability that Microsoft has ever done. It just came out of the gate really solid.
Bill V.: 2003 didn't have a lot of new features, but they really did stabilize the product with that release.
Rocky: Yep, I agree. I think the blogging makes it seem worse than it is. And if you're like me, and you get hit with some beta debris, it's really bad. But, having fixed that, and hopefully after I install the hotfix, I'm hoping that almost all of my common issues will be solved.
Kathleen: I did not personally have as many problems with the original Visual Studio .NET as I'm having with Visual Studio 2005. Maybe I'm banging on the product differently now, but I did not have to close and reopen Visual Studio nearly as often. I don't think it crashed as often. And the weird stuff, like having a dialog appear on the left, when it's docked on the right, and then when I click on it and give it focus, it pops back over to the right where it's supposed to be. I don't recall seeing that kind of weird stuff in the original Visual Studio .NET. Now, I did switch to 2003 as quickly as I could, so it's possible that there were more problems than I'm remembering. It's a matter of degree. To me, it's somewhat less stable than the original Visual Studio .NET, and no where nearly as stable as Visual Studio .NET 2003.
Billy H.:I have to pretty much come in at the same level as Kathleen. I did a lot of production work in the original Visual Studio .NET, and my recollection is that I'd have to restart the IDE to get it to regain its sanity maybe twice a week. With Visual Studio 2005, it's more like twice a day.


Related Reading


More Insights






Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

Dr. Dobb's encourages readers to engage in spirited, healthy debate, including taking us to task. However, Dr. Dobb's moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing or spam. Dr. Dobb's further reserves the right to disable the profile of any commenter participating in said activities.

 
Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.