mirror of
https://github.com/ZuneDev/ZuneUIXTools.git
synced 2026-07-27 13:11:59 -07:00
Stub exception, data, and function breakpoint handlers
Required by VS Code
This commit is contained in:
@@ -11,7 +11,8 @@ using IrisBreakpoint = Microsoft.Iris.Debug.Data.Breakpoint;
|
|||||||
namespace Microsoft.Iris.DebugAdapter.Server.Handlers;
|
namespace Microsoft.Iris.DebugAdapter.Server.Handlers;
|
||||||
|
|
||||||
internal class BreakpointHandler(DebugSymbolResolver symbolResolver)
|
internal class BreakpointHandler(DebugSymbolResolver symbolResolver)
|
||||||
: ISetInstructionBreakpointsHandler, ISetBreakpointsHandler
|
: ISetInstructionBreakpointsHandler, ISetBreakpointsHandler, ISetExceptionBreakpointsHandler, ISetDataBreakpointsHandler,
|
||||||
|
ISetFunctionBreakpointsHandler
|
||||||
{
|
{
|
||||||
public Task<SetInstructionBreakpointsResponse> Handle(SetInstructionBreakpointsArguments request, CancellationToken cancellationToken)
|
public Task<SetInstructionBreakpointsResponse> Handle(SetInstructionBreakpointsArguments request, CancellationToken cancellationToken)
|
||||||
{
|
{
|
||||||
@@ -86,4 +87,19 @@ internal class BreakpointHandler(DebugSymbolResolver symbolResolver)
|
|||||||
};
|
};
|
||||||
return Task.FromResult(response);
|
return Task.FromResult(response);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Task<SetExceptionBreakpointsResponse> Handle(SetExceptionBreakpointsArguments request, CancellationToken cancellationToken)
|
||||||
|
{
|
||||||
|
return Task.FromResult(new SetExceptionBreakpointsResponse());
|
||||||
|
}
|
||||||
|
|
||||||
|
public Task<SetDataBreakpointsResponse> Handle(SetDataBreakpointsArguments request, CancellationToken cancellationToken)
|
||||||
|
{
|
||||||
|
return Task.FromResult(new SetDataBreakpointsResponse());
|
||||||
|
}
|
||||||
|
|
||||||
|
public Task<SetFunctionBreakpointsResponse> Handle(SetFunctionBreakpointsArguments request, CancellationToken cancellationToken)
|
||||||
|
{
|
||||||
|
return Task.FromResult(new SetFunctionBreakpointsResponse());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user