Tag Archives: Debugging

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 »

How to stop debugger after a specific number of breakpoint hit ?

By | August 6, 2013

You can stop the debugger at breakpoint after a specific number of breakpoint hit. Hit Count is used to keep track on how many times the debugger has paused at some particular breakpoint. This is extremely useful when you want to stop the debugger after a certain number within a iterative process; and of course where you have… Read More »

Configuring Pinging in IIS 7.0 / 7.5 to avoid terminating processes while debugging from Visual Studio

By | January 26, 2012

IIS monitors the worker processes health by sending a periodic request the worker processes. This pinging is to ensure that if the worker processes responding the incoming requests in timely manner. If the worker process does not respond in a timely manner, IIS terminates the process after a specific number of ping.  Now, consider you are debugging your… Read More »

How to detach a particular process instead “Detach All” in Visual Studio ?

By | January 21, 2012

Visual Studio processes windows  shows the list of attached process and  it also helps to detach a particular process from the list of attached process.  Let’s assume you have 4 process attached with visual studio for current application. If you use “Detach All”,  Visual Studio will detach all the process apart from the process which can cause the… Read More »

How to get list of attached processes in Visual Studio while debugging ?

By | January 20, 2012

While debugging in Visual Studio, we used “Attach To Process” window to attach a particular process. We can use the same window to attach multiple processes as well.  “Attach to Process” windows grayed out the processes which are already attached and “Attach” process comes as disabled if you try to attach an grayed out process as it’s already… Read More »

Looking at .NET Source code from Visual Studio

By | October 9, 2011

Its been a number of days when I last posted in DailyDotnetTips, but I always find fun in posting something here. Today I will talk about how you can get integration of Source code server with your .NET programs so that you can easily see the Source code of the .NET library while you debug. By source code… Read More »