Skip to content

Commit

Permalink
Add debug document
Browse files Browse the repository at this point in the history
  • Loading branch information
Masterain98 committed Oct 17, 2023
1 parent ee811eb commit d2aad6f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/en/development/contribute.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ You can find all [unsolved opened issues](https://github.com/DGP-Studio/Snap.Hut
5. Switch git branch to `develop`
6. Open project solution with your Visual Studio and then you are ready to go

## Enable Debug

1. Download and install `Sysinternals Suite` from [Microsoft Store](https://www.microsoft.com/store/productid/9P7KNL5RWT25) or [Microsoft website](https://learn.microsoft.com/en-us/sysinternals/downloads/sysinternals-suite)
2. Locate and run `DebugView` program in the installed app list or unzipped folder
3. Run Snap Hutao client
4. Check DebugView output

## <HopeIcon icon="iconfont icon-pull-request" size="1.5rem" /> Start Pull Request

- All code-related changes from authors' own branches are only allowed be merged to `develop` branch
Expand Down
7 changes: 7 additions & 0 deletions docs/zh/development/contribute.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ order: 2
5. 将分支切换为 `develop`
6. 使用你的 Visual Studio 打开项目 solution,接下来你就可以开始编辑代码了

## 开启 Debug

1.[微软商店](https://www.microsoft.com/store/productid/9P7KNL5RWT25)[微软官网](https://learn.microsoft.com/zh-cn/sysinternals/downloads/sysinternals-suite)下载并安装 `Sysinternals Suite`
2. 从开始菜单或解压后的文件中找到 `DebugView` 并启动
3. 启动 Snap Hutao 主程序
4. 观察 DebugView 的输出

## <HopeIcon icon="iconfont icon-pull-request" size="1.5rem" /> 发起 Pull Request

- 所有不是从项目其它分支发起的 Pull Request 都只被允许合并进 `develop` 分支
Expand Down

0 comments on commit d2aad6f

Please sign in to comment.