Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

debug tools : windbg source index solution for git projects (source slower, debug faster)

License

NotificationsYou must be signed in to change notification settings

shenxiaolong-code/sourceIndex_forGit

Repository files navigation

source index for git repo.
The current windbg source index suite doesn't support git repo. here one solution is given by DOS script.
Chinese introduce :https://bbs.pediy.com/thread-263043.htm

Usage :

Note:

  • config windbg tool path
    if your windbg tool "srctool.exe" is added to %path%, you needn't do anything , else you need to update the file "userLocalPathConfig.bat"
    below is my windbg x86 path setting:
    where pdbstr.exe 2>nul || @set "path=C:\Program Files (x86)\Windows Kits\10\Debuggers\x86\srcsrv;%path%"
    where windbg.exe 2>nul || @set "path=C:\Program Files (x86)\Windows Kits\10\Debuggers\x86;%path%"

  • you need to prepare one local git repo
    it 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.)
    e.g. assume your git repo path is "D:\sourceCode\jabberGit129" , you need to set environment varialbe :
    setx localGitRepo "D:\sourceCode\jabberGit129"
    this variable is used in "gitFetchFile.cmd" , certain you can edit "gitFetchFile.cmd" directly without puting it into system environments.

  • add gitFetchFile.cmd to system search path.
    you need to put gitFetchFile.cmd path in %path%, or copy it into system directory (e.g. C:\windows\system32).
    the debugger will seek to download a specified file with a specified commit ID. (that info comes from source index)

additional:

About

debug tools : windbg source index solution for git projects (source slower, debug faster)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp