开发者

How is "Make Object ID" implemented in the .NET debugger?

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 trackin开发者_开发问答g the address (as in native code) wouldn't work, because the GC might move the object about, invalidating the address.

Thanks.


A description of it can be found here. It uses an unmanaged api.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜