{"id":28239554,"url":"https://github.com/shenxiaolong-code/sourceindex_forgit","last_synced_at":"2025-06-11T07:30:43.402Z","repository":{"id":266613334,"uuid":"231350881","full_name":"shenxiaolong-code/sourceIndex_forGit","owner":"shenxiaolong-code","description":"debug tools : windbg source index solution for git projects (source slower, debug faster)","archived":false,"fork":false,"pushed_at":"2022-07-21T02:42:19.000Z","size":50,"stargazers_count":17,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-19T02:12:41.602Z","etag":null,"topics":["debug","git","sourceindex","symbol","windbg"],"latest_commit_sha":null,"homepage":"","language":"Batchfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shenxiaolong-code.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-02T09:39:03.000Z","updated_at":"2025-04-02T05:27:01.000Z","dependencies_parsed_at":"2024-12-05T07:26:59.976Z","dependency_job_id":"a4387731-f952-44bf-a4c4-1258b096be45","html_url":"https://github.com/shenxiaolong-code/sourceIndex_forGit","commit_stats":null,"previous_names":["shenxiaolong-code/sourceindex_forgit"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shenxiaolong-code%2FsourceIndex_forGit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shenxiaolong-code%2FsourceIndex_forGit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shenxiaolong-code%2FsourceIndex_forGit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shenxiaolong-code%2FsourceIndex_forGit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shenxiaolong-code","download_url":"https://codeload.github.com/shenxiaolong-code/sourceIndex_forGit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shenxiaolong-code%2FsourceIndex_forGit/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259221773,"owners_count":22823966,"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":["debug","git","sourceindex","symbol","windbg"],"created_at":"2025-05-19T02:12:40.925Z","updated_at":"2025-06-11T07:30:43.394Z","avatar_url":"https://github.com/shenxiaolong-code.png","language":"Batchfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SourceIndex_forGit\nsource index for git repo.  \nThe current windbg source index suite doesn't support git repo. here one solution is given by DOS script.  \nChinese introduce : https://bbs.pediy.com/thread-263043.htm\n\n# Usage :  \n- Syntax:  \n  gitIndex.cmd \\\u003csourceCodeDir\\\u003e \\\u003cpdbFilesDirPath\\\u003e  \n- example  \n  gitIndex.cmd \"d:\\myProject\\newFeature\" \"d:\\myProject\\newFeature\\output\\bin\"  \n  gitIndex.cmd will make source index for all pdb files under path \"d:\\myProject\\newFeature\\output\\bin\" and update those pdb files.  \n\n- you can refer to the example in the path:  \n  https://github.com/shenxiaolong-code/sourceIndex_forGit/blob/master/test/test_pdbDirAll.bat\n\n# Note:  \n - config windbg tool path  \nif your windbg tool \"srctool.exe\" is added to %path%, you needn't do anything , else you need to update the file \"userLocalPathConfig.bat\"  \nbelow is my windbg x86 path setting:  \nwhere pdbstr.exe 2\u003enul || @set \"path=C:\\Program Files (x86)\\Windows Kits\\10\\Debuggers\\x86\\srcsrv;%path%\"  \nwhere windbg.exe 2\u003enul || @set \"path=C:\\Program Files (x86)\\Windows Kits\\10\\Debuggers\\x86;%path%\"  \n\n- you need to prepare one local git repo  \nit is used to fetch a single repo file with a specified commit id. (fetched file doesn't overwrite this repo file, see \"gitFetchFile.cmd\" for detail.)  \ne.g.  assume your git repo path is \"D:\\sourceCode\\jabberGit129\" , you need to set environment varialbe :  \nsetx  localGitRepo \"D:\\sourceCode\\jabberGit129\"  \nthis variable is used in \"gitFetchFile.cmd\" , certain you can edit \"gitFetchFile.cmd\" directly without puting it into system environments.\n\n- add gitFetchFile.cmd to system search path.  \nyou need to put gitFetchFile.cmd path in %path%, or copy it into system directory (e.g. C:\\windows\\system32).  \nthe debugger will seek to download a specified file with a specified commit ID. (that info comes from source index)\n\n# additional:  \n- index slower , debug faster -- use : https://github.com/ShenXiaolong1976/sourceIndex_forGit\n- index faster , debug slower -- use : https://github.com/ShenXiaolong1976/sourceIndexLight_forGit\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshenxiaolong-code%2Fsourceindex_forgit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshenxiaolong-code%2Fsourceindex_forgit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshenxiaolong-code%2Fsourceindex_forgit/lists"}