# UIHaltDetector **Repository Path**: lzlong88/UIHaltDetector ## Basic Information - **Project Name**: UIHaltDetector - **Description**: 自己写的一款检测windows任意桌面软件UI界面卡顿并自动打印堆栈的小工具。 (软件介绍博客:https://blog.csdn.net/liaozhilong88/article/details/140765462) - **Primary Language**: C++ - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-07-29 - **Last Updated**: 2024-07-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # UIHaltDetector #### 介绍 自己写的一款检测windows任意桌面软件UI界面卡顿并自动打印堆栈的小工具。 (软件介绍博客:https://blog.csdn.net/liaozhilong88/article/details/140765462) #### 软件架构 软件架构说明 1.本软件包含主程序UIHaltDetector.exe,同时也是界面操作程序,可以在程序界面输入目标监控窗口进程的pid,然后点击“开始监控”按钮。 2.本软件同时也包含插件程序UIHaltDetect.dll,这是一个注入到目标进程的插件,也是检测目标窗口的主程序。 3.本软件还包含inject-helper.exe程序,这是负责将插件注入到目标进程的辅助程序。 #### 软件原理 软件原理说明 界面卡顿检测的原理就是,接管窗口消息处理函数,然后不断让目标窗口发送特定消息,如果接管的消息处理函数长时间未能接受到该消息,说明本UI线程处在卡死的状态。 ![程序运行流程图](https://gitee.com/lzlong88/UIHaltDetector/raw/master/Process.png) #### 效果展示 ![预览截图](https://gitee.com/lzlong88/UIHaltDetector/raw/master/screenrecord.gif) #### 使用说明 1. 参考个人博客: https://blog.csdn.net/liaozhilong88/article/details/140765462 #### 参与贡献 1. 该代码是本人在工作中编写的,代码仅供学习和个人代码展示,不能用于商业目的。