Reverse continue
This commit is contained in:
parent
3f4d38b318
commit
9b317a1a1a
2 changed files with 11 additions and 3 deletions
|
|
@ -13,7 +13,7 @@
|
||||||
"publisher": "webfreak",
|
"publisher": "webfreak",
|
||||||
"icon": "images/icon-plain.svg",
|
"icon": "images/icon-plain.svg",
|
||||||
"engines": {
|
"engines": {
|
||||||
"vscode": "^1.7.2"
|
"vscode": "^1.8.0"
|
||||||
},
|
},
|
||||||
"main": "./out/src/frontend/extension",
|
"main": "./out/src/frontend/extension",
|
||||||
"activationEvents": [
|
"activationEvents": [
|
||||||
|
|
@ -715,8 +715,8 @@
|
||||||
"postinstall": "node ./node_modules/vscode/bin/install"
|
"postinstall": "node ./node_modules/vscode/bin/install"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"vscode-debugadapter": "^1.14.0",
|
"vscode-debugadapter": "^1.15.0",
|
||||||
"vscode-debugprotocol": "^1.14.0",
|
"vscode-debugprotocol": "^1.15.0",
|
||||||
"ssh2": "^0.5.4"
|
"ssh2": "^0.5.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|
|
||||||
|
|
@ -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 {
|
protected continueRequest(response: DebugProtocol.ContinueResponse, args: DebugProtocol.ContinueArguments): void {
|
||||||
this.miDebugger.continue().then(done => {
|
this.miDebugger.continue().then(done => {
|
||||||
this.sendResponse(response);
|
this.sendResponse(response);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue