From 555203c46aa5ab02232d8f73d0de577023d6cc5b Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 1 Feb 2020 17:49:27 +0100 Subject: [PATCH] Don't display unknown frames if there's no callstack frames. --- server/TracyView.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 6f2e8338..29dd0546 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -152,6 +152,8 @@ View::View( FileRead& f, ImFont* fixedWidth, ImFont* smallFont, ImFont* bigFont, m_userData.StateShouldBePreserved(); m_userData.LoadState( m_vd ); m_userData.LoadAnnotations( m_annotations ); + + if( m_worker.GetCallstackFrameCount() == 0 ) m_showUnknownFrames = false; } View::~View()