Latest / Developer tools

cpp-dump

github.com · Open source · Quiet

C++ debugging helper that prints containers and user-defined types

Visit github.com ↗Share

  • printing
  • competitive programming
  • c debugging
  • print variables c
  • c container printing
  • cpp debug output
  • pretty print c
Stars
386
Forks
17
Open issues
2
Last commit
Releases
7
Found
3 years ago

GitHub figures as of . They are context, not a ranking.

cpp-dump is a C++ library that prints any variable for debugging, including multi-dimensional vectors, maps, tuples and user-defined types. It suits C++ developers who want readable output from complex data structures without writing custom printing code.

Repository description on GitHub: “A C++ library for debugging purposes that can print any variable, even user-defined types.”

What it does

  • Prints vectors, maps, sets and tuples, including multi-dimensional ones
  • Auto-indents nested containers to fit the maximum line width
  • Colored output with over 20 manipulators
  • Output format resembles JavaScript, Python and C++ syntax

Good for

  • Inspect nested containers while debugging a C++ program
  • Print complex variables during competitive programming

Suits: C++ developers who debug or practise competitive programming.

What you can try

Read the README on GitHub and install from source.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw cpp-dump on , when philip82148 posted it to Show HN. The oldest published release on GitHub is v0.1.0, dated . cpp-dump had been shipping tagged releases for 3 days before it was found. 7 releases have been published in total; the latest is v0.7.0 ().

Day-7 and day-30 updates

Day 7 no new release

  • No tagged release was published in the first 7 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 82 points, 31 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 2 releases shipped

  • 2 releases in the first 30 days: v0.2.0 (9 Oct 2023), v0.3.0 (23 Oct 2023)
  • Show HN discussion at check time: 82 points, 31 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

  1. Repository created on GitHub: philip82148/cpp-dump
  2. Release v0.1.0
  3. Found: philip82148 posted it to Show HN. Show HN
  4. Release v0.2.0
  5. Release v0.3.0
  6. Release v0.4.0
  7. Release v0.5.0
  8. Release v0.6.0
  9. Release v0.7.0
  10. Day-7 check recorded by Kip (details)
  11. Day-30 check recorded by Kip (details)

Quick answers

When was cpp-dump released?
Its first tagged release on GitHub is dated 27 Sep 2023. Kip found it on Show HN on 30 Sep 2023.
Is cpp-dump open source?
Its source is public on GitHub at philip82148/cpp-dump under the MIT licence.
What does cpp-dump run on?
Library.
Is cpp-dump free?
It is open source, so the code is free to read and run; check the licence for terms.
Is cpp-dump still maintained?
It has had no commit or release for over a year as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositoryphilip82148/cpp-dump
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-37712593. Summary written by KipFound’s editor.

Share

Similar tools

More in Developer tools

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.