-
Notifications
You must be signed in to change notification settings - Fork 105
Unable to start Debug Server: Constructor on type [...] not found #562
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Side note/question: how do we enable a logger for the |
The OmniSharp v19 update changed this type when it was bumped to the latest DAP spec in #448 |
I've got a small repro of this btw: internal class Program
{
static void Main(string[] args)
{
object p = Activator.CreateInstance(typeof(PathFormat?), "uri");
Console.WriteLine(p);
}
} Instead we have to recursively create the type: internal class Program
{
static void Main(string[] args)
{
string val = "uri";
object p = Activator.CreateInstance(typeof(PathFormat?),
val is null ? null : Activator.CreateInstance(typeof(PathFormat), "uri"));
Console.WriteLine(p);
}
} |
This was referenced Apr 15, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Trying to get PowerShell Editor Services running with O# 0.19, we've been unable to start the debug server.
In our code, the failure seems to occur here.
It seems we're unable to process the
initialize
message from the debugger because theActivator
can't create thePathFormat
type:csharp-language-server-protocol/src/Dap.Protocol/Models/PathFormat.cs
Lines 5 to 10 in 1b6788d
The text was updated successfully, but these errors were encountered: