v1.7.0
What's new
This release contains many bug fixes and new features.
- Debug console
until
commandwhereami
commandinfo ivars <expr>
andinfo consts <expr>
- A fewer log output
- Faster
next
andfinish
command on Ruby 3.2. - Better VSCode (DAP) and Chrome (CDP) supports
- Experimental features
RUBY_DEBUG_LAZY
configuration, command
on VSCode debug console to input debug commands
and more!
What's Changed
- Debug console
- Control flow commands
- Query commands
irb
command- Others
- Configuration
- Bug fixes / Performance improvements
- Faster
next
by reducing number of frame_depth calls by @WillHalto in #743 - Disable canceled step/next/finish by @ko1 in #784
- load 'etc' lazily by @ko1 in #785
- Skip check for pending breakpoints if no breakpoints are present by @WillHalto in #738
- Move skipping logic out of Config class by @st0012 in #787
- Faster next / finish by using
rb_profile_frames
by @WillHalto in #746 - fix #788 by @ko1 in #790
- Fix #781 by @ono-max in #791
- introduce SessionCommand by @ko1 in #793
- use
IO#gets
by @ko1 in #824 reset_ui
needsui.activate
by @ko1 in #825- Use dc depth by @ko1 in #831
- fix control flow by @ko1 in #832
- fix break line check algorithm by @ko1 in #837
- take care exceptions from
const_get
by @ko1 in #854 - Support Process.daemon by @shunichi in #856
- use
TOPLEVEL_BINDING
if no binding by @ko1 in #859 quit
command immediately by @ko1 in #819
- Faster
- VSCode (DAP)
- π Support displaying variables with non-unicode data by @marianosimone in #758
- π Respect skip_path when returning the backtrace in ServerDAP by @marianosimone in #749
- β¨ Allow setting local_fs_map even when using UI_UnixDomainServer by @marianosimone in #745
"nonstop": true
option (default: false) on launch.json by @ko1 in #792- DAP: change result chars: 4096 -> 180 by @ko1 in #805
- DAP: sort by instance variable names by @ko1 in #806
- DAP: support to show global variables by @ko1 in #835
- DAP: Allow debug command with
,command
by @ko1 in #838 - π Respect breakpoints even when in a skipped path by @marianosimone in #850
- DAP:
launch
should belocalfs == true
by @ko1 in #845
- Chrome (CDP)
- Use CONFIG.skip_all in server_cdp.rb by @ono-max in #744
- Support BasicObject in Chrome debugging by @ono-max in #773
- Correct matching condition when finding a server key by @ono-max in #775
- Allow debugger to be attached from Inspector page in Chrome by @ono-max in #772
- Support opening Chrome automatically on windows by @ono-max in #782
- CDP: do not override
UI_ServerBase::readline
by @ono-max in #812 - Support opening Chrome automatically on linux by @ono-max in #814
- CDP: support to show global variables by @ono-max in #836
- CDP: support Runtime.getExceptionDetails method by @ono-max in #840
- CDP: Display the console when opening chrome automatically by @ono-max in #841
- Tests
- Update test generator directory names to reflect latest changes by @ono-max in #706
- Refactor the logic of getting UI to be tested by @ono-max in #776
- Correct Env name for UI to be tested by @ono-max in #777
- Add whereami test by @st0012 in #780
- Fix raw test case for detaching by @ono-max in #705
- Update actions/checkout version to v3 by @ydah in #809
- Make sure to wait for all threads to finish by @ono-max in #817
- Make sure to fail when remote debuggee does not exit after scenarios by @ono-max in #818
- Make sure to kill remote debuggee in the protocol test by @ono-max in #813
- Configure Github Actions to run console tests for macOS by @ono-max in #783
- Update protocol tests by @st0012 in #720
- Enable the test for checking if test fails when debuggee does not exit by @ono-max in #822
- Enable test for checking if
q!
works correctly by @ono-max in #821 - Disable the test for checking if the target program has line numbers remotely by @ono-max in #820
- Make sure to wait TCP/IP server to start up by @ono-max in #827
- Display an accurate message when the test fails by @ono-max in #842
- Added dependabot for GitHub Actions by @hsbt in #843
- wait for the first suspending by @ko1 in #846
- use freeport with --port=0 by @ko1 in #851
- Doc
New Contributors
- @mzagaja made their first contribution in #771
- @WillHalto made their first contribution in #743
- @k0kubun made their first contribution in #804
- @hsbt made their first contribution in #843
- @binarygit made their first contribution in #828
- @shunichi made their first contribution in #856
Full Changelog: v1.6.3...v1.7.0
Thank you for all your contributions.