-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpdbFile.reg
More file actions
52 lines (37 loc) · 2.5 KB
/
pdbFile.reg
File metadata and controls
52 lines (37 loc) · 2.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
Windows Registry Editor Version 5.00
;note : there is 16 max entry limitation in MUIVerb, more entry will be not shown.
; there is max string length limitation for SubCommands. so it is best to short command name length within 16 total entry number.
; use ExtendedSubCommandsKey , instead of SubCommands , the advantage :
; many command can be grouped together, it is easy to maintain.
; the menu path can be customered , instead of fix path : HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell
; recommend to use path : HKEY_CLASSES_ROOT\._myMenus , because it lists the top position of registry.
; can NOT add HKEY_CLASSES_ROOT before path , else will fail to import to registry (MUST under same root key)
[HKEY_CLASSES_ROOT\.pdb]
@="pdbfile"
[HKEY_CLASSES_ROOT\pdbfile\Shell\windbg]
"MUIVerb"="windbg"
"ExtendedSubCommandsKey"="._myMenus\\windbg\\pdbFileNode"
[HKEY_CLASSES_ROOT\._myMenus\windbg\pdbFileNode\shell\01_readPdb]
@="read srcsrv info (pdbstr.exe)"
[HKEY_CLASSES_ROOT\._myMenus\windbg\pdbFileNode\shell\01_readPdb\command]
@="cmd.exe /c %%myWinScriptPath%%\\Windbg\\tools_windbg.bat readPdb \"%V\""
[HKEY_CLASSES_ROOT\._myMenus\windbg\pdbFileNode\shell\02_writePdb]
@="write srcsrv info (pdbstr.exe)"
[HKEY_CLASSES_ROOT\._myMenus\windbg\pdbFileNode\shell\02_writePdb\command]
@="cmd.exe /c %%myWinScriptPath%%\\Windbg\\tools_windbg.bat writePdb \"%V\""
[HKEY_CLASSES_ROOT\._myMenus\windbg\pdbFileNode\shell\03_rawInfo]
@="read raw indexed source file list (srctool.exe)"
[HKEY_CLASSES_ROOT\._myMenus\windbg\pdbFileNode\shell\03_rawInfo\command]
@="cmd.exe /c %%myWinScriptPath%%\\Windbg\\tools_windbg.bat pdbInfo \"%V\" raw"
[HKEY_CLASSES_ROOT\._myMenus\windbg\pdbFileNode\shell\04_extractSrc]
@="extract src file"
[HKEY_CLASSES_ROOT\._myMenus\windbg\pdbFileNode\shell\04_extractSrc\command]
@="cmd.exe /c %%myWinScriptPath%%\\Windbg\\tools_windbg.bat pdbInfo \"%V\" src"
[HKEY_CLASSES_ROOT\._myMenus\windbg\pdbFileNode\shell\05_readGitStream]
@="read git source index info"
[HKEY_CLASSES_ROOT\._myMenus\windbg\pdbFileNode\shell\05_readGitStream\command]
@="cmd.exe /c %%myWinScriptPath%%\\Windbg\\tools_windbg.bat pdbInfo \"%V\" gitStream"
[HKEY_CLASSES_ROOT\._myMenus\windbg\pdbFileNode\shell\06_dbhTool]
@="investigate pdb file by dbh.exe"
[HKEY_CLASSES_ROOT\._myMenus\windbg\pdbFileNode\shell\06_dbhTool\command]
@="cmd.exe /c %%myWinScriptPath%%\\Windbg\\tools_windbg.bat dbhCheck \"%V\""