Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Debugging / March 2007

Tip: Looking for answers? Try searching our database.

VS2005 - exceptions thrown whilst debugging

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
akash - 20 Mar 2007 16:07 GMT
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.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.