(session: vscode.DebugSession, config?: ConfigurationArguments | undefined)
| 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) { |
| 103 | prev.config = config || prev.config; |
| 104 | return prev; |
| 105 | } |
| 106 | return new CDebugSession(session, config || session.configuration); |
| 107 | } |
| 108 | |
| 109 | // Call this method after session actually started. It inserts new session into the session tree |
| 110 | public static NewSessionStarted(session: vscode.DebugSession): CDebugSession { |
no test coverage detected