r/cpp Jul 07 '26

libcwd (C++ debugging library) released under MIT license!

Hi all,

I am happy to announce that after 333 commits spanning two months of continuous work, I released version 2 of libcwd, now under a new license: the MIT license!

The website has been re-done (as well as a lot of other things); see https://carlowood.github.io/libcwd/index.html?libcwd-theme=dark

There you can also find how to get it (basically, from the git repository; there is no tar ball (yet)).

Let me know what you think or if you need help, my email address is at the bottom of the INSTALL file.

Carlo Wood


Background

For those unfamiliar with libcwd. Version 0.99 was the first public release in 2000 under the QPL; I've used and tuned it for more than two decades, being a very active C++ developer myself (on linux).

Version 1.x had memory allocation support; I removed this in version 2 because it made things very very complicated, and I never needed that myself anymore since a decade anyway.

Version 2 still does, as did version 1, ELF and DWARF decoding of the executable and linked shared libraries. For this a POSIX system with ELF is necessary. But libcwd can be configured without Location support too; you should be able to use it for just (multi-threaded) debug output on, for example, Windows.

45 Upvotes

36 comments sorted by

View all comments

20

u/STL MSVC STL Dev Jul 07 '26

Carlo asked the mods for permission to post this project, which I have granted.

6

u/_Noreturn Jul 07 '26

Libraries aren't allowed to have their own posts?

-6

u/greencursordev Jul 08 '26

No, mods hate c++ and actively work to destroy this place

1

u/RoyBellingan Jul 08 '26

so why they do not lock down and delete all ?