diff --git a/CHANGELOG.md b/CHANGELOG.md index 6d65b3f..3dd5a3a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## version 2.15.2 + +- 有些题目不能 debug 的提示 + ## version 2.15.1 - 参考 wangtao0101/vscode-debug-leetcode 添加 debug diff --git a/package.json b/package.json index 6764ef2..dde4537 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "vscode-leetcode-problem-rating", "displayName": "LeetCode", "description": "%main.description%", - "version": "2.15.1", + "version": "2.15.2", "author": "ccagml", "publisher": "ccagml", "license": "MIT", diff --git a/src/controller/DebugController.ts b/src/controller/DebugController.ts index 8a5b06c..145c8be 100644 --- a/src/controller/DebugController.ts +++ b/src/controller/DebugController.ts @@ -27,6 +27,7 @@ class DebugContorller { const fileContent: Buffer = fs.readFileSync(filePath); const meta: ProblemMeta | null = fileMeta(fileContent.toString()); if (!canDebug(meta)) { + window.showErrorMessage("这题还不能debug 麻烦提issuse"); return; } let result: any;