Release versus Debug exception problem

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( ...
}
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top