Skip to content

Commit

Permalink
Always take the latest presentation hint from adapter
Browse files Browse the repository at this point in the history
fixes #42139
  • Loading branch information
isidorn committed Feb 23, 2018
1 parent 5d4ff13 commit 3573b8e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/vs/workbench/parts/debug/common/debugModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -562,6 +562,8 @@ export class Process implements IProcess {
if (this.sources.has(source.uri.toString())) {
source = this.sources.get(source.uri.toString());
source.raw = mixin(source.raw, raw);
// Always take the latest presentation hint from adapter #42139
source.raw.presentationHint = raw.presentationHint;
} else {
this.sources.set(source.uri.toString(), source);
}
Expand Down

0 comments on commit 3573b8e

Please sign in to comment.