Repository navigation
docs(dap): describe forwarded native line breakpoints and the mapping kinds - #1838
Merged
angelozerr merged 3 commits intoNov 2, 2026
Merged
angelozerr merged 3 commits into
angelozerr merged 3 commits into
Conversation
IntelliJ's UI guidelines: no period at the end of a single sentence (https://plugins.jetbrains.com/docs/intellij/punctuation.html) and sentence case for tooltip text (https://plugins.jetbrains.com/docs/intellij/capitalization.html). The other breakpoint messages in DAPBundle already follow this. DAPShadowedBreakpointTest uses the adapter message as the JavaScriptCore debug adapter now sends it: "Pending native script resolution". Co-Authored-By: Claude Opus 5.5 <[email protected]>
…pter The caption of the Mappings tab of a DAP run configuration said "Declare file associations to allow setting breakpoints.", as if the mappings were only about breakpoints. The mappings decide which files this debug adapter handles: for debugging and for breakpoints. New caption, as agreed in redhat-developer#1706: "Map files to this debug adapter (debugging/breakpoints)", with the Chinese text from redhat-developer#1706. It also drops the final period (IntelliJ UI guidelines, https://plugins.jetbrains.com/docs/intellij/punctuation.html). Co-Authored-By: Claude Opus 5.5 <[email protected]>
… kinds The user guide now explains that native line breakpoints in mapped files are forwarded to the DAP server, and what the kinds of mappings and the Language Id column mean. The Python page says that the regular Python breakpoint is hit without a second DAP breakpoint. The screenshots of the Mappings tab show its new caption. This also adds the screenshot that the Ruby page was missing and fixes its copied Python text. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1838 +/- ##
==========================================
+ Coverage 37.65% 38.28% +0.62%
==========================================
Files 786 786
Lines 30019 30059 +40
Branches 6001 6012 +11
==========================================
+ Hits 11305 11508 +203
+ Misses 16756 16546 -210
- Partials 1958 2005 +47 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Contributor
|
Thanks @muescha ! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The change
These are the docs announced in #1752, plus the screenshots for the new Mappings tab caption from #1795.
Depends on #1795. This branch contains its two commits, so that the screenshots match the code. Once #1795 is merged, I'll rebase, and only the docs commit stays.
User guide (
docs/dap/UserGuide.md)Language,File type,File name patterns) and theLanguage Idcolumn.Python and Ruby pages
python-debugpy.md: the regular Python breakpoint is hit as it is, so no second DAP breakpoint is needed.ruby-rdbg.md: the text next to the mappings screenshot talked about Python. It now talks about Ruby.Screenshots
The Mappings tab now shows "Map files to this debug adapter (debugging/breakpoints)", so these are new:
DAP_config_type_mappings.pngcodelldb/file_mappings.pnggo-delve/file_mappings_tab.pngjulia/file_mappings.pngpython-debugpy/file_mappings.pngswift-lldb/file_mappings_tab.pngvscode-js-debug/file_mappings_tab.pngruby-rdbg/file_mappings.png: new, the page linked to it but the file didn't exist.All of them have the same size and show the mappings from the current templates.
Question: should the
Language Idcolumn be in the screenshots?In these screenshots the
Language Idcolumn is filled in, because the IDs come from the templates. Most of the older screenshots showed it empty.A filled-in column suggests that a value is needed. Someone who doesn't use a template then has to wonder whether to enter a language ID, and which one. As far as I can see, DAP doesn't use the value at all, and debugging works with the column empty. Whether the column should stay at all is a question for #1837.
@angelozerr Which do you prefer for this PR?
Decisions on the #1752 list
Not part of this PR
ruby-rdbg.mdlinks to 10 more images that don't exist. That needs a separate PR.Tests
Only docs and images change here, apart from the commits of #1795.
runIdeon this branch.🤖 Generated with Claude Code