Skip to content

Commit 17bf945

Browse files
committed
debug: do not auto focus stack frames with presentationHint deemphasize
fixes microsoft#65012
1 parent 2274768 commit 17bf945

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/workbench/parts/debug/electron-browser/debugService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -778,7 +778,7 @@ export class DebugService implements IDebugService {
778778
if (!stackFrame) {
779779
if (thread) {
780780
const callStack = thread.getCallStack();
781-
stackFrame = first(callStack, sf => sf.source && sf.source.available, undefined);
781+
stackFrame = first(callStack, sf => sf.source && sf.source.available && sf.source.presentationHint !== 'deemphasize', undefined);
782782
}
783783
}
784784

0 commit comments

Comments
 (0)