MCPcopy Index your code
hub / github.com/Marus/cortex-debug / FindSessionById

Method FindSessionById

src/frontend/cortex_debug_session.ts:96–99  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

94 return CDebugSession.FindSessionById(session.id);
95 }
96 public static FindSessionById(id: string) {
97 const ret = CDebugSession.CurrentSessions.find((x) => x.session.id === id);
98 return ret;
99 }
100 public static GetSession(session: vscode.DebugSession, config?: ConfigurationArguments | undefined): CDebugSession {
101 const prev = CDebugSession.FindSessionById(session.id);
102 if (prev) {

Callers 4

resetDeviceMethod · 0.80
addToLiveWatchMethod · 0.80
FindSessionMethod · 0.80
GetSessionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected