{"id":13731031,"url":"https://github.com/wc-duck/dbgtools","last_synced_at":"2026-02-22T05:30:41.831Z","repository":{"id":11672046,"uuid":"14181504","full_name":"wc-duck/dbgtools","owner":"wc-duck","description":"Small collection of debug-related drop-in c/c++-utils","archived":false,"fork":false,"pushed_at":"2022-01-02T07:45:08.000Z","size":93,"stargazers_count":228,"open_issues_count":3,"forks_count":10,"subscribers_count":17,"default_branch":"master","last_synced_at":"2024-08-04T02:09:55.230Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wc-duck.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-11-06T18:25:18.000Z","updated_at":"2024-07-20T23:11:56.000Z","dependencies_parsed_at":"2022-08-30T04:21:08.482Z","dependency_job_id":null,"html_url":"https://github.com/wc-duck/dbgtools","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wc-duck%2Fdbgtools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wc-duck%2Fdbgtools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wc-duck%2Fdbgtools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wc-duck%2Fdbgtools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wc-duck","download_url":"https://codeload.github.com/wc-duck/dbgtools/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224695873,"owners_count":17354501,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T02:01:23.006Z","updated_at":"2024-11-14T21:32:03.694Z","avatar_url":"https://github.com/wc-duck.png","language":"C","funding_links":[],"categories":["C++","C"],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/wc-duck/dbgtools.svg?branch=master)](https://travis-ci.org/wc-duck/dbgtools)\n[![Build status](https://ci.appveyor.com/api/projects/status/ebe2yl78l9pv38rv)](https://ci.appveyor.com/project/wc-duck/dbgtools)\n\n# About:\nPlatform independent wrapping of \"nice to have\" debug functions.\n\n* assert.h        - implements a replacement for the standard assert() macro supporting callback at assert, and error-message with printf-format.\n* callstack.h     - implements capturing of callstack/backtrace + translation of captured symbols into name, file, line and offset.\n* debugger.h      - implements debugger_present to check if a debugger is attached to the process.\n* static_assert.h - defines the macro STATIC_ASSERT( condition, message_string ) in an \"as good as possible way\" depending on compiler features and support. It will try to use builtin support for static_assert and _Static_assert if possible.\n* fpe_ctrl.h      - implements platform independent functions to get/set floating point exception and enable trapping of the same exceptions.\n* hw_breakpoint.h - implements platform independent hardware breakpoints.\n\n# Design:\nThe files are designed to be able to be used by them self, only header and src should be needed by the user and all files\nshould work by them self and compile with all common compilers without to many specific fixes.\n\n# Notes:\n* MSVC      - callstack_symbols() require linking against Dbghelp.lib.\n* GCC/Clang - callstack_symbols() require -rdynamic to be sepcified as link-flag to get valid symbols.\n\n# Licence:\n\n```\ndbgtools - platform independent wrapping of \"nice to have\" debug functions.\n\nversion 0.1, october, 2013\n\nCopyright (C) 2013- Fredrik Kihlander\n\nThis software is provided 'as-is', without any express or implied\nwarranty.  In no event will the authors be held liable for any damages\narising from the use of this software.\n\nPermission is granted to anyone to use this software for any purpose,\nincluding commercial applications, and to alter it and redistribute it\nfreely, subject to the following restrictions:\n\n1. The origin of this software must not be misrepresented; you must not\n   claim that you wrote the original software. If you use this software\n   in a product, an acknowledgment in the product documentation would be\n   appreciated but is not required.\n2. Altered source versions must be plainly marked as such, and must not be\n   misrepresented as being the original software.\n3. This notice may not be removed or altered from any source distribution.\n\nFredrik Kihlander\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwc-duck%2Fdbgtools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwc-duck%2Fdbgtools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwc-duck%2Fdbgtools/lists"}