We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b943fc3 commit a4d4310Copy full SHA for a4d4310
src/OneScript.DebugServices/Internal/ConnectableSessionProxy.cs
@@ -5,6 +5,7 @@ This Source Code Form is subject to the terms of the
5
at http://mozilla.org/MPL/2.0/.
6
----------------------------------------------------------*/
7
8
+using System.Diagnostics;
9
using System.Threading;
10
using ScriptEngine.Machine;
11
using ScriptEngine.Machine.Debugger;
@@ -53,6 +54,11 @@ public void WaitReadyToRun()
53
54
}
55
56
_connectionEvent.Wait();
57
+ Debug.Assert(_isConnected, "Must be connected");
58
+ Debug.Assert(_session is DebugSession, "Session must be DebugSession");
59
+
60
+ // Делегируем ожидание реальной сессии
61
+ _session.WaitReadyToRun();
62
63
64
public bool IsActive => _session.IsActive;
0 commit comments