Finding threading issues in code quickly

This page summarizes the projects mentioned and recommended in the original post on /r/csharp

Our great sponsors
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • Onboard AI - Learn any GitHub repo in 59 seconds
  • SaaSHub - Software Alternatives and Reviews
  • Well the problem is that there isnt really any proper toolchain for this. https://github.com/Cybermaxs/awesome-analyzer here you can find some analyzers that I would recommend. I would suggest roslynator, errorprone, sonar and multithreading analyzers. Also you might want to check out the one created by microsoft (altough as I understand this is more for desktop/vs plugin scenarios) https://www.nuget.org/packages/Microsoft.VisualStudio.Threading.Analyzers/ Keep in mind that altough theese analyzers can help you they can also easily stab you in the back if you are apply refactorings without understanding them. (for example blindly using ConfigureAwait(false) with async code is fine in an aspnet app but might backfire in uwp or wpf.

  • coyote

    Coyote is a library and tool for testing concurrent C# code and deterministically reproducing bugs.

    The closest I can think of is https://github.com/microsoft/coyote

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts