Author Archives: WindowsDebugging

PerfTips not showing up – how to bring it back

PerftTips is a performance measurement feature introduced in Visual Studio 2015. This displays an approximate time previous line of execution took as shown within red rectangle below. Recently why playing with certain settings, I lost getting the PerfTip. So there … Continue reading

Posted in Uncategorized | Leave a comment

Watch value of a variable across multiple threads

Everyone is well aware of various ways of watching value of variable during a debug sessions. Watch, Immediate, Local Variables are just few examples. When working on a multi-threaded application, there may be scenarios that a method is called by … Continue reading

Posted in CodeProject, Debugging | Leave a comment

Scroll bars Re-engineered

Scroll bars is an effective tool that novices to advanced users use every day without appreciating its effectiveness and usefulness. Various vendors have evolved its design including its position in an application, workflow with gestures and even visibility. Microsoft had … Continue reading

Posted in CodeProject, General | Leave a comment

Bring back my Intellisense window

Intellisense is something that every developer uses consciously or unconsciously. For example, you type a class instance name in visual studio and when you type . (period), intellisense window pops-up showing you various properties, methods etc. for that class.   … Continue reading

Posted in General | Leave a comment

Breaking in code for a specific class instance using Conditional Expressions

Let me describe the problem in hand by presenting a concreate example here. Let’ say we have an Employee class as shown below. Note here that the Salary property is calculated based on certain class instance fields. Here is how … Continue reading

Posted in CodeProject, Debugging | Leave a comment

Function Evaluation within Immediate Windows with No Side Effect

I make quite heavy use of Immediate Window. Its a nice tool within Visual Studio to print variable values, evaluate expressions and even execute statements. However there are times when doing this type of activity changes the state of particular … Continue reading

Posted in CodeProject, Debugging | Leave a comment

Make Your Output Window Less Cluttery

Debug.WriteLine is a handy way to dump some useful information into trace listeners.  When debugging your program in Visual Studio,  you can view these messages in the Output window. However, there is lot more information shown in here that can … Continue reading

Posted in CodeProject, Debugging | Leave a comment