Anirban Paul
Anirban Paul

Reputation: 1165

Guidelines to handle exception in a multithreading

I am developing a WPF application that follows MVVM architecture. This application is multithreaded. Now I would like to know how should I handle exceptions in my application.

Please let me know the guidelines to handle exception in multithreaded WPF application that follows MVVM.

Upvotes: 0

Views: 99

Answers (1)

iltzortz
iltzortz

Reputation: 2412

if you search for a specific exception add a break point to your exception line and check call stack

if you want a general catch all exception then perhaps DispatcherUnhandledException in your App.xaml will do the job you want. Check Documentation on this link about other threads handling.

Upvotes: 1

Related Questions