From 8231800f65c418e7bb17768c4a3e3434bb2f5a07 Mon Sep 17 00:00:00 2001 From: Matt Parker <61717342+MattParkerDev@users.noreply.github.com> Date: Fri, 26 Sep 2025 18:43:48 +1000 Subject: [PATCH] debugger handshake placeholder --- .../Features/Debugging/DebuggingService.cs | 2 +- .../Experimental/VsDbg/DebuggerHandshakeSigner.cs | 13 +++++++++++++ .../SharpIDE.Application.csproj | 1 + 3 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 src/SharpIDE.Application/Features/Debugging/Experimental/VsDbg/DebuggerHandshakeSigner.cs diff --git a/src/SharpIDE.Application/Features/Debugging/DebuggingService.cs b/src/SharpIDE.Application/Features/Debugging/DebuggingService.cs index f6132e9..69a75c6 100644 --- a/src/SharpIDE.Application/Features/Debugging/DebuggingService.cs +++ b/src/SharpIDE.Application/Features/Debugging/DebuggingService.cs @@ -63,7 +63,7 @@ public class DebuggingService }); debugProtocolHost.RegisterClientRequestType(responder => { - var signatureResponse = VsSigner.Sign(responder.Arguments.Value); + var signatureResponse = DebuggerHandshakeSigner.Sign(responder.Arguments.Value); responder.SetResponse(new HandshakeResponse(signatureResponse)); }); debugProtocolHost.RegisterEventType(async void (@event) => diff --git a/src/SharpIDE.Application/Features/Debugging/Experimental/VsDbg/DebuggerHandshakeSigner.cs b/src/SharpIDE.Application/Features/Debugging/Experimental/VsDbg/DebuggerHandshakeSigner.cs new file mode 100644 index 0000000..fc52786 --- /dev/null +++ b/src/SharpIDE.Application/Features/Debugging/Experimental/VsDbg/DebuggerHandshakeSigner.cs @@ -0,0 +1,13 @@ +using System.Text; +using CliWrap; + +namespace SharpIDE.Application.Features.Debugging.Experimental.VsDbg; + +public static class DebuggerHandshakeSigner +{ + public static string Sign(string input) + { + // if the chosen debugger requires signing a handshake, implement it here + throw new NotImplementedException(); + } +} diff --git a/src/SharpIDE.Application/SharpIDE.Application.csproj b/src/SharpIDE.Application/SharpIDE.Application.csproj index b77a2e7..fdf55ef 100644 --- a/src/SharpIDE.Application/SharpIDE.Application.csproj +++ b/src/SharpIDE.Application/SharpIDE.Application.csproj @@ -18,6 +18,7 @@ +