From 1bfd3beab929cca87c6df2ec4eac836868d41cef Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Fri, 8 May 2026 01:57:43 +0200 Subject: [PATCH] Add "how to fix this crash?" preset question to call stack window. --- profiler/src/profiler/TracyView_Callstack.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/profiler/src/profiler/TracyView_Callstack.cpp b/profiler/src/profiler/TracyView_Callstack.cpp index 9ff84e03..6a621755 100644 --- a/profiler/src/profiler/TracyView_Callstack.cpp +++ b/profiler/src/profiler/TracyView_Callstack.cpp @@ -146,6 +146,12 @@ void View::DrawCallstackTable( const CallstackFrameId* data, size_t size, uint64 } if( ImGui::BeginPopup( "##callstackllm" ) ) { + if( hasCrashed && ImGui::Selectable( "How to fix this crash?" ) ) + { + Attach(); + AddLlmQuery( "How to fix this crash?" ); + ImGui::CloseCurrentPopup(); + } if( ImGui::Selectable( "What is program doing at this moment?" ) ) { Attach();