Marking variables in VS.NET Debugger July 20, 2007
Even after using Visual Studio for years (previous versions at least), you can always find hidden features.
If you are debugging and have watch window open, you can click on “Make Object ID”. This will create ID for specific object or its member. You will get id’s such as 1#, 2# etc.
From now on, you can use
even when this variable is not in scope. Quite useful for multithreaded debugging or for debugging code where you want to track specific objects through many layers.