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

Method FindSession

src/frontend/cortex_debug_session.ts:93–95  ·  view source on GitHub ↗
(session: vscode.DebugSession)

Source from the content-addressed store, hash-verified

91 }
92
93 public static FindSession(session: vscode.DebugSession) {
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;

Callers 11

resetDeviceMethod · 0.80
endChainedConfigsMethod · 0.80
resetOrResartChainedMethod · 0.80
getCurrentArgsMethod · 0.80
receivedStopEventMethod · 0.80
initializeSWOMethod · 0.80
initializeRTTMethod · 0.80
RemoveSessionMethod · 0.80
NewSessionStartedMethod · 0.80

Calls 1

FindSessionByIdMethod · 0.80

Tested by

no test coverage detected