views:

20

answers:

1

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.

A: 

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

Matthew Steeples