|
1 | 1 | # PDB Insight |
2 | 2 |
|
3 | | -一款新的、强大且小巧的 PDB 查看工具。 |
| 3 | +A powerful, lightweight PDB (Program Database) viewer tool. |
4 | 4 |
|
5 | | -## 功能特点 |
| 5 | +## Features |
6 | 6 |
|
7 | | -- **树状视图** - 浏览 PDB 文件中的所有类型、函数、类、结构体、联合体、枚举和全局变量 |
8 | | -- **详细信息** - 查看选中项的详细属性 |
9 | | -- **头文件视图** - 自动生成类/结构体的 C++ 头文件声明 |
10 | | -- **语法高亮** - 头文件视图支持 C++ 语法高亮 |
11 | | -- **搜索功能** - 在树状视图中搜索符号 |
12 | | -- **导出功能** - 支持导出为 CSV、XML 和头文件 |
13 | | -- **多语言** - 支持中文和英文界面 |
14 | | -- **可调整分隔条** - 灵活调整各视图宽度 |
15 | | -- **快捷键支持** - Ctrl+C 复制,Ctrl+F 搜索 |
| 7 | +- **Tree View** - Browse all types, functions, classes, structs, unions, enums, and global variables in the PDB file |
| 8 | +- **Details View** - View detailed properties of selected items |
| 9 | +- **Header View** - Automatically generate C++ header declarations for classes/structs |
| 10 | +- **Syntax Highlighting** - C++ syntax highlighting in header view |
| 11 | +- **Search Function** - Search for symbols in the tree view |
| 12 | +- **Export Function** - Support for exporting to CSV, XML, and header files |
| 13 | +- **Multi-language Support** - Chinese and English interface |
| 14 | +- **Resizable Splitter** - Flexibly adjust the width of each view |
| 15 | +- **Keyboard Shortcuts** - Ctrl+C for copy, Ctrl+F for search |
16 | 16 |
|
17 | | -## 系统要求 |
18 | 17 |
|
19 | | -- Windows 7 或更高版本 |
| 18 | +## System Requirements |
20 | 19 |
|
21 | | -## 构建说明 |
| 20 | +- Windows 7 or later |
22 | 21 |
|
23 | | -### 使用 Visual Studio 2022 构建 |
| 22 | +## Build Instructions |
24 | 23 |
|
25 | | -1. 打开 `PDBViewer.sln` 解决方案文件 |
26 | | -2. 选择配置(Debug 或 Release)和平台(x64) |
27 | | -3. 点击「生成」→「生成解决方案」或按 F7 |
| 24 | +### Building with Visual Studio 2022 |
28 | 25 |
|
29 | | -### 使用命令行构建 |
| 26 | +1. Open the `PDBViewer.sln` solution file |
| 27 | +2. Select configuration (Debug or Release) and platform (x64) |
| 28 | +3. Click "Build" → "Build Solution" or press F7 |
| 29 | + |
| 30 | +### Building with Command Line |
30 | 31 |
|
31 | 32 | ```powershell |
32 | | -# 使用 MSBuild 构建 Release 版本 |
| 33 | +# Build Release version using MSBuild |
33 | 34 | & "C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\MSBuild.exe" PDBViewer.sln /p:Configuration=Release /p:Platform=x64 |
34 | 35 | ``` |
35 | 36 |
|
36 | | -## 项目结构 |
| 37 | +## Project Structure |
37 | 38 |
|
38 | 39 | ``` |
39 | 40 | PDBViewer/ |
40 | 41 | ├── src/ |
41 | | -│ ├── Core/ # 核心窗口和应用程序逻辑 |
42 | | -│ ├── Managers/ # 各个管理器模块 |
43 | | -│ └── PDB/ # PDB 解析和导出功能 |
44 | | -├── PDBViewer.sln # Visual Studio 解决方案 |
45 | | -├── PDBViewer.vcxproj # 项目文件 |
46 | | -└── PDBViewer.rc # 资源文件 |
| 42 | +│ ├── Core/ # Core window and application logic |
| 43 | +│ ├── Managers/ # Various manager modules |
| 44 | +│ └── PDB/ # PDB parsing and export functionality |
| 45 | +├── PDBViewer.sln # Visual Studio solution |
| 46 | +├── PDBViewer.vcxproj # Project file |
| 47 | +└── PDBViewer.rc # Resource file |
47 | 48 | ``` |
48 | 49 |
|
49 | | -## 使用方法 |
| 50 | +## Usage |
| 51 | + |
| 52 | +1. Launch `PDB Insight.exe` |
| 53 | +2. Click "File" → "Open" or press Ctrl+O to select a PDB file |
| 54 | +3. Browse and select items in the left tree view |
| 55 | +4. View detailed properties in the right "Details" tab |
| 56 | +5. View automatically generated headers in the right "Header View" tab |
| 57 | +6. Use the top search box to search for symbols |
| 58 | +7. Right-click on tree view, details table, or header view to access additional functions |
| 59 | + |
| 60 | +## Keyboard Shortcuts |
50 | 61 |
|
51 | | -1. 启动 `PDB Insight.exe` |
52 | | -2. 点击「文件」→「打开」或按 Ctrl+O 选择 PDB 文件 |
53 | | -3. 在左侧树状视图中浏览和选择项目 |
54 | | -4. 在右侧「详细信息」标签页查看详细属性 |
55 | | -5. 在右侧「头文件视图」标签页查看自动生成的头文件 |
56 | | -6. 使用顶部搜索框搜索符号 |
57 | | -7. 右键点击树状视图、详细信息表格或头文件视图可以访问额外功能 |
| 62 | +- **Ctrl+O** - Open PDB file |
| 63 | +- **Ctrl+C** - Copy selected content (details and header views) |
| 64 | +- **Ctrl+F** - Search (details and header views) |
58 | 65 |
|
59 | | -## 快捷键 |
| 66 | +## Right-Click Menu Functions |
60 | 67 |
|
61 | | -- **Ctrl+O** - 打开 PDB 文件 |
62 | | -- **Ctrl+C** - 复制选中内容(详细信息和头文件视图) |
63 | | -- **Ctrl+F** - 搜索(详细信息和头文件视图) |
| 68 | +### Tree View |
| 69 | +- Toggle offset display format (hex/decimal/both) |
64 | 70 |
|
65 | | -## 右键菜单功能 |
| 71 | +### Details Table |
| 72 | +- Copy - Copy the content of the selected cell |
| 73 | +- Search - Search using the content of the selected cell |
66 | 74 |
|
67 | | -### 树状视图 |
68 | | -- 切换偏移值显示格式(十六进制/十进制/两者都显示) |
| 75 | +### Header View |
| 76 | +- Copy - Copy selected text |
| 77 | +- Search - Search using selected text |
| 78 | + |
| 79 | +## Version History |
69 | 80 |
|
70 | | -### 详细信息表格 |
71 | | -- 复制 - 复制选中单元格的内容 |
72 | | -- 搜索 - 使用选中单元格的内容进行搜索 |
73 | 81 |
|
74 | | -### 头文件视图 |
75 | | -- 复制 - 复制选中文本 |
76 | | -- 搜索 - 使用选中文本进行搜索 |
77 | 82 |
|
78 | | -## 版本历史 |
79 | 83 |
|
80 | 84 | ### 1.0.0.0 (2026) |
81 | | -- 初始版本发布 |
82 | | -- 完整的 PDB 查看功能 |
83 | | -- 树状视图、详细信息、头文件视图 |
84 | | -- 导出功能(CSV、XML、头文件) |
85 | | -- 多语言支持 |
86 | | -- 分隔条调整 |
87 | | -- 快捷键和右键菜单 |
| 85 | +- Initial release |
| 86 | +- Complete PDB viewing functionality |
| 87 | +- Tree view, details view, and header view |
| 88 | +- Export functionality (CSV, XML, headers) |
| 89 | +- Multi-language support |
| 90 | +- Resizable splitter |
| 91 | +- Keyboard shortcuts and right-click menus |
88 | 92 |
|
89 | | -## 许可证 |
| 93 | +## License |
90 | 94 |
|
91 | | -本项目为开源项目。 |
| 95 | +This project is open source. |
92 | 96 |
|
93 | | -## 技术栈 |
| 97 | +## Technology Stack |
94 | 98 |
|
95 | 99 | - C++/Win32 API |
96 | 100 | - Visual Studio 2022 |
97 | 101 | - DIA SDK (Debug Interface Access) |
98 | | -- RichEdit 控件 |
99 | | - |
100 | | -## 联系方式 |
101 | | - |
102 | | -QQ群号978810590 |
| 102 | +- RichEdit control |
0 commit comments