-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fixed case where if serialization fails the server will die silently. * Updated to latest dap spec * updated enum to have proper string values * Updated coverlet config
- Loading branch information
1 parent
5f3a5ac
commit caaf907
Showing
49 changed files
with
1,486 additions
and
393 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
-- This is the last commit we caught up with https://github.com/microsoft/debug-adapter-protocol/commits/gh-pages | ||
lastSha: fd7d38013c9e13e92c0ca4dfa83048d355cb057d | ||
|
||
https://github.com/microsoft/debug-adapter-protocol/compare/fd7d38013c9e13e92c0ca4dfa83048d355cb057d..gh-pages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Diagnostics; | ||
using System.Linq; | ||
using System.Reflection; | ||
using System.Threading; | ||
using System.Threading.Tasks; | ||
using MediatR; | ||
using Newtonsoft.Json; | ||
using OmniSharp.Extensions.DebugAdapter.Protocol.Models; | ||
using OmniSharp.Extensions.DebugAdapter.Protocol.Serialization; | ||
using OmniSharp.Extensions.JsonRpc; | ||
using OmniSharp.Extensions.JsonRpc.Generation; | ||
using OmniSharp.Extensions.JsonRpc.Serialization.Converters; | ||
|
||
// ReSharper disable once CheckNamespace | ||
namespace OmniSharp.Extensions.DebugAdapter.Protocol | ||
{ | ||
namespace Events | ||
{ | ||
[Parallel] | ||
[Method(EventNames.Invalidated, Direction.ServerToClient)] | ||
[ | ||
GenerateHandler, | ||
GenerateHandlerMethods, | ||
GenerateRequestMethods | ||
] | ||
public record InvalidatedEvent : IRequest | ||
{ | ||
/// <summary> | ||
/// Optional set of logical areas that got invalidated. This property has a | ||
/// hint characteristic: a client can only be expected to make a 'best | ||
/// effort' in honouring the areas but there are no guarantees. If this | ||
/// property is missing, empty, or if values are not understand the client | ||
/// should assume a single value 'all'. | ||
/// </summary> | ||
[Optional] | ||
public Container<InvalidatedAreas>? Areas { get; init; } | ||
|
||
/// <summary> | ||
/// If specified, the client only needs to refetch data related to this | ||
/// thread. | ||
/// </summary> | ||
[Optional] | ||
public int? ThreadId { get; init; } | ||
|
||
/// <summary> | ||
/// If specified, the client only needs to refetch data related to this stack | ||
/// frame (and the 'threadId' is ignored). | ||
/// </summary> | ||
[Optional] | ||
public int? StackFrameId { get; init; } | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.