Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It feels like there are basic heuristics that too often people either don't know or forget to apply.

I recommend http://debuggingrules.com/ - it's a good book that lays out some rules that have always helped me. When people come to me for help debugging something, invariably they've skipped some of these concepts, and applying them usually gets to the bottom of things faster than randomly changing things (which seems to be a common, but ineffective, way to debug a problem).

    UNDERSTAND THE SYSTEM
    MAKE IT FAIL
    QUIT THINKING AND LOOK
    DIVIDE AND CONQUER
    CHANGE ONE THING AT A TIME
    KEEP AN AUDIT TRAIL
    CHECK THE PLUG
    GET A FRESH VIEW
    IF YOU DIDN’T FIX IT, IT AIN’T FIXED


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: