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

Method initializeSWO

src/frontend/extension.ts:855–865  ·  view source on GitHub ↗
(session: vscode.DebugSession, args)

Source from the content-addressed store, hash-verified

853 }
854
855 private initializeSWO(session: vscode.DebugSession, args) {
856 const mySession = CDebugSession.FindSession(session);
857 if (!mySession.swoSource) {
858 vscode.window.showErrorMessage('Tried to initialize SWO Decoding without a SWO data source');
859 return;
860 }
861
862 if (!mySession.swo) {
863 mySession.swo = new SWOCore(session, mySession.swoSource, args, this.context.extensionPath);
864 }
865 }
866
867 private initializeRTT(session: vscode.DebugSession, args) {
868 const mySession = CDebugSession.FindSession(session);

Callers 2

debugSessionStartedMethod · 0.95

Calls 1

FindSessionMethod · 0.80

Tested by

no test coverage detected