deadlock-detect/detect-plugin
machunyu 2877537879 修改bug 2024-02-29 14:39:18 +08:00
..
.vscode first commit 2023-04-11 14:25:27 +08:00
detect-tools 修改bug 2024-02-29 14:39:18 +08:00
images add icon images 2023-04-18 09:44:33 +08:00
src 修改bug 2024-02-29 14:39:18 +08:00
static first commit 2023-04-11 14:25:27 +08:00
.eslintrc.json first commit 2023-04-11 14:25:27 +08:00
.vscodeignore first commit 2023-04-11 14:25:27 +08:00
.yarnrc first commit 2023-04-11 14:25:27 +08:00
LICENSE.txt first commit 2023-04-11 14:25:27 +08:00
README.md 修改bug 2024-02-29 14:39:18 +08:00
depends.json 修改部分读写锁互斥锁检测方式为从寄存区读取,减少对libc6-dbg或glibc-debuginfo的依赖;x86及arm服务器系统gdb调试符号信息缺失,信号量检测失败,增加提示信息 2023-11-17 14:29:34 +08:00
package.json 修改版本号 2024-02-23 11:04:31 +08:00
package.nls.json first commit 2023-04-11 14:25:27 +08:00
tsconfig.json 添加java死锁检测功能;添加C/C++读写锁、信号量死锁检测功能 2023-05-17 16:16:54 +08:00
vsc-extension-quickstart.md first commit 2023-04-11 14:25:27 +08:00
webpack.config.js first commit 2023-04-11 14:25:27 +08:00
yarn-error.log first commit 2023-04-11 14:25:27 +08:00
yarn.lock first commit 2023-04-11 14:25:27 +08:00

README.md

中文|[English](#C/C++/Java Process deadlock analysis)

C/C++/Java进程死锁分析

介绍

deadlock-detect 用于C/C++/Java进程的死锁检测分析帮助开发者在Linux系统下识别多线程死锁状态异常问题。

功能

  • 进程死锁检测

使用方法

检查依赖

依赖binutils、libc-bin、libc6-dbg软件包 安装方式sudo apt install binutils libc-bin gdb libc6-dbg -y 或 通过插件依赖管理器extension-dependency进行依赖检测与安装

进程死锁检测

执行ctrl+shift+p启动命令面板或者在编辑区域点击鼠标右键选择'C/C++/Java进程死锁检测',选择C/C++/Java进程死锁检测,默认会打开一个页面,按要求选择死锁类型、添加进程Pid用户密码即可。

C/C++/Java Process deadlock analysis

Introduction

deadlock-detect is a tool for deadlock detection and analysis in C/C++/Java processes, helping developers identify abnormal multi-threaded deadlock states on Linux systems.

Features

  • Process deadlock detection

Usage

Check dependencies

Depends on binutils, libc-bin, sshpass, libc6-dbg packages. Installation command: sudo apt install binutils libc-bin gdb sshpass libc6-dbg -y. Alternatively, use the extension-dependency package manager to check and install dependencies.

Process deadlock detection

Open the command palette with ctrl+shift+p or right-click in the editor area and select C/C++/Java Process Deadlock Detection. Select C/C++/Java Process Deadlock Detection, and a page will open. Choose the type of deadlock, add the process PID, and >user password as required.