mirror of
https://github.com/wolfpld/tracy.git
synced 2026-10-06 08:55:30 +00:00
Display reconstructed callstack in zone info window.
This commit is contained in:
@@ -1089,6 +1089,21 @@ void View::DrawZoneInfoWindow()
|
||||
ImGui::TreePop();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
auto cs = ReconstructZoneCallstack( ev );
|
||||
if( !cs.empty() )
|
||||
{
|
||||
auto expand = ImGui::TreeNode( "Call stack" );
|
||||
ImGui::SameLine();
|
||||
TextDisabledUnformatted( ICON_FA_WAND_SPARKLES );
|
||||
if( expand )
|
||||
{
|
||||
DrawCallstackTable( cs.data(), cs.size(), false );
|
||||
ImGui::TreePop();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ImGui::EndChild();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user