{"id":21155927,"url":"https://github.com/dfranx/sdbg","last_synced_at":"2025-08-22T11:33:25.474Z","repository":{"id":113373203,"uuid":"237316086","full_name":"dfranx/sdbg","owner":"dfranx","description":"CLI shader debugger / testbed for SPIRV-VM","archived":false,"fork":false,"pushed_at":"2020-04-26T01:03:55.000Z","size":246,"stargazers_count":14,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-04T23:22:38.009Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","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/dfranx.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":"2020-01-30T22:13:42.000Z","updated_at":"2022-07-01T13:10:04.000Z","dependencies_parsed_at":"2023-04-19T23:31:42.602Z","dependency_job_id":null,"html_url":"https://github.com/dfranx/sdbg","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/dfranx/sdbg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfranx%2Fsdbg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfranx%2Fsdbg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfranx%2Fsdbg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfranx%2Fsdbg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dfranx","download_url":"https://codeload.github.com/dfranx/sdbg/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfranx%2Fsdbg/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271629905,"owners_count":24793220,"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","status":"online","status_checked_at":"2025-08-22T02:00:08.480Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-11-20T11:32:51.598Z","updated_at":"2025-08-22T11:33:25.465Z","avatar_url":"https://github.com/dfranx.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SDBG\n\nsdbg is a cross-platform application that can debug shaders.\nIt uses [SPIRV-VM](https://github.com/dfranx/SPIRV-VM). It is made only to showcase [SPIRV-VM](https://github.com/dfranx/ShaderDebugger).\n\n## Download\nDownload the latest Win64 binary here: [link](https://github.com/dfranx/sdbg/releases)\n\n## Build\nTo build sdbg:\n```bash\ngit clone https://github.com/dfranx/sdbg.git\ncd sdbg\ngit submodule update --init\ncmake .\nmake\n```\n\nAfter that, you can run the shader debugger:\n```bash\n./bin/sdbg -f shader.hlsl --hlsl\n```\n\n## Screenshots\n\u003cp align=\"center\"\u003e\n    \u003cimg width=\"500\" src=\"./misc/screen1.gif\"\u003e\n\u003c/p\u003e\n\n## Commands\n - **step**\n   - step one line\n - **get \\\u003cvar_name\\\u003e**\n   - get variable value\n - **jump \\\u003cline\\\u003e**\n   - go to the `line`\n\n## Arguments\n - **--file | -f \\\u003cshader\\\u003e**\n   - specify input file\n - **--compiler | -c hlsl/glsl**\n   - specify compiler\n - **--stage | -s \\\u003csname\\\u003e**\n   - specify shader stage (`vert` for vertex shader, `frag` for fragment shader, `geom` for geometry shader)\n - **--entry | -e \\\u003cfname\\\u003e**\n   - set the entry function (\"main\" by default)\n\n## Contact\nIf you want to contact me, send an email to this address: \n**dfranx at shadered dot org**\n\n## LICENSE\nsdbg is licensed under MIT license. See [LICENSE](./LICENSE) for more details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfranx%2Fsdbg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdfranx%2Fsdbg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfranx%2Fsdbg/lists"}