Release versus Debug exception problem

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm trying to implement an app level event handler. For starters I jus
wanted to trap the bubbled up exception in my main function and display
dialog box. It works fine in debug mode but in release mode it pops up
windows error dialog with a stack trace. How do I configure things t
handle the error the same in debug as it does in release

tr

Application.Run(new frmMain())

catch (Exception ex

MessageBox.Show( ...
}
 
Back
Top