Tag Archives: Debugging

You can track Out of Scope Objects by assigning an Object ID during debugging in Visual Studio

By | February 17, 2016

“Make Object ID”, you can consider it as an another hidden features of Visual Studio that can give you lot of flexibility during debugging.  When we set “Make Object ID” for an object,  we are informing the Debugger to keep track of that object no matter it’s within scope or out of scope for the current context.  You… Read More »

Did you know– You can Drag-Drop & Copy-Paste code inside Watch Window in Visual Studio?

By | February 15, 2016

Watch Windows is one of most powerful and commonly used debugging tool inside Visual Studio.  This tool is commonly used to explore the objects, values, properties and other aspect during debugging.  To inspect any object, while debugging we generally right click on the code block and select “Add to Watch” to explore or we can also the keyboard… Read More »

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 »