mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-15 01:25:40 -05:00
Initial commit of SqlTools Service API
This commit is contained in:
31
ServiceHost/DebugAdapter/SetFunctionBreakpointsRequest.cs
Normal file
31
ServiceHost/DebugAdapter/SetFunctionBreakpointsRequest.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
//
|
||||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
//
|
||||
|
||||
using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol;
|
||||
|
||||
namespace Microsoft.PowerShell.EditorServices.Protocol.DebugAdapter
|
||||
{
|
||||
public class SetFunctionBreakpointsRequest
|
||||
{
|
||||
public static readonly
|
||||
RequestType<SetFunctionBreakpointsRequestArguments, SetBreakpointsResponseBody> Type =
|
||||
RequestType<SetFunctionBreakpointsRequestArguments, SetBreakpointsResponseBody>.Create("setFunctionBreakpoints");
|
||||
}
|
||||
|
||||
public class SetFunctionBreakpointsRequestArguments
|
||||
{
|
||||
public FunctionBreakpoint[] Breakpoints { get; set; }
|
||||
}
|
||||
|
||||
public class FunctionBreakpoint
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the name of the function to break on when it is invoked.
|
||||
/// </summary>
|
||||
public string Name { get; set; }
|
||||
|
||||
public string Condition { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user