Arlodotexe / strix-music

Combine any music sources into a single library. It's your music. Play it your way.
http://www.strixmusic.com
136 stars 4 forks source link

[Feature] Log all thrown exceptions, even if caught #266

Closed Arlodotexe closed 1 year ago

Arlodotexe commented 1 year ago

Describe the problem

The debug output does not match the log file. This is because the debug output in Visual Studio also prints exceptions, module loading, and thread entrance / exit messages.

It would help to debug performance problems and bugs if we log all exceptions in the app, even if the exception is caught and handled.

Describe the proposed change

Iirc, we're already logging App.UnhandledException. We'll need to remove this and replace it with FirstChanceException. Do this in the setup for the AppDiagnostics class.

Alternatives

No response

Additional info

No response

Help us help you

None