C++ C++ Debugging and Debug-prevention Tools & Techniques

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Extensions
> Step 2: And Like the video. BONUS: You can also share it!

Introduction

A lot of time from C++ developers is spent debugging. This topic is meant to assist with this task and give inspiration for techniques. Don't expect an extensive list of issues and solutions fixed by the tools or a manual on the mentioned tools.

Remarks

This topic ain't complete yet, examples on following techniques/tools would be useful:

  • Mention more static analysis tools
  • Binary instrumentation tools (like UBSan, TSan, MSan, ESan ...)
  • Hardening (CFI ...)
  • Fuzzing


Got any C++ Question?