Tag Archives: Debugging

Filtering the Output Windows messages to focus on what is required – Visual Studio

By | February 1, 2016

During debugging, Visual Studio debug Output window shows different set of essential messages. This could be exception information, process exit information, thread exit information etc. However in many cases you don’t need them to view or it may distract you with lots of messages which is not required. In that case you can filter them out as per… Read More »

Using Trace points for performing custom action during debugging in Visual Studio

By | January 11, 2016

Trace Point is nothing but a breakpoint with some actions. When Action is added into a breakpoint, Visual Studio would execute them during debugging. You do also have and option to continue the execution without pausing it or pause it. This is quite helpful when you want to inspect values, object without interrupting the debugging. Incase of breakpoint,… Read More »

Difference between Autos and Locals Window in Visual Studio

By | January 10, 2016

During debugging in Visual Studio most of the time we used Watch Window for inspect code. However we overlooked two additional debugging tools “Autos” and “Locals”  Window. These windows are tremendous helpful in some cases where you want to monitor your scope object during debugging. In this post, lets have a look what is the use of Autos… Read More »

Did you know – Code Map can be used to visualize the call stack directly ?

By | December 8, 2015

In Visual Studio, by using the Call Stack window, we can view the function call that are currently on the stack for that instance of execution steps. It’s one of most frequently used feature during debugging.  This helps us to trace the code flow and debug thing faster and   If you are familiar with Code Maps, you must have… Read More »

Working with Live XAML in Windows Universal Apps and Visual Studio 2015

By | August 3, 2015

Visual Studio 2015 introduced many tools for debugging and diagnostic. We have seen PerfTips – Easiest way to get Performance Information and Debugging Lambda Expression in Visual Studio 2015 over past weeks. In this post, we are going to take look into another excellent feature for inspecting and debugging XAML UI. This feature enable a great capability for… Read More »

Debugging Lambda Expression in Visual Studio 2015 – Watch Windows, Immediate Windows and also in DataTips

By | July 27, 2015

Debugging  Lambda expression is one of the coolest feature of Visual Studio 2015 and that’s bring lot of productivity among developers during debugging and release lot of pain. Using lambda expression is pretty often in code, mostly when we writes lots of LINQ statements. Priory to Visual Studio 2015, there was no direct and easy way, where we can… Read More »

Use Conditional Breakpoints with Methods Return Value in Visual Studio 2015

By | May 19, 2015

Conditional Breakpoint in Visual Studio is a great way to optimize the debugging time and pause the execution only when the condition satisfied.  Along with the normal condition with in conditional breakpoint in visual studio, we can call a methods from the condition field and based on the return value debugger will stop at the breakpoint.  You have… Read More »