{"id":15343710,"url":"https://github.com/spacewander/debugger-utils","last_synced_at":"2025-04-15T02:37:02.585Z","repository":{"id":71091781,"uuid":"59188870","full_name":"spacewander/debugger-utils","owner":"spacewander","description":"Utils collection for extending gdb with python","archived":false,"fork":false,"pushed_at":"2016-06-15T04:58:16.000Z","size":15,"stargazers_count":66,"open_issues_count":0,"forks_count":21,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-28T15:04:35.772Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spacewander.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-05-19T08:37:35.000Z","updated_at":"2025-01-14T07:24:40.000Z","dependencies_parsed_at":"2023-03-06T01:30:31.700Z","dependency_job_id":null,"html_url":"https://github.com/spacewander/debugger-utils","commit_stats":{"total_commits":14,"total_committers":1,"mean_commits":14.0,"dds":0.0,"last_synced_commit":"c5bea9295dee1ac113b1ef8384a97f34dc08005a"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spacewander%2Fdebugger-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spacewander%2Fdebugger-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spacewander%2Fdebugger-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spacewander%2Fdebugger-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spacewander","download_url":"https://codeload.github.com/spacewander/debugger-utils/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248995102,"owners_count":21195497,"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-10-01T10:49:12.525Z","updated_at":"2025-04-15T02:37:02.575Z","avatar_url":"https://github.com/spacewander.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Utilities for extending gdb with python\n\n## Usage\n\n1. Download `debugger-utils` to directory `X`\n2. Put these to your `~/.gdbinit`:\n```\npython import sys; sys.path.append('$X/debugger-utils')\n```\n`$X` is where `debugger-utils` lies in.\n3. `import gdb_utils` in your python script.\n\n## Example\n\n```python\n# Create a gdb commands in hello.py\nimport gdb_utils\n\n\ndef hello(who, *args):\n    \"\"\"\n    Say hello.\n    \"\"\"\n    print('hello %s', who)\ngdb_utils.define(hello)\n#(gdb) so hello.py\n#(gdb) hello 'world'\n```\n\nFor more examples, see [example](./example).\n\n## API\n\nGDB commands:\n\n- [x] break\n- [x] clear\n- [x] commands\n- [x] delete\n- [x] disable\n- [x] define\n- [x] enable\n- [x] info\n- [x] thread\n- [x] thread_name\n- [x] watch\n\nOther API:\n\n- [x] get_breakpoint\n- [x] function\n- [x] stop\n- [x] register_pprinter\n- [x] build_pprinter\n- [x] globval\n- [x] ty\n\nFor more info, see [API.md](./API.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspacewander%2Fdebugger-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspacewander%2Fdebugger-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspacewander%2Fdebugger-utils/lists"}