KEMBAR78
add a BreakpointMode for different types of breakpoints by connor4312 · Pull Request #460 · microsoft/debug-adapter-protocol · GitHub
Skip to content

Conversation

@connor4312
Copy link
Member

Closes #454

@connor4312 connor4312 requested a review from roblourens February 9, 2024 19:43
@connor4312 connor4312 enabled auto-merge February 9, 2024 19:43
@connor4312 connor4312 added this to the February 2024 milestone Feb 9, 2024
"breakpointModes": {
"type": "array",
"items": {
"$ref": "#/definitions/ChecksumAlgorithm"
Copy link

@kkistm kkistm Feb 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should it be #/definitions/BreakpointMode instead?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, yes

@gregg-miskelly
Copy link
Member

gregg-miskelly commented Feb 12, 2024

Same suggestion as from the issue: I think we should add this to all of the breakpoint requests (missing: FunctionBreakpoint, DataBreakpoint), or at least all the code breakpoint types.

@connor4312
Copy link
Member Author

PR Updated.

@gregg-miskelly
Copy link
Member

LGTM


/**
* A help text providing additional information about the breakpoint mode.
* This string is typically shown as a hover and can be translated.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'label' could be translated too, right? Do we normally call this out?

"items": {
"$ref": "#/definitions/BreakpointModeApplicability"
},
"description": "Describes one or more type of breakpoint this mode applies to."
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"description": "Describes one or more type of breakpoint this mode applies to."
"description": "Describes one or more types of breakpoints this mode applies to."

@connor4312 connor4312 merged commit 42f5a84 into main Feb 14, 2024
@connor4312 connor4312 deleted the connor4312/breakpoint-modes branch February 14, 2024 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a "type" field for SourceBreakpoints

5 participants