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
Worth mentioning that at least one of the listed SDKs (cppdap) does not seem to consider this argument optional at all, and requires at least a line field to be present.
Leaving the arguments property optional was a mistake.
Since making arguments mandatory would be a breaking change, I suggest that we "fix" the problem by documenting the flaw. E.g. something like: "Clients should not omit the arguments property because the DAP specification intentionally does not cover this case. However, if arguments property is missing, debug adapters should return an error."
Activity
nickelpro commentedon Apr 24, 2022
Worth mentioning that at least one of the listed SDKs (cppdap) does not seem to consider this argument optional at all, and requires at least a
linefield to be present.weinand commentedon Nov 24, 2022
Leaving the
argumentsproperty optional was a mistake.Since making
argumentsmandatory would be a breaking change, I suggest that we "fix" the problem by documenting the flaw. E.g. something like: "Clients should not omit theargumentsproperty because the DAP specification intentionally does not cover this case. However, ifargumentsproperty is missing, debug adapters should return an error."fix: clarify arguments required for cancel/breakpointlocations
fix: clarify behavior of start/count in variablesarguments (#580)
fix: clarify arguments required for cancel/breakpointlocations (micro…