Skip to content

Commit cbf70ad

Browse files
committed
Merge branch 'release/v2.2.1'
2 parents 198be48 + c952cbc commit cbf70ad

File tree

5 files changed

+26
-17
lines changed

5 files changed

+26
-17
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
/dist
33
*.vsix
44
yarn.lock
5+
package-lock.json
56
*.dict
67
.vscode/settings.json

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release Notes
22

3+
## 2.2.1 (2020-11-12)
4+
5+
- Fixed a regression bug when a debug breakpoint was not allowed for Assembly files
6+
37
## 2.2.0 (2020-11-03)
48

59
- Refactored "Project Tasks" view

package.json

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "platformio-ide",
3-
"version": "2.2.0",
3+
"version": "2.2.1",
44
"publisher": "platformio",
55
"engines": {
66
"vscode": "^1.44.0"
@@ -248,6 +248,14 @@
248248
],
249249
"debuggers": [
250250
{
251+
"enableBreakpointsFor": {
252+
"languageIds": [
253+
"c",
254+
"cpp",
255+
"platformio-debug.asm",
256+
"platformio-debug.disassembly"
257+
]
258+
},
251259
"configurationAttributes": {
252260
"launch": {
253261
"properties": {
@@ -582,16 +590,16 @@
582590
"@types/node": "~12",
583591
"@types/vscode": "~1.44.0",
584592
"babel-eslint": "~10.1.0",
585-
"babel-loader": "~8.1.0",
593+
"babel-loader": "~8.2.1",
586594
"babel-plugin-transform-class-properties": "~6.24.1",
587595
"babel-preset-env": "~1.7.0",
588-
"eslint": "~7.12.1",
596+
"eslint": "~7.13.0",
589597
"eslint-import-resolver-webpack": "~0.13.0",
590598
"eslint-plugin-import": "~2.22.1",
591599
"prettier": "~2.1.2",
592600
"vsce": "~1.81.1",
593-
"webpack": "~5.3.2",
594-
"webpack-cli": "~4.1.0"
601+
"webpack": "~5.4.0",
602+
"webpack-cli": "~4.2.0"
595603
},
596604
"dependencies": {
597605
"fs-plus": "~3.1.1",

src/main.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -256,16 +256,16 @@ class PlatformIOVSCodeExtension {
256256
vscode.commands.executeCommand('workbench.action.debug.start');
257257
}),
258258
vscode.commands.registerCommand('platformio-ide.updateGlobalLibs', () =>
259-
this.pioTerm.sendText('platformio lib --global update')
259+
this.pioTerm.sendText('pio lib --global update')
260260
),
261261
vscode.commands.registerCommand('platformio-ide.updatePlatforms', () =>
262-
this.pioTerm.sendText('platformio platform update')
262+
this.pioTerm.sendText('pio platform update')
263263
),
264264
vscode.commands.registerCommand('platformio-ide.updateCore', () =>
265-
this.pioTerm.sendText('platformio update')
265+
this.pioTerm.sendText('pio update')
266266
),
267267
vscode.commands.registerCommand('platformio-ide.upgradeCore', () =>
268-
this.pioTerm.sendText('platformio upgrade')
268+
this.pioTerm.sendText('pio upgrade')
269269
)
270270
);
271271
}

src/tasks/project.js

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -163,14 +163,10 @@ export default class ProjectTaskManager {
163163
vscode.workspace.getWorkspaceFolder(vscode.Uri.file(this.projectDir)),
164164
projectTask.title,
165165
ProjectTaskManager.type,
166-
new vscode.ProcessExecution(
167-
IS_WINDOWS ? 'platformio.exe' : 'platformio',
168-
projectTask.args,
169-
{
170-
cwd: this.projectDir,
171-
env: envClone,
172-
}
173-
),
166+
new vscode.ProcessExecution(IS_WINDOWS ? 'pio.exe' : 'pio', projectTask.args, {
167+
cwd: this.projectDir,
168+
env: envClone,
169+
}),
174170
'$platformio'
175171
);
176172
vscodeTask.presentationOptions = {

0 commit comments

Comments
 (0)