tracy
tracy copied to clipboard
Thread IDs instead of names when profiling context switches on Windows
Version 0.10.0 Windows 11 MSVC 2022 17.7.6
- Create std::thread
- Set its name with ::SetThreadDescription(::GetCurrentThread(), SomeName.c_str());
- Run regularly, without context switching profiling
- Connect tracy
- Thread names are present as they were set in p.2
- Run Visual Studio under administrator to obtain required privileges on debugged app
- Run app under Visual Studio debugger
- Connect tracy
- Threads created in p.1 have numeric IDs instead of names. Main thread and Tracy threads have names