The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,858 other subscribers

One of the marvels from b0rk on Twitter is some 40 pages of debugging strategies: by now it should be a fully fledged zine

Posted by jpluimers on 2025/03/11

[Wayback/Archive] 🔎Julia Evans🔍 on Twitter: “so far we have about 40 pages of debugging strategies and trying to organize them is a struggle :) here’s a draft of the table of contents (though it’s SO FAR from being done, note the “unsorted pages” section haha)”:

Image

Table of contents text (via Google Lens):

  • introduction
    • not every bug is a priority
    • DETECTIVE MODE
  • easy first steps..
    • preserve the crime scene
    • come up with one question
    • get it under the microscope
    • read the error message
    • reread the error message
  • get organized
    • write down every hypothesis
    • keep a log book
  • explore your unknowns
    • make a timeline
    • use a debugger
    • jump into a REPL
    • use a new spy tool
    • dig into confusing code
    • read the library’s code
    • look at github issues
  • simplify
    • write a tiny program
    • comment out code
    • tidy up your code
  • get unstuck
    • take a break
    • investigate bugs together
    • timebox your investigation
    • don’t let your insecurities drive
    • write a message asking for help
  • improve your toolkit
    • shorten your feedback loop
    • add extra logging
    • add pretty printing
  • unsorted pages
    • find a version that works
    • verify things people tell you
    • draw a diagram
    • take a recording
  •  reflect
    • explain the bug to someone.
    • find the bug’s friends.
    • add a comment..

Larger image:

Image

A few drafts of pages (some not even in the table of contents):

--jeroen

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.