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

Method toggleDebugOptions

src/extension/commands/debug.ts:1013–1017  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1011 }
1012
1013 private toggleDebugOptions() {
1014 // -1 is because we skip the last combination when toggling since it seems uncommon.
1015 this.currentDebugOption = (this.currentDebugOption + 1) % (debugOptionNames.length - 1);
1016 this.applyNewDebugOption();
1017 }
1018
1019 public applyNewDebugOption() {
1020 this.debugOptions.text = `Debug ${debugOptionNames[this.currentDebugOption]}`;

Callers

nothing calls this directly

Calls 1

applyNewDebugOptionMethod · 0.95

Tested by

no test coverage detected