October 01, 2008
Thanks to everyone that came to my debugging session today. As for the others, I am presenting on the 6th issue of Microsoft Vizija 2008 at Skopje, Macedonia. Tomorrow I will present the testing features in Visual Studio 2008 and we will go through the demo with development oriented ones – profiling and load testing. The WinDbg command I was referring to today is .cmdtree. It allows you to open a new window with custom list of command that you build yourself so you spend some time writing it all the time. It can also serve as a good starting point when you do not know the commands by mind yet. I have used John Robbins .cmdtree file, but I also added Symbols menu. Here it is how it look in WinDbg:  Please write comments if you have any questions. Labels: Debugging, Events
# posted by Martin Kulov @ 9:35 PM
|

August 07, 2008
 |
 |
April 02, 2008
I am going to speak this Saturday at a brand new conference at Warsaw, Poland called Communities to Communities 2008 - " the first ever countrywide IT conference in Poland organized by community of Microsoft .NET and SQL Server professionals and geeks". I am going to talk about Debugging and Crash Dump Analysis of ASP.NET Web Sites where I will show real life examples how WinDbg saved my poor soul a number of times. WinDbg and related debugging techniques are something that every single production manager should know and shouldn't be scared to run and try. I will also show how you can analyze a sample stack trace and track down a specific value in stack. If you are in the area, I would love to see you there and talk to you. Labels: Debugging, Events
# posted by Martin Kulov @ 1:52 AM
|

January 23, 2008
John Robbins is the ultimate debugging hero for me. Read to what John Robbins says about the new released .NET Framework Source Code: - If you've been downloading your symbols with the Microsoft Symbol Server, make sure to delete your cache directory before you start downloading from the new symbol location.
- Shawn says you'll want to check the "Search the above locations only when symbols are loaded manually" in the Options dialog, Debugging, Symbols node. Personally, I think it's much better to leave that unchecked so that you get the symbols and source downloaded automatically. Yes, there will be some slowdowns on the download, but by getting the symbols and source every time you access the item, you'll fill up the cache quicker.
- If you're having some trouble getting everything to work, turn on the source server diagnostic messages in the Options dialog, Debugging, General node:
Also, as you are loading downloading source files by double clicking on them in the call stack window, you can see the path reference location in the status bar.
- To get both the new Reference Symbol Server and Microsoft Symbol Server set in your _NT_SYMBOL_PATH environment variable to the following:
UPDATE: This is the correct syntax SRV*c:\symbols*http://referencesource.microsoft.com/symbols; SRV*c:\symbols*http://msdl.microsoft.com/download/symbols - For you advanced hackers out there, I tried like crazy to get SYMCHK and PDBSTR to work for pre-downloading and bulk source extraction working, but with no luck at all. It appears that the WinDBG tools don't have support for source servers that use http downloads, but the QFE added that support to Visual Studio 2008. (See my article if you don't know what I'm talking about.)
Read original post. Labels: .NET, Debugging, Tools and Tips
# posted by Martin Kulov @ 1:48 AM
|

 |
 |

|