Simple steps on how to hang visual studio:
- Debug a piece that throws an uncatched System.Net.WebException (probably works with many more kinds of exceptions)
- In the “WebException was unhandled by user code” pane, press “View Detail…”
- In the “View Detail” modal dialog, press the * key on your numeric keypad (this is the “Expand all” command for a TreeView)
This will get you a nice box (and no way to close Visual Studio except killing it from the task manager):
Microsoft Visual Studio is Busy
Microsoft Visual Studio is waiting for an internal operation to complete. If you regularly encouter this delay during normal usage, please report this problem to Microsoft.
There seems to be no bounds checking for the “Expand All” functionality.