Managed code debugging tip: Make object ID

When debugging native code, it's easy to keep track of objects by their addresses. But, with managed code, you don't really have this option. This can make it hard to tell keep track of objects. But, when debugging in Visual Studio (at least 2005), you can right click an object and select "Make Object ID". This will put a number like {1#} after the object. You can do this on as many objects as you want to track. I found this really useful in investigating a bug that involved some nasty recursion and reentrancy.