From d43461584a0c53b50cff28a83488acb58cb9868d Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 28 Mar 2020 15:11:23 +0100 Subject: [PATCH] Don't jump out to symbols without source and code. --- server/TracySourceView.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/server/TracySourceView.cpp b/server/TracySourceView.cpp index 2982fca3..3217764c 100644 --- a/server/TracySourceView.cpp +++ b/server/TracySourceView.cpp @@ -379,7 +379,10 @@ void SourceView::Render( const Worker& worker ) file = nullptr; line = 0; } - Open( file, line, jumpOut, jumpOut, worker ); + if( line > 0 || sym->size.Val() > 0 ) + { + Open( file, line, jumpOut, jumpOut, worker ); + } } } }