visual-studiothread-sanitizer

ThreadSanitizer in Visual Studio 2019


I am trying to build my project and run an executable in a different machine where I can see thread related issues (if exist). I am using VS2019 and providing -fsanitize=thread -fPIE -pie -g options in the Configuration Properties->Debugging->Command Arguments. When I run the .exe file, I don't see any generated file which I suppose should have been generated. Am I providing wrong arguments to the compiler or what is wrong here?


Solution