How is "Make Object ID" implemented in the .NET debugger?
Posted
by Omer Raviv
on Stack Overflow
See other posts from Stack Overflow
or by Omer Raviv
Published on 2010-05-05T08:30:22Z
Indexed on
2010/05/05
11:18 UTC
Read the original article
Hit count: 250
visual-studio
|debugging
Hi,
I would like know how this feature is implemented in VS - I understand it holds some sort of weak-reference to the object in the debugged-application's memory, but how exactly is it accomplished?
I know simply tracking the address (as in native code) wouldn't work, because the GC might move the object about, invalidating the address.
Thanks.
© Stack Overflow or respective owner