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...
Page 1 of 1 (2 items)