This post talks about; how to work with multithreaded program debugging, where is your current thread, what is the thread execution sequence, what is the state of thread. Before continuing with the actual process, let’s consider you have the following piece of code which you want to debug.
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 »
Watch window allows you to view the variables values in Hex Mode. This is very simple features, Just Right Click on Watch window and select Hexadecimal Display. Once you select “Hexadecimal Display”, you will get the screen similar like below
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 »
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 »
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 »
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 »
Debugger in .NET runs in background on each and every type and uses Reflection to load the information regarding the Type that is running on the code. It is not generally great to view the entire object state as many of the intermediate states are not necessary to any user of your code. Hence if you are building… Read More »