Here is the fourth post of the Fav 3 series that we are continuing. Today’s favorite tips are based on debugging your application in Visual Studio.
#1 : How to get list of attached processes in Visual Studio while debugging ?
While debugging in Visual Studio, we used “Attach To Process” window to attach a particular process. We can use the same window to attach multiple processes as well. “Attach to Process” windows grayed out the processes which are already attached and “Attach” process comes as disabled if you try to attach an grayed out process as it’s already attached… [Read Complete Post]
#2: Get Object Generation using Watch Window
If you are dealing with any objects in Watch window and you want to check the current generation for that Object you can easily get that by calling
GC.getGeneration(objectName). [ Read Complete Post]
#3: How to use Runtime Objects in Watch Window during debugging in Visual Studio ?
During debugging in visual studio we generally used watch window to explore the objects, values, properties and other nested objects as a tree structure. Most of the time we used watch window to only view the values or change the current object . [ Read Complete Post]
Pingback: Visual Studio 2013 CodeLens In The Daily Six Pack: September 17, 2013