mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Add thread color box to crash info.
This commit is contained in:
parent
c73a74b8d5
commit
6ffbd00b0c
@ -10655,6 +10655,8 @@ void View::DrawInfo()
|
|||||||
TextFocused( "Thread:", m_worker.GetThreadName( crash.thread ) );
|
TextFocused( "Thread:", m_worker.GetThreadName( crash.thread ) );
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
ImGui::TextDisabled( "(%s)", RealToString( crash.thread, true ) );
|
ImGui::TextDisabled( "(%s)", RealToString( crash.thread, true ) );
|
||||||
|
ImGui::SameLine();
|
||||||
|
SmallColorBox( GetThreadColor( crash.thread, 0 ) );
|
||||||
TextDisabledUnformatted( "Reason:" );
|
TextDisabledUnformatted( "Reason:" );
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
ImGui::TextWrapped( "%s", m_worker.GetString( crash.message ) );
|
ImGui::TextWrapped( "%s", m_worker.GetString( crash.message ) );
|
||||||
|
Loading…
Reference in New Issue
Block a user