MCPcopy Create free account
hub / github.com/Dart-Code/Dart-Code / handleBreakpointChange

Method handleBreakpointChange

src/extension/commands/debug.ts:527–533  ·  view source on GitHub ↗
(e: vs.BreakpointsChangeEvent)

Source from the content-addressed store, hash-verified

525 }
526
527 public handleBreakpointChange(e: vs.BreakpointsChangeEvent): void {
528 if (this.hasPromptedAboutDebugSettings)
529 return;
530
531 for (const bp of e.added)
532 this.promptAboutDebuggerSettingsIfBreakpointOutsideWorkspace(bp);
533 }
534
535 public promptAboutDebuggerSettingsIfBreakpointOutsideWorkspace(e: vs.Breakpoint): void {
536 if (this.hasPromptedAboutDebugSettings || this.context.breakpointInNonDebuggableFileDoNotShowAgain || !(e instanceof vs.SourceBreakpoint) || !e.enabled)

Callers 1

constructorMethod · 0.95

Tested by

no test coverage detected