My environment is Windows 7 + Visual Studio 2008.
I want to debug a custom WebControl at design-time. What I used to do in the old days of VS.NET 2003 was to add a statement "System.Diagnostics.Debugger.Break()" to the constructor, then I'd be prompted to attach a second instance of Visual Studio for debugging.
In my current environment of VS2008 + Windows-7 I just get an error message "Visual Studio has encountered a user-defined breakpoint" followed by "Visual Studio 2008 is restarting". Very helpful.
How can I get it to prompt me to attach a debugger?