Category Archives: Debugging

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 »

10 Effective Debugging Tips for .NET Developer

By | January 12, 2014

As a developer, in our day-to-day development activities we spend good amount of time to debug our code, identify the root cause of defect and finally solving them. While some of them are quite easy to identify and fix but there are issue which take countless time to identify. In fact, sometimes we spent more time on debugging… Read More »

Adding New Expression in Visual Studio DataTips

By | January 9, 2014

DataTips is an advanced tooltip message that can be used for inspecting the objects or variables while debugging the application with in Visual Studio.  This feature was there for past several version of Visual Studio.  DataTips can be pined, can  float over the editor, you can write comments on each tip, or even you can import and export… Read More »

Automatically calling a method when a breakpoint is hit

By | January 1, 2014

While debugging the applications in visual studio, in may instances it many require to call a specific method when a breakpoint is hit. It may be because of  just to verify some output or check some variables values. We can perform that part either using immediate window or execute those method in some other debugging session. However, all… Read More »