I have a windows forms app that I can compile (debug version) and run
from the command line. However, when I try to debug it I get a variety
of exceptions thrown by the debugger:
1) If I don't have any breakpoints, I get either "An unhandled
exception of type 'System.StackOverflowException' occurred in
mscorlib.dll" or "Ignoring managed exception from unknown thread.The
program '[8328] UI.vshost.exe: Managed' has exited with code
-2147023895 (0x800703e9)."
2) If I place a breakpoint in the code, I get either "A first chance
exception of type 'System.Runtime.InteropServices.SEHException'
occurred in UI.exe" or sometimes "Object reference not set to an
instance of an object.", depending on where I set the breakpoint.
I have seen other thread talking about recursive properties in the
watch window, but I am not displaying anything in the watch window.
Any suggestions?
Thanks
Akash
akash - 21 Mar 2007 09:55 GMT
I forgot to add that when I set a breakpoint, VS2005 doesn't actually
break at the breakpoint - it just raises an exception.