debugger handshake placeholder
This commit is contained in:
@@ -63,7 +63,7 @@ public class DebuggingService
|
|||||||
});
|
});
|
||||||
debugProtocolHost.RegisterClientRequestType<HandshakeRequest, HandshakeArguments, HandshakeResponse>(responder =>
|
debugProtocolHost.RegisterClientRequestType<HandshakeRequest, HandshakeArguments, HandshakeResponse>(responder =>
|
||||||
{
|
{
|
||||||
var signatureResponse = VsSigner.Sign(responder.Arguments.Value);
|
var signatureResponse = DebuggerHandshakeSigner.Sign(responder.Arguments.Value);
|
||||||
responder.SetResponse(new HandshakeResponse(signatureResponse));
|
responder.SetResponse(new HandshakeResponse(signatureResponse));
|
||||||
});
|
});
|
||||||
debugProtocolHost.RegisterEventType<StoppedEvent>(async void (@event) =>
|
debugProtocolHost.RegisterEventType<StoppedEvent>(async void (@event) =>
|
||||||
|
|||||||
@@ -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();
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -18,6 +18,7 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
<PackageReference Include="CliWrap" />
|
||||||
<PackageReference Include="Microsoft.Diagnostics.NETCore.Client" PrivateAssets="all" />
|
<PackageReference Include="Microsoft.Diagnostics.NETCore.Client" PrivateAssets="all" />
|
||||||
<PackageReference Include="Microsoft.VisualStudio.Shared.VSCodeDebugProtocol" />
|
<PackageReference Include="Microsoft.VisualStudio.Shared.VSCodeDebugProtocol" />
|
||||||
<!-- If any Microsoft.Build.*.dll (Excluding Locator) ends up in the output, it will be prioritised for loading by MSBuild Nodes -->
|
<!-- If any Microsoft.Build.*.dll (Excluding Locator) ends up in the output, it will be prioritised for loading by MSBuild Nodes -->
|
||||||
|
|||||||
Reference in New Issue
Block a user