MCPcopy Create free account
hub / github.com/Snapchat/Valdi / setName

Method setName

valdi/vscode_debugger/src/sessionManager.ts:75–78  ·  view source on GitHub ↗
(target: ITarget)

Source from the content-addressed store, hash-verified

73 }
74
75 private setName(target: ITarget) {
76 const substate = this.sessionStates.get(this.debugSession.id);
77 this.debugSession.name = substate ? `${target.name()} (${substate})` : target.name();
78 }
79}
80
81export class RootSession<TSessionImpl extends IDebugSessionLike> extends Session<TSessionImpl> {

Callers 1

listenToTargetMethod · 0.95

Calls 2

getMethod · 0.65
nameMethod · 0.65

Tested by

no test coverage detected