Skip to content

Commit

Permalink
fixes #110077
Browse files Browse the repository at this point in the history
  • Loading branch information
isidorn committed Nov 6, 2020
1 parent 9f2ce53 commit a1025c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vs/workbench/contrib/debug/browser/variablesView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,8 @@ export class VariablesView extends ViewPane {
this.variableEvaluateName.set(!!variable.evaluateName);
this.breakWhenValueChangesSupported.reset();
if (session && session.capabilities.supportsDataBreakpoints) {
const response = await session.dataBreakpointInfo(variable.name, variable.parent.reference);
const dataBreakpointId = response?.dataId;
dataBreakpointInfoResponse = await session.dataBreakpointInfo(variable.name, variable.parent.reference);
const dataBreakpointId = dataBreakpointInfoResponse?.dataId;
this.breakWhenValueChangesSupported.set(!!dataBreakpointId);
}

Expand Down

0 comments on commit a1025c6

Please sign in to comment.