-
Recent Posts
Twitter Updates
Tweets by windebugArchives
Categories
Category Archives: CodeProject
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
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
Parallel Stacks – Textual Form
Parallel Stacks is a very handy feature in Visual Studio for debugging multi-threaded applications. I also use this sometimes when investigating dump files for managed applications. It provides a nice graphical view of what various threads are doing in your … Continue reading
Posted in CodeProject, Debugging
Leave a comment
Visual Studio 2017 – Reattach to Process
I have been in situations number of times that required troubleshooting certain issues against a running process using “Attach to Process” mechanism. The whole process of bringing up “Attach to Process” dialog, finding the right process and then attaching to … Continue reading
Posted in CodeProject, Debugging, Visual Studio 2017
Leave a comment
Visual Studio 2017 – Process Filter option in Attach to Process dialog
Sometimes there are usability features in the UI that seemingly look small but can have bigger impact on the user experience. In my view, one of the usability feature missing in Visual Studio UI for quite some time was about … Continue reading
Posted in CodeProject, Visual Studio 2017
Leave a comment
Visual Studio 2017 – Exception Helper (III)
Exception Settings has been a powerful feature in Visual Studio for quite some time now. It has got some extra fire-power with new Exception Helper dialog in Visual Studio 2017. Let’s say, your code is using a third party library … Continue reading
Posted in CodeProject, Visual Studio 2017
Leave a comment
Visual Studio 2017 – Exception Helper (II)
Another time saving feature in the new Exception Helper dialog in Visual Studio 2017 is about Inner exceptions. In order to elaborate this, let me first introduce you to what happens when an unhandled exception is encountered when debugging code … Continue reading
Posted in CodeProject, Visual Studio 2017
Leave a comment