Add Start method to debugger server and client

This commit is contained in:
Yoshi Askharoun
2025-10-03 21:21:35 -05:00
parent ae9b24dc34
commit 0f95c084e8
4 changed files with 12 additions and 2 deletions
@@ -44,7 +44,10 @@ public class NetDebuggerClient : IDebuggerClient, IRemoteDebuggerState, IDisposa
ConnectionUri = connectionUri ?? DebugRemoting.DEFAULT_TCP_URI;
_socket = new(SocketType.Stream, ProtocolType.Tcp);
_formatter = DebugRemoting.CreateBsonFormatter();
}
public void Start()
{
System.Threading.Thread connectThread = new(ConnectLoop) { IsBackground = true };
connectThread.Start();
}
@@ -45,10 +45,13 @@ public class NetDebuggerServer : IDebuggerServer, IRemoteDebuggerState, IDisposa
_formatter = DebugRemoting.CreateBsonFormatter();
Current = this;
}
public void Start()
{
System.Threading.Thread connectThread = new(ConnectLoop) { IsBackground = true };
connectThread.Start();
Current = this;
}
public MarkupLineNumberEntry[] OnLineNumberTableRequested(string uri)