From 99d74da547bb506b3c826d7117c72aba7eef7d68 Mon Sep 17 00:00:00 2001 From: satoren Date: Thu, 26 Jan 2017 23:17:59 +0900 Subject: [PATCH] Remove ${command.CurrentSource}. It is same to ${file} --- vscode_extension/CHANGELOG.md | 14 ++++++++++---- vscode_extension/README.md | 14 +++++++------- vscode_extension/{ => images}/icon.png | Bin vscode_extension/{ => images}/lrdb.gif | Bin vscode_extension/package.json | 4 ++-- vscode_extension/src/extension.ts | 2 +- 6 files changed, 20 insertions(+), 14 deletions(-) rename vscode_extension/{ => images}/icon.png (100%) rename vscode_extension/{ => images}/lrdb.gif (100%) diff --git a/vscode_extension/CHANGELOG.md b/vscode_extension/CHANGELOG.md index b8f78476..2684d74b 100644 --- a/vscode_extension/CHANGELOG.md +++ b/vscode_extension/CHANGELOG.md @@ -3,16 +3,22 @@ ## [Unreleased] -## [0.1.2] - 2017-01-24 + +## [0.1.4] - 2017-01-26 +### Changed +- Remove ${command.CurrentSource}. It is same to ${file} +- Support operators in hit count condition breakpoint ``<``, ``<=``, ``==``, ``>``, ``>=``, ``%`` + +## [0.1.3] - 2017-01-24 ### Fixed -- hit conditional breakpoint not working +- Hit conditional breakpoint not working ### Changed - Change pointer output format. e.g. ``function(0x41b1f0)`` to ``function: 0x41b1f0`` ## [0.1.1] - 2017-01-24 ### Fixed -- can not set break last line -- no output stdout at debug console +- Can not set break last line +- No output stdout at debug console ## [0.1.0] - 2017-01-24 - Initial release \ No newline at end of file diff --git a/vscode_extension/README.md b/vscode_extension/README.md index 4a251466..2779b47f 100644 --- a/vscode_extension/README.md +++ b/vscode_extension/README.md @@ -4,7 +4,7 @@ This extension is debug Lua programs with Visual Studio Code. -![preview](lrdb.gif) +![Lua Debug](https://raw.githubusercontent.com/satoren/LRDB/master/vscode_extension/images/lrdb.gif) ## Features @@ -31,15 +31,13 @@ launch.json example: "type": "lua", "request": "launch", "name": "Lua Launch", - "program": "${command.CurrentSource}", + "program": "${file}", "cwd": "${workspaceRoot}", "stopOnEntry": true } ] } ``` -${command.CurrentSource} is opened at VSCode file. - ## Known Issues @@ -47,10 +45,12 @@ ${command.CurrentSource} is opened at VSCode file. ## Release Notes -### 0.1.2 -Bug fixed +### 0.1.4 +- Remove ${command.CurrentSource}. It is same to ${file} +- Support operators in hit count condition breakpoint ``<``, ``<=``, ``==``, ``>``, ``>=``, ``%`` + -### 0.1.1 +### 0.1.3 Bug fixed ### 0.1.0 diff --git a/vscode_extension/icon.png b/vscode_extension/images/icon.png similarity index 100% rename from vscode_extension/icon.png rename to vscode_extension/images/icon.png diff --git a/vscode_extension/lrdb.gif b/vscode_extension/images/lrdb.gif similarity index 100% rename from vscode_extension/lrdb.gif rename to vscode_extension/images/lrdb.gif diff --git a/vscode_extension/package.json b/vscode_extension/package.json index 37cad481..6c796410 100644 --- a/vscode_extension/package.json +++ b/vscode_extension/package.json @@ -2,7 +2,7 @@ "name": "lrdb", "displayName": "LRDB", "description": "Lua Remote DeBugger", - "version": "0.1.2", + "version": "0.1.4", "publisher": "satoren", "engines": { "vscode": "^1.8.0" @@ -139,6 +139,6 @@ "@types/node": "^6.0.40", "@types/mocha": "^2.2.32" }, - "icon": "icon.png", + "icon": "images/icon.png", "license": "LICENSE_1_0.txt" } \ No newline at end of file diff --git a/vscode_extension/src/extension.ts b/vscode_extension/src/extension.ts index 2d3a0c28..0b753c47 100644 --- a/vscode_extension/src/extension.ts +++ b/vscode_extension/src/extension.ts @@ -16,7 +16,7 @@ const initialConfigurations = { type: 'lua', request: 'launch', name: 'Lua Launch', - program: '${command.CurrentSource}', + program: '${file}', cwd: "${workspaceRoot}", stopOnEntry: true },