Reverse continue

This commit is contained in:
WebFreak001 2016-12-20 22:37:25 +01:00
commit 9b317a1a1a
2 changed files with 11 additions and 3 deletions

View file

@ -13,7 +13,7 @@
"publisher": "webfreak",
"icon": "images/icon-plain.svg",
"engines": {
"vscode": "^1.7.2"
"vscode": "^1.8.0"
},
"main": "./out/src/frontend/extension",
"activationEvents": [
@ -715,8 +715,8 @@
"postinstall": "node ./node_modules/vscode/bin/install"
},
"dependencies": {
"vscode-debugadapter": "^1.14.0",
"vscode-debugprotocol": "^1.14.0",
"vscode-debugadapter": "^1.15.0",
"vscode-debugprotocol": "^1.15.0",
"ssh2": "^0.5.4"
},
"devDependencies": {

View file

@ -413,6 +413,14 @@ export class MI2DebugSession extends DebugSession {
});
}
protected reverseContinueRequest(response: DebugProtocol.ReverseContinueResponse, args: DebugProtocol.ReverseContinueArguments): void {
this.miDebugger.continue(true).then(done => {
this.sendResponse(response);
}, msg => {
this.sendErrorResponse(response, 2, `Could not continue: ${msg}`);
});
}
protected continueRequest(response: DebugProtocol.ContinueResponse, args: DebugProtocol.ContinueArguments): void {
this.miDebugger.continue().then(done => {
this.sendResponse(response);