Tag Archives: Debugging

Save IntelliTrace Log from IntelliTrace Window

By | February 24, 2011

Visual Studio 2010 SP1 beta allows you to save IntelliTrace information from IntelliTrace Window. During debugging you may found, the current debugging information is important for you and it’s needs to be save and you don’t want restart the debug session. For this type of situation now you can save log information from IntelliTrace window itself. From Visual… Read More »

Using DebuggerStepThrough attributes to stepped over code during debugging

By | February 1, 2011

By Marking a piece of code using DebuggerStepThrough attribute tells the Visual Studio debugger that, the code block will be stepped over from debugging process. you can mark methods, properties with DebuggerStepThrough attributes where you don’t want to stop your code to break. If there is any break point inside a code section which is marked as “DebuggerStepThrough”… Read More »

Hide Methods from debugger Using DebuggerHidden attribute

By | January 31, 2011

DubuggerHidden attribute tells the Visual Studio debugger that the method is hidden from the debugging process and while debugging. This is quite helpful when you don’t want to go to stepping inside of a method while debugging. When you mark a method with DebuggerHidden() attributes, It’s explicitly tells the debugger not to step inside of that methods and… Read More »

How to suppress compiler warning using #pragma warning directives in Visual Studio ?

By | January 24, 2011

Sometimes during development you may need to avoid the unnecessary compiler warnings to show in warning window. Though it’s not recommended to suppress the warning explicitly, but during some debugging and analysis of code you may want to hide them for time being. In this post I have explained how you can hide the unwanted warning explicitly by… Read More »

How to use Runtime Objects in Watch Window during debugging in Visual Studio ?

By | January 20, 2011

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 properties values to see the effects of changed object during debugging. And most of the time… Read More »