MCPcopy Index your code
hub / github.com/microsoft/vscode-js-debug / getStepSkipList

Method getStepSkipList

src/adapter/stackTrace.ts:769–786  ·  view source on GitHub ↗

@inheritdoc

(direction: StepDirection)

Source from the content-addressed store, hash-verified

767
768 /** @inheritdoc */
769 public async getStepSkipList(direction: StepDirection): Promise<Range[] | undefined> {
770 const sm = this.source.sourceMap.value.settledValue;
771 if (!sm?.getStepSkipList) {
772 return;
773 }
774
775 const uiLocation = await this.uiLocation();
776 if (uiLocation) {
777 return sm.getStepSkipList(
778 direction,
779 this.wasmPosition,
780 (uiLocation.source as SourceFromMap).compiledToSourceUrl.get(this.source),
781 new Base1Position(uiLocation.lineNumber, uiLocation.columnNumber),
782 );
783 } else {
784 return sm.getStepSkipList(direction, this.root.rawPosition);
785 }
786 }
787
788 /** @inheritdoc */
789 public async scopes(): Promise<Dap.ScopesResult> {

Callers

nothing calls this directly

Calls 3

uiLocationMethod · 0.80
getStepSkipListMethod · 0.65
getMethod · 0.65

Tested by

no test coverage detected