This says that we can debug std::mutex
and indeed, it shows the 'thread' ID locked by the owning thread.
This unfortunately doesn't work with std::shared_mutex
, I only see a 'myHandle' value. The natvis code doesn't work at all.
Any workaround with this? I 'm trying to debug a locking issue and I can't seem to find a way to know which thread locks (exclusively) the mutex.