C++ Debug

Open-source C++ projects categorized as Debug | Edit details
Related topics: #C++ #Tdd #unit-testing #Testing #CPP

Top 15 C++ Debug Projects

  • GitHub repo Google Test

    GoogleTest - Google Testing and Mocking Framework

    Project mention: Ingenuity in C++ | reddit.com/r/cpp | 2022-01-21

    Everything SFINAE, like the strictness probe for mocks in googletest: https://github.com/google/googletest/blob/main/googlemock/include/gmock/gmock-nice-strict.h (around line 90)

  • GitHub repo Catch

    A modern, C++-native, test framework for unit-tests, TDD and BDD - using C++14, C++17 and later (C++11 support is in v2.x branch, and C++03 on the Catch1.x branch)

    Project mention: How do I properly unit-test a class or module? | reddit.com/r/cpp_questions | 2021-12-24

    First of all, use a testing library, it makes life a lot easier. I mostly use https://github.com/catchorg/Catch2 You can pass cli args to specify which tests to run, and it makes things a whole lot simpler.

  • OPS

    OPS - Build and Run Open Source Unikernels. Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.

  • GitHub repo benchmark

    A microbenchmark support library

    Project mention: How to identify inefficient method calls? | reddit.com/r/cpp | 2021-11-27

    If you are uncertain about the performance characteristics of a function you should ALWAYS benchmark it. Googles Benchmark library is wonderful for quick micro benchmarks. For more complex things, perhaps look into profiling and then look at invocation counts of copy constructors.

  • GitHub repo doctest

    The fastest feature-rich C++11/14/17/20 single-header testing framework

    Project mention: Unit testing and mocking for c++ | reddit.com/r/cpp | 2021-10-19

    I usually use doctest with trompeloeil.

  • GitHub repo backward-cpp

    A beautiful stack trace pretty printer for C++

    Project mention: Error stack traces in Go with x/xerror | news.ycombinator.com | 2021-08-23

    100% Shameless plug. Stack capture and pretty printer for C++: https://github.com/bombela/backward-cpp

  • GitHub repo easy_profiler

    Lightweight profiler library for c++

  • GitHub repo CppUTest

    CppUTest unit testing and mocking framework for C/C++

  • SonarLint

    Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.

  • GitHub repo VLD

    Visual Leak Detector for Visual C++ 2008-2015

    Project mention: Why does this bit of code cause a ~4KB/S memory leak? (SDL2) | reddit.com/r/programminghelp | 2021-08-20

    Honestly it won't do you much good if you're on Windows anyway. You can try Visual Leak Detector or maybe something like Dr.Memory but I couldn't tell you. I do all of my C++ work on windows either on the WSL or through a SSH connection to a Linux machine.

  • GitHub repo Celero

    C++ Benchmark Authoring Library/Framework

  • GitHub repo RemoteDebug

    Library for Arduino to debug projects over WiFi, with web app or telnet, with print commands like Serial Monitor

    Project mention: how to monitor esp8622-01 if it is in my circuit | reddit.com/r/esp8266 | 2022-01-14
  • GitHub repo UnitTest++

    A lightweight unit testing framework for C++

  • GitHub repo fff

    A testing micro framework for creating function test doubles (by meekrosoft)

    Project mention: Embedded Cross-Compiled Test Driven Development with CGull | reddit.com/r/embedded | 2021-07-26

    FFF Github page

  • GitHub repo hayai

    C++ benchmarking framework

  • GitHub repo Boost.Test

    The reference C++ unit testing framework (TDD, xUnit, C++03/11/14/17) (by boostorg)

  • GitHub repo Nonius

    A C++ micro-benchmarking framework

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2022-01-21.

C++ Debug related posts


What are some of the best open-source Debug projects in C++? This list will help you:

Project Stars
1 Google Test 24,825
2 Catch 14,439
3 benchmark 6,093
4 doctest 3,624
5 backward-cpp 2,254
6 easy_profiler 1,604
7 CppUTest 1,000
8 VLD 827
9 Celero 673
10 RemoteDebug 512
11 UnitTest++ 478
12 fff 461
13 hayai 355
14 Boost.Test 124
15 Nonius 90
Find remote jobs at our new job board 99remotejobs.com. There are 29 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
Less time debugging, more time building
Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.