diff --git a/server/TracySourceView.cpp b/server/TracySourceView.cpp index 8eacb3ce..79b32133 100644 --- a/server/TracySourceView.cpp +++ b/server/TracySourceView.cpp @@ -1444,10 +1444,15 @@ void SourceView::RenderSymbolSourceView( uint32_t iptotal, unordered_flat_mapsecond; + if( it != ipcount.end() ) + { + count += it->second; + numLines++; + } } ImGui::BeginChild( "##srcSelect" ); @@ -1469,6 +1474,10 @@ void SourceView::RenderSymbolSourceView( uint32_t iptotal, unordered_flat_mapsecond; + if( it != ipcount.end() ) + { + count += it->second; + numLines++; + } } ImGui::BeginChild( "##asmSelect" ); @@ -1984,6 +1998,10 @@ uint64_t SourceView::RenderSymbolAsmView( uint32_t iptotal, unordered_flat_map