Skip to content

Commit 9b317a1

Browse files
author
WebFreak001
committed
Reverse continue
1 parent 3f4d38b commit 9b317a1

2 files changed

Lines changed: 11 additions & 3 deletions

File tree

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"publisher": "webfreak",
1414
"icon": "images/icon-plain.svg",
1515
"engines": {
16-
"vscode": "^1.7.2"
16+
"vscode": "^1.8.0"
1717
},
1818
"main": "./out/src/frontend/extension",
1919
"activationEvents": [
@@ -715,8 +715,8 @@
715715
"postinstall": "node ./node_modules/vscode/bin/install"
716716
},
717717
"dependencies": {
718-
"vscode-debugadapter": "^1.14.0",
719-
"vscode-debugprotocol": "^1.14.0",
718+
"vscode-debugadapter": "^1.15.0",
719+
"vscode-debugprotocol": "^1.15.0",
720720
"ssh2": "^0.5.4"
721721
},
722722
"devDependencies": {

src/mibase.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,14 @@ export class MI2DebugSession extends DebugSession {
413413
});
414414
}
415415

416+
protected reverseContinueRequest(response: DebugProtocol.ReverseContinueResponse, args: DebugProtocol.ReverseContinueArguments): void {
417+
this.miDebugger.continue(true).then(done => {
418+
this.sendResponse(response);
419+
}, msg => {
420+
this.sendErrorResponse(response, 2, `Could not continue: ${msg}`);
421+
});
422+
}
423+
416424
protected continueRequest(response: DebugProtocol.ContinueResponse, args: DebugProtocol.ContinueArguments): void {
417425
this.miDebugger.continue().then(done => {
418426
this.sendResponse(response);

0 commit comments

Comments
 (0)