mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 22:44:34 +00:00
Display thread from which message originated on msg list.
This commit is contained in:
parent
53aea660c8
commit
0a79243332
@ -3171,9 +3171,11 @@ void View::DrawOptions()
|
||||
void View::DrawMessages()
|
||||
{
|
||||
ImGui::Begin( "Messages", &m_showMessages );
|
||||
ImGui::Columns( 2 );
|
||||
ImGui::Columns( 3 );
|
||||
ImGui::Text( "Time" );
|
||||
ImGui::NextColumn();
|
||||
ImGui::Text( "Thread" );
|
||||
ImGui::NextColumn();
|
||||
ImGui::Text( "Message" );
|
||||
ImGui::NextColumn();
|
||||
ImGui::Separator();
|
||||
@ -3189,6 +3191,10 @@ void View::DrawMessages()
|
||||
}
|
||||
ImGui::PopID();
|
||||
ImGui::NextColumn();
|
||||
ImGui::Text( "%s", m_worker.GetThreadString( v->thread ) );
|
||||
ImGui::SameLine();
|
||||
ImGui::TextDisabled( "(0x%" PRIX64 ")", v->thread );
|
||||
ImGui::NextColumn();
|
||||
ImGui::TextWrapped( "%s", m_worker.GetString( v->ref ) );
|
||||
ImGui::NextColumn();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user