471,330 Members | 1,208 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,330 software developers and data experts.

how can I tell who has the lock in the debugger?

Is there an easy way to determine which thread and stack frame has a
given lock in the (VS2008) debugger? I'm putting some breakpoints into
my code to in conjunction with Monitor.TryEnter to track down who has
the lock when I need it. It's just that digging through a dozen
threads with a large stack frame on each is sure a pain.
Aug 4 '08 #1
0 874

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Claire | last post: by
2 posts views Thread by Luis F. Rodas | last post: by
94 posts views Thread by Samuel R. Neff | last post: by
7 posts views Thread by Rainer Queck | last post: by
12 posts views Thread by Zytan | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.