Flamegraphs are great way to visualize resource consumption in your program and I am their big fan (I have written about them on two occasions – here and here). My biggest concern with flamegraphs is when the tooling is bad or missing: to create flamegraphs, you need to have a good profiler and a binary…
All posts in Debugging
RR: The magic of record and replay debugging
Learn about RR, a tool that will change the way you debug. RR will allow you to record bugs once and replay them anywhere. It will also allow you to reverse-execute your program, a feature that will simplify your debugging and your life.
Lessons in debugging: observe how programs interact with the Linux kernel with STRACE
There are a subset of problems in software development that can be traced back to system calls or signals. Learn about STRACE, tool that let you trace system calls and signals and that can help you quickly figure out the origin of those problems.
GDB: A quick guide to make your debugging easier
We will talk about how to profit from some of GDB’s very useful albeit less known features.