Marking variables in VS.NET Debugger July 20, 2007

Technorati Tags: ,

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.

Click on

From now on, you can use

1#.SomeMember();

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.

object id's

Leave a Reply