If working on the entire project, or editing .sln or .csproj files Visual Studio is recommended
Open Microsoft-Perf-Tools-Linux-Android.sln in VS
Use your favorite editor
dotnet builddotnet test
- VS Build Solution or Build Project
It's often fastest to debug the Unit Test examples since they wrap the plugins. This method keeps runtime overhead to a minimum. See the various *UnitTest projects
- VS Test Explorer is a great way to visualize / run / debug tests. Test -> Test Explorer
-
After getting some stabilization in a plugin, it's often fastest to test or investigate multiple traces using a GUI.
-
The plugins are not tied to any specific GUI. However the GUI does need to support the Microsoft Performance Toolkit SDK
- Using VS2022 Launch Profiles
- To Start WPA with your plugin (doesn't auto-open file)
- Executable
- "C:\PATH\TO\wpa.exe"
- Command line arguments -
- -addsearchdir "C:\src\Microsoft-Performance-Tools-Linux-Android\ThePlugin\bin\Debug"
- Executable
- To Start WPA with your plugin AND auto-open file
- Executable
- "C:\PATH\TO\wpa.exe"
- Command line arguments -
- -addsearchdir "C:\src\Microsoft-Performance-Tools-Linux-Android\ThePlugin\bin\Debug" -i "C:\PATH\TO\tracefile.ext"
- Executable
- To Start WPA with your plugin (doesn't auto-open file)