We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a667642 commit ca3c346Copy full SHA for ca3c346
src/vs/workbench/contrib/debug/common/debugModel.ts
@@ -528,7 +528,7 @@ export class Thread implements IThread {
528
const firstAvailableStackFrame = callStack.find(sf => !!(sf &&
529
((this.stoppedDetails?.reason === 'instruction breakpoint' || (this.stoppedDetails?.reason === 'step' && this.lastSteppingGranularity === 'instruction')) && sf.instructionPointerReference) ||
530
(sf.source && sf.source.available && sf.source.presentationHint !== 'deemphasize')));
531
- return firstAvailableStackFrame || (callStack.length > 0 ? callStack[0] : undefined);
+ return firstAvailableStackFrame;
532
}
533
534
get stateLabel(): string {
0 commit comments