When the native dialog failed, the popup said "File selector cannot be displayed. Check nfd library implementation for details." but never showed any details: NFD_GetError() was never read, so the actual failure reason (e.g. the xdg-desktop-portal lacking a FileChooser implementation on the session) was invisible and the user was stuck without a way to open or save traces. Capture NFD_GetError() into a static string when NFD_OpenDialogU8_With()/NFD_SaveDialogU8_With() return NFD_ERROR and display it in the popup. The copy is required: the returned pointer references NFD-internal storage (the D-Bus error message or a static buffer) that is overwritten by the next NFD call or cleared on shutdown. In TRACY_NO_FILESELECTOR builds no NFD exists, so the previous fallback line is kept there. The error is shown as a single line (TextUnformatted) rather than wrapped: in an AlwaysAutoResize window the wrap width is derived from the previous frame's window size, which feeds back into the auto-size and oscillates, converging to a narrow multi-line column for a ~110 character D-Bus message.
Tracy Profiler
A real time, nanosecond resolution, remote telemetry, hybrid frame and sampling profiler for games and other applications.
Tracy supports profiling CPU (Direct support is provided for C, C++, Lua, Python and Fortran integration. At the same time, third-party bindings to many other languages exist on the internet, such as Rust, Zig, C#, OCaml, Odin, etc.), GPU (All major graphics/compute APIs: OpenGL, Vulkan, Direct3D 11/12, Metal, OpenCL, CUDA, WebGPU.), memory allocations, locks, context switches, automatically attribute screenshots to captured frames, and much more.
- Documentation for usage and build process instructions
- Releases containing the documentation (
tracy.pdf) and compiled Windows x64 binaries (Tracy-<version>.7z) as assets - Changelog
- Interactive demo
An Introduction to Tracy Profiler in C++ - Marcos Slomp - CppCon 2023
Introduction to Tracy Profiler v0.2
New features in Tracy Profiler v0.3
New features in Tracy Profiler v0.4
New features in Tracy Profiler v0.5
New features in Tracy Profiler v0.6
New features in Tracy Profiler v0.7
New features in Tracy Profiler v0.8



