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

Commit

Permalink
Use 'deemphasize' UI in call stack - fix #150
Browse files Browse the repository at this point in the history
  • Loading branch information
roblourens committed Jan 11, 2017
1 parent 63d1ad2 commit a2aa347
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 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.16.0-pre.0",
"vscode-debugprotocol": "^1.16.0-pre.0",
"vscode-debugadapter": "^1.16.0-pre.1",
"vscode-debugprotocol": "^1.16.0-pre.1",
"ws": "^1.1.1"
},
"devDependencies": {
Expand Down
4 changes: 3 additions & 1 deletion src/chrome/chromeDebugAdapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1002,7 +1002,9 @@ export abstract class ChromeDebugAdapter implements IDebugAdapter {

stackTraceResponse.stackFrames.forEach(frame => {
if (frame.source.path && this.shouldSkipSource(frame.source.path)) {
frame.name = frame.name + ' (skipped)';
// frame.name = frame.name + ' (skipped)';
frame.source.name = `(skipped) ${frame.source.name}`;
frame.source.presentationHint = 'deemphasize';
}
});

Expand Down

0 comments on commit a2aa347

Please sign in to comment.