Debugging Strategies Every Developer Should Know
Master binary search debugging, rubber duck method, git bisect, stack traces, logging levels, and when to use print statements vs a debugger.
16 posts · page 1 of 1
Master binary search debugging, rubber duck method, git bisect, stack traces, logging levels, and when to use print statements vs a debugger.
Use git bisect to binary search through your commit history and pinpoint the exact commit that broke your code. Covers manual, automated, and advanced bisect workflows.
Learn prompt patterns for writing, reviewing, debugging, and refactoring code with LLMs, including practical templates and real examples.
Go beyond console.log: Network throttling, Performance flame charts, Memory snapshots, CSS debugging, JavaScript profiling, and hidden DevTools features that save hours.
Learn how to use git bisect to perform binary search through your commit history and pinpoint the exact commit that introduced a bug in your codebase.
Learn how to detect, diagnose, and fix JavaScript memory leaks using Chrome DevTools heap snapshots, allocation timelines, and common leak patterns.
A practical guide to debugging pods, services, and deployments with kubectl. Covers logs, exec, describe, events, and ephemeral debug containers.
Learn how to use strace to trace system calls, debug application issues, and understand what your programs are doing under the hood.
Use Go's race detector to find and fix data races, plus tools and patterns for debugging concurrent programs effectively.
Learn to use git bisect to find the exact commit that introduced a bug. Covers manual bisect, automated bisect with scripts, and practical strategies.
A guided tour of the most common undefined behavior traps in C++ and the habits, tools, and language features that help you avoid them in production code.
Use git bisect to binary-search through history and pinpoint the commit that introduced a regression, with manual and automated examples.
Use strace to inspect every system call a process makes. Learn the essential flags, how to filter noise, and the patterns for debugging hangs, slowness, and crashes.
Step through Node.js code with Chrome DevTools and VS Code by attaching to the built-in inspector, including remote and production debugging tips.
Find and fix memory leaks in Node.js using heap snapshots, sampling, and a few reliable patterns to avoid leaks.
Diagnose and eliminate flaky tests caused by timing, ordering, shared state, and the network. Build a culture that stops flakes at the source.