Skip to content

Improve context handling for breakpoints - #28

Merged
MagnusIntel merged 2 commits into
intel:mainfrom
aragners:improve-context-handling-for-bps
Nov 10, 2026
Merged

MagnusIntel merged 2 commits into
intel:mainfrom
aragners:improve-context-handling-for-bps

Conversation

@aragners

@aragners aragners commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

This adds:

  • Support for selecting multiple contexts using checkboxes.
  • Support for editing contexts of existing breakpoints.
  • Icons for adding and editing contexts of breakpoints in the title bar of the Checkpoints view.

@aragners
aragners requested a review from a team as a code owner November 6, 2026 14:37
Selecting which contexts a breakpoint applies to is now be done with
checkbox selections for existing contexts. The contexts will be shown as
comma-separated list after the function name.

Signed-off-by: Andreas Ragnerstam <andreas.ragnerstam@intel.com>
VS Code does not let extensions add items to the Breakpoints view
context menu or its edit menu, and it does not tell them which
breakpoint is selected. So the command is in the Command Palette and
the Breakpoints title bar, and asks which function breakpoint to edit
when there is more than one.

VS Code cannot rename a breakpoint, so the command replaces it with a
new one that keeps the condition, hit count, log message and enabled
state.

Also fix the view ID of the Add Function Breakpoint in Context button.
The old ID does not exist, so the button was never shown.

Signed-off-by: Andreas Ragnerstam <andreas.ragnerstam@intel.com>
@aragners
aragners force-pushed the improve-context-handling-for-bps branch from bbaa4e8 to a67a4e0 Compare November 9, 2026 12:27

@MagnusIntel MagnusIntel left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice improvement!

@MagnusIntel
MagnusIntel merged commit 11cfad6 into intel:main Nov 10, 2026
5 checks passed
@aragners
aragners deleted the improve-context-handling-for-bps branch November 10, 2026 08:14
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.

2 participants