mirror of
https://github.com/wolfpld/tracy.git
synced 2026-08-20 18:18:36 +00:00
Add "how to fix this crash?" preset question to call stack window.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user