From 73572e6d7fcff9da279fc74c5867f4aac68a6880 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Thu, 29 Jan 2026 21:50:47 +0100 Subject: [PATCH] Display notification that crash callstack is crash callstack. --- profiler/src/profiler/TracyView_Callstack.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/profiler/src/profiler/TracyView_Callstack.cpp b/profiler/src/profiler/TracyView_Callstack.cpp index 0b434c05..fdf7a945 100644 --- a/profiler/src/profiler/TracyView_Callstack.cpp +++ b/profiler/src/profiler/TracyView_Callstack.cpp @@ -147,6 +147,15 @@ void View::DrawCallstackTable( uint32_t callstack, bool globalEntriesButton ) ImGui::SetNextItemWidth( ImGui::CalcTextSize( "Symbol address xxx" ).x ); ImGui::Combo( "##frameat", &m_showCallstackFrameAddress, "Source code\0Return address\0Symbol address\0Entry point\0" ); + auto& crash = m_worker.GetCrashEvent(); + if( crash.thread != 0 && crash.callstack == callstack ) + { + ImGui::SameLine(); + ImGui::Spacing(); + ImGui::SameLine(); + TextColoredUnformatted( ImVec4( 1.f, 0.2f, 0.2f, 1.f ), ICON_FA_SKULL " Crash" ); + } + if( globalEntriesButton && m_worker.AreCallstackSamplesReady() ) { auto frame = m_worker.GetCallstackFrame( *cs.begin() );