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 »
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
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 »
WinRT application model is completely different than the existing application models. The Metro style applications are meant to work differently with least user intervention on the apps. So the user for the Metro application does not need to close the application ever. The operating system takes care of memory constraint and suspend the application or even terminate the… 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 »
Visual Studio provides few in-built options for debug address level information. Some of them are Memory window, Disassembly window and Registers windows. As name suggest you can do memory and address related stuff during debugging using those window.