I've written a number of custom controls in VS.NET 2003 and I'm pretty
familiar with how to debug issues there, but it seems some of my techniques
don't work on VS.NET 2005.
I've created a very basic button control derived from Control.
I then createda test app, added my button to the toolbox and proceeded to
drop it on a form. VS.NET 2005 crashed. Pressing the "Debug" button caused
the app to close.
So, then I tried my old reliable trick of running a separate VS.NET 2005
instance and attaching to the first instance and then repeated dropping the
button on the form. The first instance immediately shuts down without a
message.
The debug info in the debug dump report is all unmanaged information, so not
of great use to me. I am not a big fan of WinDbg, but I can go there if I
have to. Is there some other way of figuring out what's going on?
I'd expect VS.NET to be slightly more robust. I realize controls can do all
sorts of crazy stuff, but for it to just completely crash VS.NET is
pathetic.