Debugging tools help narrow down the issue through step-by-step execution, with breakpoints, variable inspection, and so on. Though debugging the issue step by step may be a time-consuming task, it is definitely a sure-shot way of nailing down the issue, and I can say that it pretty much always works.
Here is a list of debugging tools for C++:
- GDB: This is an open source CLI debugger
- Valgrind: This is an open source CLI, good for memory leaks, deadlocks, racing detection, and so on
- Affinic debugger: This is a commercial GUI tool for GDB
- GNU DDD: This is an open source graphical debugger for GDB, DBX, JDB, XDB, and so on
- GNU Emacs GDB mode: This is an open source tool with minimal graphical debugger support
- KDevelop: This ...