Debug Build Hang with vs.net 2002 and C# Application.Exit();

From: BM (blah_at_blah.com)
Date: 03/12/04


Date: Thu, 11 Mar 2004 20:35:42 -0600

I was just wondering if this was a 'Known problem' or a chance problem
with my development system(s). (Ive had this happen on 2 different ones
now and now on a fresh install).

Im using vs.net 2002 IDE for developing .net windows applications since
it came out. I have not upgraded to the 2003.

Frequently, when developing a C# windows application when I try to run
the application in Debug mode it will simply hang and no main or top
window will show up. I will have to stop and restart the Debug or
rebuild multiple times before it will show the main window in Debug
mode. This does not happen if in Release mode.

Also, if it hangs I can hit the 'restart' debug feature and force it to
restart where it hangs at the main "Application.Run(new Form1());"?

Interestingly, I have been using a Application.Exit(); command in some
of my forms. I just today removed this and this Debug hanging problem
has stopped.?????

Any comments or experiences?

Thanks.
Bill



Relevant Pages

  • Re: Computer Hangs?
    ... marfers notes for windows xp http://www.geocities.com/marfer_mvp/chatNotes.htm ... > then it hangs. ... > I can then only restart the computer using the reset switch on the facia. ... > I've ran Norton Anti-Virus software, ...
    (microsoft.public.windowsxp.help_and_support)
  • Windows XP Startup Problems. Help!
    ... My computer's OS Windows XP Home and yesterday, ... log into an account, it hangs ... So I restart, try again, wait for a long time, all don't work. ... then just when the installation begins, ...
    (microsoft.public.windowsxp.general)
  • RE: add/remove and auto update
    ... restart it hangs up during the "Windows is shutting down." ... since it hangs up during the restarting phase, it nulled it out and wiped my ... Restore Saves. ... The second issue is my automatic update for Windows is broken! ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Windows XP Startup Problems. Help!
    ... This moning, I turned on my computer and everything was well until just before the screen where they show the icons to log into an account (where the windows XP screen says: Starting Up), it hangs and does nothing. ... So I restart, try again, wait for a long time, all don't work. ... I didn't install anything new or did anything much on my computer. ...
    (microsoft.public.windowsxp.general)
  • Slow Shutdown
    ... Then, when it finally pops up, and I hit shutdown, or restart, it hangs on ... the Windows is Shutting down screen for about another 3 minutes. ...
    (microsoft.public.windowsxp.help_and_support)