all groups > visual studio .net debugging > march 2007 >
You're in the

visual studio .net debugging

group:

VS2005 - exceptions thrown whilst debugging


VS2005 - exceptions thrown whilst debugging akash
3/20/2007 8:07:03 AM
visual studio .net debugging:
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
Re: VS2005 - exceptions thrown whilst debugging akash
3/21/2007 1:55:50 AM
I forgot to add that when I set a breakpoint, VS2005 doesn't actually
break at the breakpoint - it just raises an exception.

AddThis Social Bookmark Button