Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a BreakpointMode for different types of breakpoints #460

Merged
merged 3 commits into from
Feb 14, 2024

Conversation

connor4312
Copy link
Member

Closes #454

"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

specification.md Outdated Show resolved Hide resolved
@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
2 checks passed
@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
4 participants