From b3de7f34fb5eabbea85bb8873e337862c6b265ad Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 25 Jul 2026 21:41:38 +0200 Subject: [PATCH] Require symbol data for the entry stacks button in symbol view. The button was gated on the entry stack maps being non-empty, but the sample entry stacks window also needs the symbol data to display anything. Without it, clicking the button silently closed the window through its null guard. Match the gate used by the statistics window menu items. --- profiler/src/profiler/TracySourceView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiler/src/profiler/TracySourceView.cpp b/profiler/src/profiler/TracySourceView.cpp index 2d500699..78419bdb 100644 --- a/profiler/src/profiler/TracySourceView.cpp +++ b/profiler/src/profiler/TracySourceView.cpp @@ -766,7 +766,7 @@ void SourceView::RenderSymbolView( Worker& worker, View& view, WindowConstraints if( worker.AreCallstackSamplesReady() ) { const auto stats = worker.GetSymbolStats( m_symAddr ); - if( stats && !stats->wasReached.empty() ) + if( stats && !stats->wasReached.empty() && worker.GetSymbolData( m_symAddr ) ) { ImGui::SameLine(); ImGui::AlignTextToFramePadding();