manicai.net

  • Home Page
  • Computers
    • Caps lock and Control
    • LaTeX
    • Emacs
    • wmFuzzy
    • Debugging
      • Tricks and Tips
      • AutoExp
      • Visualizer Extensions
      • x86 vs x64 FPU Calcs
      • IsDebuggerPresent
      • Out of Memory
    • Appraisal Generator
    • SAGE Poker
    • Mini Hacks
    • Can't Stop
  • Artifical Intellgence
  • Family History
  • Blog
  • Sitemap


I seem to be gradually accumulating Windows debugging tricks and need somewhere to keep track of them. There's some small debugging tricks and tips and some longer articles:

  • Tracing an out of memory crash
  • Easy custom visualizers for Visual Studio
  • Adding a custom auto expand visualizer to Visual Studio
  • Dodging a deliberate Heisenbug
  • Comparing 32-bit and 64-bit C# calculations

Useful Websites, Articles and Links

Examining a memory dump.
  • Raymond Chen’s blog Old New Thing especially
    • The advantages of knowing your x86 assembler.
    • Identifying an object whose underlying DLL has been unloaded.
    • Using the “gu” command to find infinite loops.
    • Calling functions and methods within the debugger.
    • Why does the debugger show me the wrong function.
  • The Microsoft Advanced Windows Debugging and Troubleshooting blog
    • Setting up remote debugging assistance
  • Jim Griesmer’s Gooey Bugs blog
  • John Robbin’s blog
  • Tess Ferrandez blog “If broken it is, fix it you should”: lots of information on debugging .Net with WinDBG.
  • Robert Kuster’s thematically grouped WinDBG command list - keep this on your desk if you use WinDBG.
  • Debugging 32-bits apps on 64-bits machines in WinDBG
  • Finding where an unmanaged exception was thrown.
  • Steve Johnson’s SOSEX extension for debugging .net

Books You Should Have On Your Shelf

Advanced Windows Debugging by Hewardt and Pravat and Advanced .NET Debugging by Mario Hewardt are both excellent for the low level details.

Debugging Microsoft .NET 2.0 Applications by John Robbins.

© 2010 Ian Glover Contact Me