Tag Archives: Debugging

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 »

Run Web Application in Multiple Browser Simultaneously from Visual Studio

By | January 2, 2014

As a web developer, for performing cross browser testing, we need to run our web site in multiple browser from Visual Studio. Generally, in a common way, we select particular browser from browser selection menu and run the application.  However, you can set multiple browser as your default browser. When you run the application with out debugging (… 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 »

Fav 3 : Three Favorite .NET Tips and Tricks from Daily .NET Tips – Series 4

By | September 15, 2013

Here is the fourth post of the Fav 3 series that we are continuing.  Today’s favorite tips are based on debugging your application in Visual Studio. #1 : How to get list of attached processes in Visual Studio while debugging ? While debugging in Visual Studio, we used “Attach To Process” window to attach a particular process. We… Read More »

Use “Run To Cursor” and save time while debugging

By | September 5, 2013

Run to cursor is a great and an hidden features of Visual Studio. This can really boost up your productivity of work while debugging any application in Visual Studio.  You can really avoid the step by step debugging and directly stop the debugger where you are targeting it to stop.  “Run to Cursor” is  just like another breakpoint,… Read More »

Fav 3 : Three Favorite Tips from Daily .NET Tips – Series 1

By | August 24, 2013

#1 : Get list of all active session variables in ASP.NET This post talks about how you can get list of all active Session Variables in ASP.NET Application. The easiest way to get the details of session variable is using “Tracing” . If you enable the “Tracing” for your application, you can get list of all  Active Session… Read More »

Function return values inspection in Visual Studio 2013

By | August 23, 2013

Visual Studio 2013 introduced a great feature  that helps you to inspect all the functions / nested functions returns values during the current debugging session.  This is really useful when the returned values are  not stored in a local variables and you want to check them. You can actually view then by giving the specific values in Watch… Read More »

Flag your own code in multithreading debugging

By | August 22, 2013

In previous tip, we have seen how to debug multithread application in Visual Studio.  Debugging multithread application can be simple as well as complex depends on the application complexity. For a small application, where there are only few threads are running you can easily identify and trace them, but when program is complex it could be difficult to identify… Read More »