diff --git a/src/OpenDebugAD7/AD7DebugSession.cs b/src/OpenDebugAD7/AD7DebugSession.cs index 8ce56dfb0..8a6b06c8b 100644 --- a/src/OpenDebugAD7/AD7DebugSession.cs +++ b/src/OpenDebugAD7/AD7DebugSession.cs @@ -29,18 +29,6 @@ namespace OpenDebugAD7 { - // not in the DAP dll yet - internal sealed class CapabilitiesEvent : DebugEvent - { - internal CapabilitiesEvent() - : base("capabilities") - { - } - - [JsonProperty("capabilities")] - internal InitializeResponse Capabilities; - } - internal sealed class AD7DebugSession : DebugAdapterBase, IDebugPortNotify2, IDebugEventCallback2 { // This is a general purpose lock. Don't hold it across long operations. @@ -1044,7 +1032,7 @@ private void UpdateCapabilities() m_canReverse = canReverse; Protocol.SendEvent(new CapabilitiesEvent() { - Capabilities = new InitializeResponse() + Capabilities = new Capabilities() { SupportsStepBack = canReverse, ExceptionBreakpointFilters = null, // FIXME: this is just to prevent unwanted response entries