Browse by Tags

Tagged Content List
  • Blog Post: Windbg QuickStart guide (Part 4 - Debugging unexpected program behavior)

    First Chance Exceptions Let’s assume I have written some really ugly code like what you see here: 1: int i = 0; 2: try 3: { 4: i = int.Parse(args[0]); 5: } 6: catch 7: { 8: Console.WriteLine("Invalid Argument"); 9: } 10: Console.WriteLine(i); When...
  • Blog Post: Breaking on Module Load

    Let’s say we want to break the debugger when a specific dll is loaded, for example I want to enable some SOS commands and clr hasn’t been loaded yet, this is especially useful when you have an exception that happens too early in the program and you can’t rely on manually trying to break...
  • Blog Post: Error loading sos.dll

    Many times you get this error when you do .load sos 0:080> .load sos The call to LoadLibrary(sos) failed, Win32 error 0n2 "The system cannot find the file specified." Please check your debugger configuration and/or network access. You can solve this by doing .loadby sos clr , this means you...
  • Blog Post: Windbg QuickStart guide (Part 2 - hangs)

    Riham Selim Riham Selim 4 19 2012-03-08T13:59:00Z 2012-03-08T14:08:00Z 3 876 4996 Microsoft Corporation 41 11 5861 14.00 In part1 we have discussed the steps you need to get ready to start debugging with windbg , in this part we will walk through...
Page 1 of 1 (4 items)