Skip to content

Commit

Permalink
fixes #12853
Browse files Browse the repository at this point in the history
  • Loading branch information
isidorn committed Sep 28, 2016
1 parent 29889f7 commit 27a7c43
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ export class DebugEditorModelManager implements IWorkbenchContribution {
}

if (!session || session.configuration.capabilities.supportsConditionalBreakpoints) {
const mode = modelData.model.getMode();
const mode = modelData ? modelData.model.getMode() : null;
const modeId = mode ? mode.getId() : '';
const glyphMarginHoverMessage = `\`\`\`${modeId}\n${ breakpoint.condition }\`\`\``;

Expand Down

0 comments on commit 27a7c43

Please sign in to comment.