Skip to content

docs: retake the DAP Mappings and Threads screenshots - #2256

Merged
lagergren merged 2 commits into
redhat-developer:mainfrom
lagergren:docs/retake-dap-screenshots
Nov 25, 2026
Merged

lagergren merged 2 commits into
redhat-developer:mainfrom
lagergren:docs/retake-dap-screenshots

Conversation

@lagergren

Copy link
Copy Markdown
Collaborator

What

Several DAP screenshots showed the UI before recent changes:

Change

Each image is an offscreen render of the real component, at 2x in the New UI Dark theme, on IntelliJ 2025.3.

  • Mappings tabs: these images show the real run configuration editor. Each debug adapter was created from its bundled template through the real New Debug Adapter Server dialog:
    • DAP_config_type_mappings.png (vscode-js-debug)
    • codelldb/file_mappings.png
    • go-delve/file_mappings_tab.png, which also shows the *.tmpl;*.gotmpl patterns of the current template
    • julia/file_mappings.png
    • python-debugpy/file_mappings.png
    • ruby-rdbg/file_mappings.png
    • swift-lldb/file_mappings_tab.png
    • vscode-js-debug/file_mappings_tab.png
  • Threads tab: these images show a real debug session against a test DAP server with four threads.
    • DAP_terminate_thread.png: each row shows its state, [stopped] or [running], and the context menu of worker-1 has Terminate Thread.
    • DAP_terminate_thread_exited.png: after Terminate Thread, worker-1 shows [exited].
  • New, DAP_terminate_thread_frames.png: Terminate Thread in the context menu of the Frames view. It's referenced from the "Terminate a thread" section of the DAP user guide.

How the menus were drawn: a popup menu can't be shown offscreen. Each menu was filled by IntelliJ's own code, then drawn where a right-click opens it. Only its background and rounded border are painted by the harness, in the theme's popup colours.

IDE differences:

  • Customize Threads View... and Export Threads... in the Frames menu come from the Java plugin of IntelliJ IDEA, so other IDEs don't show them.
  • The File type tab names JavaScript and C++ only in an IDE that knows those file types.

Fixes #2187

… adapter pages without the Language Id column

The Mappings tab of a DAP run configuration has no Language Id column
since redhat-developer#2173, but the screenshot of the DAP user guide and those of the
CodeLLDB, Go - Delve, Julia, Python - Debugpy, Ruby Debug, Swift lldb-dap
and VSCode JS Debug pages still showed it. Each one is now rendered from
the real run configuration editor, with the debug adapter created from
the bundled template of that page, in the New UI Dark theme of
IntelliJ IDEA 2025.3. Go - Delve shows the patterns *.tmpl and *.gotmpl
of its template.
…ith the run state of each thread, and show Terminate Thread in the Frames view

The screenshots of the Threads tab showed rows without their run state,
which each row has shown since redhat-developer#2181, and none showed Terminate Thread
in the Frames view (redhat-developer#2217). They are now rendered from a real DAP debug
session against a DAP server in the process, in the New UI Dark theme of
IntelliJ IDEA 2025.3:
- the Threads tab with main, worker-1 and worker-2 stopped and scheduler
  running, and the context menu of worker-1 with Terminate Thread;
- the same tab once worker-1 exited;
- the Frames view with the frames of worker-1, and its context menu with
  Terminate Thread, added after the sentence which describes it.

Fixes redhat-developer#2187
@lagergren lagergren added this to the 0.30.2 milestone Nov 25, 2026
@lagergren lagergren added the documentation Improvements or additions to documentation label Nov 25, 2026
@coderabbitai

coderabbitai Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

No actionable comments were generated in the recent review.

Summary

Summary by CodeRabbit

  • Documentation
    • Added an illustration of the “Terminate Thread” action in the Frames view.

The DAP user guide now includes an image illustrating the Terminate Thread action in the Frames view.

Changes: DAP User Guide

Layer / File(s) Summary
Document the Terminate Thread action
docs/dap/UserGuide.md
The guide adds an image showing the Terminate Thread action in the Frames view.

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

Change: Other

Suggested reviewers: muescha, sohamsakhare76-ai

Merge Risk: Minimal · up to 9b3ba · assessed changes only

Path filters excluded changed files. This rating applies only to the assessed changes.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title 'docs: retake the DAP Mappings and Threads screenshots' matches the changeset's main purpose. The PR replaces DAP documentation screenshots for the Mappings and Threads tabs, and adds a Fram…
Description check Passed The description explains the purpose, the changed screenshots (Mappings tabs, Terminate Thread images, and a new Frames-view image), the rendering method, and IDE-specific differences. It relates dire…
Linked Issues check Passed [#2187] The only directly linked issue asks for retaken PNG screenshots in docs/dap/UserGuide.md. Retaking screenshots is a non-coding task, so no coding requirements apply. The screenshot files are e…
Out of Scope Changes check Passed The whole-PR code and documentation change is limited to docs/dap/UserGuide.md (summary: +2/-0). It adds one image reference for DAP_terminate_thread_frames.png in the "Terminate a thread" section. Th…
Full details: Title check

Explanation

The title 'docs: retake the DAP Mappings and Threads screenshots' matches the changeset's main purpose. The PR replaces DAP documentation screenshots for the Mappings and Threads tabs, and adds a Frames-view image. The title is concise and specific, and it follows a conventional commit style.

Full details: Description check

Explanation

The description explains the purpose, the changed screenshots (Mappings tabs, Terminate Thread images, and a new Frames-view image), the rendering method, and IDE-specific differences. It relates directly to the changeset and links issue #2187.

Full details: Linked Issues check

Explanation

[#2187] The only directly linked issue asks for retaken PNG screenshots in docs/dap/UserGuide.md. Retaking screenshots is a non-coding task, so no coding requirements apply. The screenshot files are excluded by the ignored_files rule (!**/*.png), so their content was not inspected and is not assessed. The reviewed code change is the UserGuide.md update in the whole-PR diff (merge base df2fa63 to head 9b3bade), which adds an image reference for the Frames-view Terminate Thread screenshot. No coding requirement is unmet.

Full details: Out of Scope Changes check

Explanation

The whole-PR code and documentation change is limited to docs/dap/UserGuide.md (summary: +2/-0). It adds one image reference for DAP_terminate_thread_frames.png in the "Terminate a thread" section. This is the same section that #2187 targets, so the change supports the linked documentation work. The Frames-view screenshot is not requested by #2187, but the PR description states it documents the same action. The reference is not an unrelated change. The binary PNG changes are excluded from review and are not assessed for scope. Exact line content of the markdown hunk was not separately inspected.

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: c0eaa0ff-7c1e-4ea5-a765-32b5e2483bb3
Commits

Reviewing files that changed from the base of the PR and between df2fa63 and 9b3bade.

Files ignored due to path filters: 11

  • docs/dap/images/DAP_config_type_mappings.png is excluded by !**/*.png
  • docs/dap/images/DAP_terminate_thread.png is excluded by !**/*.png
  • docs/dap/images/DAP_terminate_thread_exited.png is excluded by !**/*.png
  • docs/dap/images/DAP_terminate_thread_frames.png is excluded by !**/*.png
  • docs/dap/images/codelldb/file_mappings.png is excluded by !**/*.png
  • docs/dap/images/go-delve/file_mappings_tab.png is excluded by !**/*.png
  • docs/dap/images/julia/file_mappings.png is excluded by !**/*.png
  • docs/dap/images/python-debugpy/file_mappings.png is excluded by !**/*.png
  • docs/dap/images/ruby-rdbg/file_mappings.png is excluded by !**/*.png
  • docs/dap/images/swift-lldb/file_mappings_tab.png is excluded by !**/*.png
  • docs/dap/images/vscode-js-debug/file_mappings_tab.png is excluded by !**/*.png
Files selected for processing: 1

  • docs/dap/UserGuide.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 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 55.67%. Comparing base (df2fa63) to head (9b3bade).

Additional details and impacted files
@@            Coverage Diff            @@
##             main    #2256     +/-   ##
=========================================
  Coverage   55.67%   55.67%             
=========================================
  Files         844      844             
  Lines       36091    36091             
  Branches     7464     5658   -1806     
=========================================
  Hits        20094    20094             
  Misses      13086    13086             
  Partials     2911     2911             

☔ 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
lagergren merged commit 250ce01 into redhat-developer:main Nov 25, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DAP docs: update the screenshots of the Mappings tab and the Threads tab

1 participant