|
| 1 | +sequenceDiagram |
| 2 | + participant User |
| 3 | + participant vscode |
| 4 | + participant jsdebug as js-debug |
| 5 | + participant Extension as RxJS Debugging Extension |
| 6 | + participant Program as RxJS Program |
| 7 | + participant Runtime as Debugging Runtime |
| 8 | + |
| 9 | + |
| 10 | + User->>+vscode: Open observable.ts |
| 11 | + vscode-->>User: Show observable.ts |
| 12 | + vscode-->>+Extension: Opened observable.ts |
| 13 | + Extension->>Extension: Recommend Operator Log Points |
| 14 | + Extension->>-vscode: Update Operator Log Point Decorations |
| 15 | + vscode-->>User: Show Operator Log Point Decorations |
| 16 | + User->>+Extension: Enable Operator Log Point |
| 17 | + Extension->>Extension: Enable Operator Log Point |
| 18 | + Extension->>-vscode: Update Operator Log Point Decorations |
| 19 | + vscode-->>User: Show Operator Log Point Decorations |
| 20 | + |
| 21 | + User->>vscode: Start Debug |
| 22 | + vscode->>+jsdebug: Start Debug Session |
| 23 | + jsdebug->>+Extension: Will Start Debug Session |
| 24 | + Extension-->>jsdebug: Customize Debug Session with Debugging Runtime |
| 25 | + jsdebug->>+Program: Launch and inject Debugging Runtime |
| 26 | + Runtime->>Program: Patch RxJS |
| 27 | + Runtime->>Extension: Call Binding "rxJsDebuggerRuntimeReady" |
| 28 | + Extension->>Runtime: updateOperatorLogPoints() |
| 29 | + loop |
| 30 | + Program->>Runtime: Telemetry Data |
| 31 | + Runtime->>Extension: Telemetry Data |
| 32 | + Extension->>vscode: Update Live Log Decoration for observable.ts |
| 33 | + vscode-->>User: Show Live Log Decoration |
| 34 | + end |
| 35 | + |
| 36 | + Program-->>-jsdebug: Process exited |
| 37 | + jsdebug-->>vscode: Debug Session terminated |
| 38 | + jsdebug->>-Extension: Debug Session terminated |
| 39 | + Extension->>-vscode: Clear Live Log Decoration |
| 40 | + vscode-->>-User: Hide Live Log Decoration |
0 commit comments