Skip to content

add a BreakpointMode for different types of breakpoints - #460

Merged
Connor Peet (connor4312) merged 3 commits into
mainfrom
connor4312/breakpoint-modes
Feb 14, 2024
Merged

Connor Peet (connor4312) merged 3 commits into
mainfrom
connor4312/breakpoint-modes

Conversation

@connor4312

Copy link
Copy Markdown
Member

Closes #454

Comment thread debugAdapterProtocol.json Outdated
"breakpointModes": {
"type": "array",
"items": {
"$ref": "#/definitions/ChecksumAlgorithm"

@kkistm Kostiantyn Kirenko (kkistm) Feb 12, 2024 •

Copy link
Copy Markdown

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
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Oops, yes

Comment thread specification.md Resolved
@gregg-miskelly

Gregg Miskelly (gregg-miskelly) commented Feb 12, 2024 •

Copy link
Copy Markdown
Member

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
Copy Markdown
Member Author

PR Updated.

@gregg-miskelly

Copy link
Copy Markdown
Member

LGTM

Comment thread specification.md

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

Copy link
Copy Markdown
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?

Comment thread debugAdapterProtocol.json
"items": {
"$ref": "#/definitions/BreakpointModeApplicability"
},
"description": "Describes one or more type of breakpoint this mode applies to."

Copy link
Copy Markdown
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."

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

4 participants