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

Method equivalentTo

src/adapter/stackTrace.ts:450–457  ·  view source on GitHub ↗

* Gets whether this stackframe is at the same position as the other frame.

(other: unknown)

Source from the content-addressed store, hash-verified

448 * Gets whether this stackframe is at the same position as the other frame.
449 */
450 public equivalentTo(other: unknown) {
451 return (
452 other instanceof StackFrame
453 && other._rawLocation.columnNumber === this._rawLocation.columnNumber
454 && other._rawLocation.lineNumber === this._rawLocation.lineNumber
455 && other._rawLocation.scriptId === this._rawLocation.scriptId
456 );
457 }
458
459 callFrameId(): string | undefined {
460 return this._scope ? this._scope.callFrameId : undefined;

Callers 2

isCrossThreadStepMethod · 0.45
mergeIntoMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected