提交 a4f6a141 编写于 作者: I isidor

null guard

fixes #16944
上级 e38dd5ef
......@@ -134,7 +134,7 @@ export class DebugEditorModelManager implements IWorkbenchContribution {
range
});
if (stackFrame.thread.stoppedDetails.reason === 'exception') {
if (stackFrame.thread.stoppedDetails && stackFrame.thread.stoppedDetails.reason === 'exception') {
result.push({
options: DebugEditorModelManager.TOP_STACK_FRAME_EXCEPTION_DECORATION,
range: wholeLineRange
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册