Help with setting up DAP for Kate text editor
Tom Tromey
tom@tromey.com
Mon Jan 22 13:45:19 GMT 2024
>>>>> Akseli Lahtinen <akselmo@akselmo.dev> writes:
> Hey, sorry for the late response.
> I have requested an account to the sourceware bugzilla so I can
> create a separate bug report, but here's the logs I got from running the
> command.
Thank you. The problem seems clear to me:
> READ: <<<{"arguments": null, "command": "configurationDone", "seq": 2, "type":
> "request"}>>>
Here, 'arguments' is documented as:
interface ConfigurationDoneRequest extends Request {
command: 'configurationDone';
arguments?: ConfigurationDoneArguments;
}
In gdb, I assumed that optional things would simply not be provided. It
isn't clear to me that 'null' is a valid value here.
I filed an DAP clarification bug to find out:
https://github.com/microsoft/debug-adapter-protocol/issues/456
If this is in fact valid, it's easy to fix. I have a patch for it
already, but I'd prefer not to land it if this request is invalid.
Tom
More information about the Gdb
mailing list