mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Open memory address info after clicking on mem plot item.
This commit is contained in:
parent
9898066a7a
commit
8ed59c261b
@ -2668,6 +2668,13 @@ void View::DrawPlotPoint( const ImVec2& wpos, float x, float y, int offset, uint
|
||||
{
|
||||
ImGui::Text( "Thread: %s", m_worker.GetThreadString( m_worker.DecompressThread( ev->threadFree ) ) );
|
||||
}
|
||||
|
||||
if( ImGui::IsMouseClicked( 0 ) )
|
||||
{
|
||||
m_memInfo.show = true;
|
||||
sprintf( m_memInfo.pattern, "0x%" PRIx64, ev->ptr );
|
||||
m_memInfo.ptrFind = ev->ptr;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user