Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
9eb5e3e
Disable canceled step/next/finish
ko1 Nov 1, 2022
a364ef3
load 'etc' lazily
ko1 Nov 1, 2022
359747b
`step into <name>`
ko1 Nov 1, 2022
b5ce120
update doc
ko1 Nov 1, 2022
0476b3d
skip check for pending breakpoints if no breakpoints are present
WillHalto Aug 23, 2022
ad1bcb1
restrict skip to ruby 3.1 and later
WillHalto Oct 28, 2022
9d61054
Move skipping logic out of Config class
st0012 Nov 1, 2022
0d56232
use rb_profile_frames for frame_depth
WillHalto Aug 31, 2022
c3d9257
adjust for dummy frame
WillHalto Sep 1, 2022
6c592a4
Add compatibility checks for rb_profile_frames.
WillHalto Oct 11, 2022
a1213eb
fix ruby version check for rb_profile_frames extra frame
WillHalto Oct 29, 2022
77f20d1
check `RubyVM.keep_script_lines`
ko1 Nov 2, 2022
b498d4f
fix #788
ko1 Nov 2, 2022
607a1c4
Fix #781
ono-max Nov 3, 2022
f94a8ac
`"nonstop": true` option (default: false) on launch.json
ko1 Nov 3, 2022
a402e73
introduce SessionCommand
ko1 Nov 3, 2022
6a77070
Allow debugger to be attached from Inspector page in Chrome
ono-max Oct 22, 2022
7a6ef40
Support opening Chrome automatically on windows
ono-max Oct 31, 2022
1ecb014
Support opening Chrome automatically on windows
ono-max Nov 6, 2022
e422abe
Use binding's location on irb command
k0kubun Nov 17, 2022
2f510f0
change result chars: 4096 -> 180
ko1 Nov 17, 2022
67f7223
DAP: sort by instance variable names
ko1 Nov 17, 2022
7455bb8
`until` command
ko1 Nov 17, 2022
fb67374
skip DeepCallstackTest
ko1 Nov 18, 2022
47b01da
add timeout
ko1 Nov 18, 2022
59b1fcf
retry connection to avoid fragile tests
ko1 Nov 18, 2022
6dd1a3d
add debug print
ko1 Nov 18, 2022
e61045c
increase retry count
ko1 Nov 18, 2022
d7f181c
retry connection with newly created process
ko1 Nov 18, 2022
ccfbf0e
Update actions/checkout version to v3
ydah Nov 18, 2022
f90f98a
Pass show_code: false to binding.irb if available
k0kubun Nov 18, 2022
87b1fab
Add skip_src option to LineBreakpoint
k0kubun Nov 19, 2022
daf8cae
CDP: do not override `UI_ServerBase::readline`
ono-max Nov 19, 2022
b2038a0
Support opening Chrome automatically on linux
ono-max Nov 20, 2022
4cb5a4a
Make sure to wait for all threads to finish
ono-max Nov 21, 2022
6d9f231
Make sure to fail when remote debuggee does not exit after scenarios
ono-max Nov 21, 2022
7f8f526
Wait 10 seconds instead of 3 seconds
ono-max Nov 21, 2022
15c06fa
Make sure to kill remote debuggee in the protocol test
ono-max Nov 20, 2022
a371efc
Configure Github Actions to run console tests for macOS
ono-max Nov 1, 2022
b1ad17c
Add request-based termination/disconnection protocol tests
st0012 Jul 16, 2022
8950055
Remove incorrect restart tests
st0012 Jul 16, 2022
1c8d84a
Remove unnecessary detach tests
st0012 Jul 16, 2022
c44094b
`quit` command immediately
ko1 Nov 22, 2022
097a94a
Enable the test for checking if test fails when debuggee does not exit
ono-max Nov 22, 2022
20bb586
Enable test for checking if `q!` works correctly
ono-max Nov 22, 2022
c2491c1
Disable the test for checking if the target program has line numbers …
ono-max Nov 22, 2022
b95ad7a
fix README
ko1 Nov 22, 2022
f07b9b7
fix log level
ko1 Nov 22, 2022
0ca54ab
use `IO#gets`
ko1 Nov 22, 2022
634fae7
mark unused lvar
ko1 Nov 22, 2022
4e3d9d3
`reset_ui` needs `ui.activate`
ko1 Nov 22, 2022
d75e115
`open` conifg
ko1 Nov 22, 2022
fe270d4
Make sure to wait TCP/IP server to start up
ono-max Nov 23, 2022
3e3f374
revert #746
ko1 Nov 24, 2022
3f4cae4
use `rb_debug_inspector_frame_depth`
ko1 Nov 25, 2022
f9477c3
modify test target script
ko1 Nov 25, 2022
6baa2ec
fix next/finish/until for duplicate lines
ko1 Nov 25, 2022
2a73341
add `cont` alias for `continue`
ko1 Nov 25, 2022
e506161
rename file name
ko1 Nov 25, 2022
5bb2ff1
support `debugger` method in subsession
ko1 Nov 25, 2022
a6e6551
Refresh README
st0012 Jul 14, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/protocol.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
ruby-version: ['2.6', '2.7', '3.0', '3.1', 'head', 'debug']

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Ruby
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
# change this to (see https://github.com/ruby/setup-ruby#versioning):
Expand Down
39 changes: 39 additions & 0 deletions .github/workflows/ruby-macos.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby

name: Ruby(macOS)

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
test:

runs-on: macos-latest
timeout-minutes: 15
strategy:
fail-fast: false
matrix:
ruby-version: ['3.1', 'head']

steps:
- uses: actions/checkout@v2
- name: Set up Ruby
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
# change this to (see https://github.com/ruby/setup-ruby#versioning):
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Run tests
run: |
bundle exec rake clobber
bundle exec rake compile
bundle exec rake test_console
4 changes: 2 additions & 2 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ jobs:
test:

runs-on: ubuntu-latest
timeout-minutes: 15
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
ruby-version: ['2.6', '2.7', '3.0', '3.1', 'head', 'debug']

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Ruby
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
# change this to (see https://github.com/ruby/setup-ruby#versioning):
Expand Down
20 changes: 16 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,22 @@ Execute debugging `program` with `&scenario`. If you want to test it only for DA

`run_protocol_scenario program, cdp: false ...`

- attach_to_dap_server(terminate_debuggee:)

Attach to the running DAP server through UNIX Domain Socket.

- attach_to_cdp_server

Attach to the running CDP server through TCP/IP.

- req_dap_disconnect

Disconnect from the currently connected DAP server.

- req_cdp_disconnect

Disconnect from the currently connected CDP server.

- req_add_breakpoint(lineno, path: temp_file_path, cond: nil)

Sends request to rdbg to add a breakpoint.
Expand Down Expand Up @@ -377,10 +393,6 @@ Sends request to rdbg to step back from current method.

Sends request to rdbg to terminate the debuggee.

- assert_reattach

Passes if reattaching to rdbg is successful.

- assert_hover_result(expected, expression)

Passes if result of `expression` matches `expected`.
Expand Down
Loading