diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 56570a8f..a363dee8 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -2395,6 +2395,11 @@ int View::DrawLocks( uint64_t tid, bool hover, double pxns, const ImVec2& wpos, { ImGui::Text( "Thread \"%s\" has %i locks. No other threads are waiting.", GetThreadString( tid ), (*vbegin)->lockCount ); } + if( (*vbegin)->waitList != 0 ) + { + assert( ( (*next)->waitList & ~( uint64_t( 1 ) << thread ) ) == 0 ); + ImGui::Text( "Recursive lock acquire in thread." ); + } break; case State::HasBlockingLock: {