Add "how to fix this crash?" preset question to call stack window.

This commit is contained in:
Bartosz Taudul
2026-05-08 01:57:43 +02:00
parent b864ff47e5
commit 1bfd3beab9

View File

@@ -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();