From 57ccc2f4f6a56ffcd61e5bc8bab73d20ba3388e6 Mon Sep 17 00:00:00 2001 From: "Joshua \"Yoshi\" Askharoun" Date: Sat, 6 Dec 2025 01:49:18 -0600 Subject: [PATCH] Stub exception, data, and function breakpoint handlers Required by VS Code --- .../Handlers/BreakpointHandler.cs | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/DebugAdapter/UIX.DebugAdapter.Server/Handlers/BreakpointHandler.cs b/DebugAdapter/UIX.DebugAdapter.Server/Handlers/BreakpointHandler.cs index dceb982..db31d92 100644 --- a/DebugAdapter/UIX.DebugAdapter.Server/Handlers/BreakpointHandler.cs +++ b/DebugAdapter/UIX.DebugAdapter.Server/Handlers/BreakpointHandler.cs @@ -11,7 +11,8 @@ using IrisBreakpoint = Microsoft.Iris.Debug.Data.Breakpoint; namespace Microsoft.Iris.DebugAdapter.Server.Handlers; internal class BreakpointHandler(DebugSymbolResolver symbolResolver) - : ISetInstructionBreakpointsHandler, ISetBreakpointsHandler + : ISetInstructionBreakpointsHandler, ISetBreakpointsHandler, ISetExceptionBreakpointsHandler, ISetDataBreakpointsHandler, + ISetFunctionBreakpointsHandler { public Task Handle(SetInstructionBreakpointsArguments request, CancellationToken cancellationToken) { @@ -86,4 +87,19 @@ internal class BreakpointHandler(DebugSymbolResolver symbolResolver) }; return Task.FromResult(response); } + + public Task Handle(SetExceptionBreakpointsArguments request, CancellationToken cancellationToken) + { + return Task.FromResult(new SetExceptionBreakpointsResponse()); + } + + public Task Handle(SetDataBreakpointsArguments request, CancellationToken cancellationToken) + { + return Task.FromResult(new SetDataBreakpointsResponse()); + } + + public Task Handle(SetFunctionBreakpointsArguments request, CancellationToken cancellationToken) + { + return Task.FromResult(new SetFunctionBreakpointsResponse()); + } }