I am writing an app using C# for v2.0 of the framework. As I am still in
development, debug mode has been very helpful; however, I am experiencing an
IndexOutOfRange error that the environment is unable to catch. When it
occurs, the "debug" dialog pops up but clicking the button and then selecting
"Visual Studio 2005" fails to run VS properly. Instead, both processes (my
app and VS) crash with a message like "... failed to attach to crashing
process".
This is disconcerting as any and all other exceptions are properly caught
and, with the help of PDB files, located in the source code.
I do not use any outside DLLs. I compile all code in debug mode myself.
Any pointers as to what may be preventing the debugging environment from
handling this error?