You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, the real meaning of the ? does not seem to be spelled out anywhere. Is null an allowable value here? I wrote the gdb adapter to assume that optional values would simply be omitted -- but it's no problem to change if null is valid.
I think it would be good to be explicit about this.
The text was updated successfully, but these errors were encountered:
No, this is not valid. The point of truth for DAP is its JSON schema. In JSON schema, null is not a valid replacement for optional object properties. You can test this in any JSON scheme validator by trying to validate {"foo":null} with a schema like.
We got a bug report against the gdb DAP implementation. You can see the thread here: https://sourceware.org/pipermail/gdb/2024-January/051056.html
The bug seems to be that the client in this case sends:
My question is -- is this valid? The
configurationDone
request does say:However, the real meaning of the
?
does not seem to be spelled out anywhere. Isnull
an allowable value here? I wrote the gdb adapter to assume that optional values would simply be omitted -- but it's no problem to change ifnull
is valid.I think it would be good to be explicit about this.
The text was updated successfully, but these errors were encountered: