From d2aad6f9ac77fabaa98234be7f61a3914b05bec5 Mon Sep 17 00:00:00 2001 From: Masterain Date: Tue, 17 Oct 2023 16:21:02 -0700 Subject: [PATCH] Add debug document --- docs/en/development/contribute.md | 7 +++++++ docs/zh/development/contribute.md | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/docs/en/development/contribute.md b/docs/en/development/contribute.md index b23503e40..e276a5506 100644 --- a/docs/en/development/contribute.md +++ b/docs/en/development/contribute.md @@ -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 + ## Start Pull Request - All code-related changes from authors' own branches are only allowed be merged to `develop` branch diff --git a/docs/zh/development/contribute.md b/docs/zh/development/contribute.md index 349554a60..1b2f29a7e 100644 --- a/docs/zh/development/contribute.md +++ b/docs/zh/development/contribute.md @@ -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 的输出 + ## 发起 Pull Request - 所有不是从项目其它分支发起的 Pull Request 都只被允许合并进 `develop` 分支