Skip to content
This repository has been archived by the owner on Oct 2, 2021. It is now read-only.

Commit

Permalink
Add supportsDelayedStackTraceLoading for microsoft/vscode#28808
Browse files Browse the repository at this point in the history
  • Loading branch information
roblourens committed Jun 19, 2017
1 parent 1d0038b commit b46f585
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 13 deletions.
21 changes: 14 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"noice-json-rpc": "^1.0.0",
"request-light": "^0.1.0",
"source-map": "^0.5.6",
"vscode-debugadapter": "^1.19.0-pre.0",
"vscode-debugprotocol": "^1.18.0-pre.2",
"vscode-debugadapter": "^1.21.0-pre.2",
"vscode-debugprotocol": "^1.21.0-pre.1",
"vscode-nls": "^2.0.2",
"ws": "^1.1.1"
},
Expand Down Expand Up @@ -48,13 +48,13 @@
"tslint-eslint-rules": "^1.5.0",
"tslint-microsoft-contrib": "^2.0.10",
"typemoq": "^0.3.3",
"typescript": "^2.0.3",
"typescript": "^2.3.4",
"vscode-nls-dev": "^2.1.1"
},
"scripts": {
"build": "gulp build",
"watch": "gulp watch",
"test": "mocha --recursive -u tdd ./out/test/",
"prepublish": "gulp build"
"prepare": "gulp build"
}
}
5 changes: 3 additions & 2 deletions src/chrome/chromeDebugAdapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ export abstract class ChromeDebugAdapter implements IDebugAdapter {

public initialize(args: DebugProtocol.InitializeRequestArguments): DebugProtocol.Capabilities {
if (args.pathFormat !== 'path') {
return Promise.reject(errors.pathFormat());
throw errors.pathFormat();
}

// because session bypasses dispatchRequest
Expand Down Expand Up @@ -216,7 +216,8 @@ export abstract class ChromeDebugAdapter implements IDebugAdapter {
supportsCompletionsRequest: true,
supportsHitConditionalBreakpoints: true,
supportsRestartFrame: true,
supportsExceptionInfoRequest: true
supportsExceptionInfoRequest: true,
supportsDelayedStackTraceLoading: true
};
}

Expand Down

0 comments on commit b46f585

Please sign in to comment.