(e: vscode.DebugSessionCustomEvent, type: 'reset' | 'restart')
| 642 | } |
| 643 | |
| 644 | private resetOrResartChained(e: vscode.DebugSessionCustomEvent, type: 'reset' | 'restart') { |
| 645 | const mySession = CDebugSession.FindSession(e.session); |
| 646 | if (mySession && mySession.hasChildren) { |
| 647 | mySession.broadcastDFS((s) => { |
| 648 | if (s === mySession) { return; } |
| 649 | if (s.config.pvtMyConfigFromParent.lifecycleManagedByParent) { |
| 650 | s.session.customRequest('reset-device', type).then(() => { |
| 651 | }, (reason) => { |
| 652 | }); |
| 653 | } |
| 654 | }, false); |
| 655 | } |
| 656 | } |
| 657 | |
| 658 | private getWsFolder(folder: string, def: vscode.WorkspaceFolder, childName): vscode.WorkspaceFolder { |
| 659 | if (folder) { |
no test coverage detected