We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eed66ab commit fd9eceaCopy full SHA for fd9ecea
1 file changed
src/vs/workbench/contrib/debug/browser/callStackView.ts
@@ -576,7 +576,7 @@ function isDebugModel(obj: any): obj is IDebugModel {
576
}
577
578
function isDebugSession(obj: any): obj is IDebugSession {
579
- return typeof obj.getAllThreads === 'function';
+ return obj && typeof obj.getAllThreads === 'function';
580
581
582
function isDeemphasized(frame: IStackFrame): boolean {
0 commit comments