From e11bf1d62de1ad9024f9c5f12f21156b5b75e30a Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Wed, 18 Mar 2020 02:36:46 +0100 Subject: [PATCH] Display frame address in tooltip. --- server/TracyView.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 48778732..1ad4381b 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -3535,6 +3535,8 @@ int View::DrawGhostLevel( const Vector& vec, bool hover, double pxns, const auto file = m_worker.GetString( frame->data[i].file ); const auto line = frame->data[i].line; ImGui::Text( "%s:%i", file, line ); + ImGui::SameLine(); + ImGui::TextDisabled( "(0x%" PRIx64 ")", m_worker.GetCanonicalPointer( ghostFrame ) ); TextFocused( "Thread:", m_worker.GetThreadName( tid ) ); ImGui::SameLine(); ImGui::TextDisabled( "(%s)", RealToString( tid ) );