mirror of
https://github.com/wolfpld/tracy
synced 2025-05-06 23:23:53 +00:00
Allow viewing callstack from zone info window.
This commit is contained in:
parent
5e01a8ead9
commit
e40c5068c9
@ -2778,6 +2778,14 @@ void View::DrawZoneInfoWindow()
|
|||||||
{
|
{
|
||||||
m_findZone.ShowZone( ev.srcloc, m_worker.GetString( srcloc.name.active ? srcloc.name : srcloc.function ) );
|
m_findZone.ShowZone( ev.srcloc, m_worker.GetString( srcloc.name.active ? srcloc.name : srcloc.function ) );
|
||||||
}
|
}
|
||||||
|
if( ev.callstack != 0 )
|
||||||
|
{
|
||||||
|
ImGui::SameLine();
|
||||||
|
if( ImGui::Button( "Callstack" ) )
|
||||||
|
{
|
||||||
|
m_callstackInfoWindow = ev.callstack;
|
||||||
|
}
|
||||||
|
}
|
||||||
if( !m_zoneInfoStack.empty() )
|
if( !m_zoneInfoStack.empty() )
|
||||||
{
|
{
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user