From 28db0f6227c8c100d23452f26b1f74dffe6a969f Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 28 Mar 2020 01:17:35 +0100 Subject: [PATCH] Wait for data to be ready. --- server/TracyView.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index e304740a..d59e897e 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -11571,6 +11571,7 @@ void View::DrawCallstackWindow() ImGui::RadioButton( "Symbol address", &m_showCallstackFrameAddress, 2 ); auto& cs = m_worker.GetCallstack( m_callstackInfoWindow ); + if( m_worker.AreCallstackSamplesReady() ) { auto frame = m_worker.GetCallstackFrame( *cs.begin() ); if( frame && frame->data[0].symAddr != 0 )