Skip to content

docs: list the DAP Capabilities event as supported - #2171

Merged
lagergren merged 1 commit into
redhat-developer:mainfrom
lagergren:docs/dap-capabilities-event
Nov 23, 2026
Merged

lagergren merged 1 commit into
redhat-developer:mainfrom
lagergren:docs/dap-capabilities-event

Conversation

@lagergren

Copy link
Copy Markdown
Collaborator

What

docs/dap/DAPSupport.md listed the DAP Capabilities event as ❌ not supported. LSP4IJ has handled it since #1974: DAPClient.capabilities updates the session's capabilities, and once the configuration is done it sends again what changed:

  • the function and data breakpoints, when their support is turned on or off;
  • the exception breakpoint filters, when they change;
  • the instruction breakpoints, once the debug adapter supports disassembling.

Change

The entry is now ✅, with that description.

Docs only, no behaviour change.

@lagergren lagergren added this to the 0.30.2 milestone Nov 23, 2026
@lagergren lagergren added documentation Improvements or additions to documentation dap Debugging Adapter Protocol labels Nov 23, 2026
@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

No actionable comments were generated in the recent review.

Summary

Summary by CodeRabbit

  • Documentation
    • Updated the DAP support guide to indicate that the Capabilities event is supported.
    • Clarified that adapter capability changes update the session after initialization, and that breakpoint requests may be resent when breakpoint support changes.

The DAP support documentation now lists the Capabilities event as supported and describes session capability updates after initialize, including breakpoint resend conditions.

Changes: DAP Capabilities

Layer / File(s) Summary
Document capability updates
docs/dap/DAPSupport.md
The Capabilities event entry now states that it is supported. It describes session capability updates and when function, data, exception, and instruction breakpoints are resent.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Other

Suggested reviewers: angelozerr

Merge Risk: Minimal · up to 22d81

This change only updates the DAP support documentation to list the Capabilities event as supported. It does not change runtime behavior, and the documented behavior matches the implementation.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title states the main change: the DAP Capabilities event is now listed as supported in the DAP support docs. The raw summary confirms the single-line docs change to docs/dap/DAPSupport.md that mar…
Description check Passed The description explains that docs/dap/DAPSupport.md wrongly listed the Capabilities event as not supported. It describes the existing handling in DAPClient.capabilities and the change to a supported …
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title states the main change: the DAP Capabilities event is now listed as supported in the DAP support docs. The raw summary confirms the single-line docs change to docs/dap/DAPSupport.md that marks the event as supported.

Full details: Description check

Explanation

The description explains that docs/dap/DAPSupport.md wrongly listed the Capabilities event as not supported. It describes the existing handling in DAPClient.capabilities and the change to a supported entry with a description. This matches the one-line docs change in the summary.

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 9943bf80-b290-433d-af54-247987fdb4f7
Commits

Reviewing files that changed from the base of the PR and between cb29f9f and 22d8124.

Files selected for processing: 1

  • docs/dap/DAPSupport.md

Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 0 remain after this review.

@codecov

codecov Bot commented Nov 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 53.82%. Comparing base (cb29f9f) to head (22d8124).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2171   +/-   ##
=======================================
  Coverage   53.82%   53.82%           
=======================================
  Files         828      828           
  Lines       35034    35034           
  Branches     5493     5493           
=======================================
  Hits        18856    18856           
  Misses      13378    13378           
  Partials     2800     2800           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@lagergren

Copy link
Copy Markdown
Collaborator Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Action not completed

Review rate limited.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@lagergren

Copy link
Copy Markdown
Collaborator Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@lagergren
lagergren merged commit 83b5ad8 into redhat-developer:main Nov 23, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dap Debugging Adapter Protocol documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant