You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The page docs/dap/user-defined-dap/ruby-rdbg.md was added in 335daf80 (#1082). That commit only added select_new_server.png and select_template.png. The page also links to 10 images that were never committed, so they show up as broken images:
set_breakpoint.png (linked twice)
traces_in_console.png (linked twice)
set_traces.png
configuration_tab.png
attach_fields_preview.png
attach_fields_forced.png
start_program.png
start_program_and_attach.png
debug_threads_tab.png
completion.png
The missing file_mappings.png was already added in #1838.
Impact
Someone setting up Ruby debugging sees the steps without the screenshots for setting a breakpoint, configuring the run configuration, starting the program and debugging.
Question
@angelozerr Do you still have these screenshots from #1082? If so, could you add them or share them, and I'll add them in a PR.
If not, they'd have to be recreated with a working Ruby debug setup. Alternatively, the links could be removed until someone has one.
OK, I understand that you don't have the screenshots.
I'll try to recreate them. Claude made drafts of what each screenshot should show, which I'll post in the next comment. They are only sketches, so I still have to recreate the screenshots with the real rdbg.
Please give me some days for the PR. I hope it's not urgent ;)
Here is a more visual version of what the missing screenshots should show.
The Ruby page follows the Python page section by section. So each section below shows the existing Debugpy image first, then a sketch of the expected Ruby image.
The sketches are not screenshots. They were drawn in HTML, and nothing was run with Ruby. Their markings mean:
Red: frames and lines, as in the original images.
Amber: different from Debugpy, based on the Ruby page, the existing Ruby images, the templates or the rdbg sources.
Dashed violet: an assumption to check when taking the real screenshot.
The trace sequence is copied from Debugpy. Order and timings will differ with rdbg.
The hello world line is questionable. L106 says redirectOutput shows the output in the console, but this option doesn't appear in rdbg's server_dap.rb. The output may stay in the terminal.
The JSON is taken from L84-L95, and 12345 matches the terminal command.
This doesn't match the templates: attach.json only has type, name and request, and template.json sets the attach port to $port. The real screenshot may look different.
Fixed on main by #2092 (01c7a2ac), which removed the links to the 10 missing images. docs/dap/user-defined-dap/ruby-rdbg.md now links only the 3 screenshots that exist (select_template.png, select_new_server.png, file_mappings.png).
The 10 screenshots are back in the Ruby page with #2294 (merged): they were taken with a real rdbg setup and are linked again where #2092 removed them.
Activity
angelozerr commentedon Nov 3, 2026
@muescha I did that super quickly (copy/paste from another DAP debugger page) and it misses indeed those images.
if you have time to do that it would be super nice.
muescha commentedon Nov 4, 2026
OK, I understand that you don't have the screenshots.
I'll try to recreate them. Claude made drafts of what each screenshot should show, which I'll post in the next comment. They are only sketches, so I still have to recreate the screenshots with the real rdbg.
Please give me some days for the PR. I hope it's not urgent ;)
Note: This comment was drafted with Claude Code.
muescha commentedon Nov 4, 2026
Here is a more visual version of what the missing screenshots should show.
The Ruby page follows the Python page section by section. So each section below shows the existing Debugpy image first, then a sketch of the expected Ruby image.
The sketches are not screenshots. They were drawn in HTML, and nothing was run with Ruby. Their markings mean:
set_breakpoint.pngUsed in L18 and L114 of the Ruby page.
Debugpy (existing)
Ruby (sketch)
user.hello.rbhasputs user.Stringand the value in double quotes. How LSP4IJ displays them is an assumption.traces_in_console.pngUsed in L62 and L137 of the Ruby page.
Debugpy (existing)
Ruby (sketch)
hello worldline is questionable. L106 saysredirectOutputshows the output in the console, but this option doesn't appear in rdbg'sserver_dap.rb. The output may stay in the terminal.set_traces.pngUsed in L66 of the Ruby page.
Debugpy (existing)
Ruby (sketch)
select_new_server.png.Commandstays empty because rdbg is used with attach (L55-L56).configuration_tab.pngUsed in L79 of the Ruby page.
Debugpy (existing)
Ruby (sketch)
12345matches the terminal command.attach.jsononly hastype,nameandrequest, andtemplate.jsonsets the attach port to$port. The real screenshot may look different.attach_fields_preview.pngUsed in L100 of the Ruby page.
Debugpy (existing)
Ruby (sketch)
5678to12345."port": "$port"in the template.attach_fields_forced.pngUsed in L104 of the Ruby page.
Debugpy (existing)
Ruby (sketch)
1234, although its program waits on5678. The sketch uses12345, so that the connection would also work.start_program.pngUsed in L127 of the Ruby page.
Debugpy (existing)
Ruby (sketch)
start_program_and_attach.pngUsed in L133 of the Ruby page.
Debugpy (existing)
Ruby (sketch)
debug_threads_tab.pngUsed in L141 of the Ruby page.
Debugpy (existing)
Ruby (sketch)
server_dap.rb, the scopes are namedLocal variablesandGlobal variables, notLocalsandGlobals.<invalid frame>there, so it's worth checking whether that also happens with Ruby.rdbg --openstops at program start unless--nonstopis used, so this screenshot probably needs one resume to reach the breakpoint.completion.pngUsed in L145 of the Ruby page.
Debugpy (existing)
Ruby (sketch)
supportsCompletionsRequest: true, so this screenshot should be possible.Stringmethods. Which ones rdbg returns, and in which order, is open.Python leftovers in the text
The Ruby page still mentions
Python- Debugpy(L48, L77),test.py(L112) and Debugpy completion (L143).Note: This comment and the sketches were drafted with Claude Code.
lagergren commentedon Nov 25, 2026
Fixed on main by #2092 (
01c7a2ac), which removed the links to the 10 missing images.docs/dap/user-defined-dap/ruby-rdbg.mdnow links only the 3 screenshots that exist (select_template.png,select_new_server.png,file_mappings.png).docs: add the Ruby rdbg screenshots back with real ones
muescha commentedon Nov 26, 2026
The 10 screenshots are back in the Ruby page with #2294 (merged): they were taken with a real rdbg setup and are linked again where #2092 removed them.