Releases: ruby/debug
Releases · ruby/debug
v1.10.0
What's Changed
- Remote debugging
- Bug fixes
- do not include
$FILENAME
in globals by @nyz93 in #1105 - Accept colon style Hash#inspect in test/console/print_test.rb by @tompng in #1111
- Fix flaky tests by @nobu in #1116
- Fix irb_test prompt assertion failure by @tompng in #1100
- Improve RUBYOPT's handling in tests by @st0012 in #1097
- allow
puts
without argument by @ko1 in #1124 port_range
lvar is not defined by @ko1 in #1126
- do not include
- Misc
New Contributors
- @nyz93 made their first contribution in #1105
- @fynsta made their first contribution in #1106
- @ozydingo made their first contribution in #1101
- @gerymate made their first contribution in #1119
Full Changelog: v1.9.2...v1.10.0
v1.9.2
What's Changed
- config
- internal
- Stop assuming Array#each is written in C by @k0kubun in #1061
- Add
base64
gem to the dependencies by @y-yagi in #1066 - Support Ruby 3.4's new error message format by @hsbt in #1080
- catch up ruby 3.4.0 error related changes by @ko1 in #1083
- Fix syntax warnings by @casperisfine in #1072
- Drop base64 dependency by @Earlopain in #1071
- Fix ENOENT error when readline is not loaded by @lazyatom in #1073
- Remove and Restore irb configuration like irbrc while irb console tests by @hsbt in #1067
- Use rb_iseqw_to_iseq to get iseq pointer by @peterzhu2118 in #1093
- tests
- Add Ruby 3.3 to CI matrix by @st0012 in #1058
- Use ruby/actions workflow for ruby versions by @m-nakamura145 in #1065
- Separate setup and execution steps in CI by @ono-max in #1088
- Fix flakey test "test_reponse_returns_correct_threads_info" by @ono-max in #1089
- Add Launchable in CI by @ono-max in #1090
- doc
New Contributors
- @Earlopain made their first contribution in #1071
- @lazyatom made their first contribution in #1073
- @m-nakamura145 made their first contribution in #1065
Full Changelog: v1.9.1...v1.9.2
v1.9.1
v1.9.0
This release fixes many issues reported after v1.8.0, introduce IRB integrated console and more.
What's Changed
- Configuration
- CLI
- Require Reline 0.3.8+ to avoid frozen issue by @st0012 in #1020
- Fix prompt list size and colorized code line size to match input line size passed to Reline by @tompng in #1010
- Fix broken command history when executing debugger on irb by @takatea in #997
- Drop patch for Reline 0.2.7 by @st0012 in #1022
- Support IRB console by @st0012 in #1024
- Remote
- Allow TracePoint reentry during DAP's evaluation by @st0012 in #1026
- CDP: Add debuggerId field in the RETURN OBJECT of "Debugger.enable" by @ono-max in #1028
- CDP: disable JavaScript engine based autocompletion by @ono-max in #1029
- Do not use HEAD request if 1 port by @ko1 in #1035
- Show session_name on connection by @ko1 in #1037
- Internal
- Stop assuming Integer#times is written in C by @k0kubun in #1015
- Disable cloned breakpoints trace point events by @vinistock in #1008
- Unfreeze threads for some object-evaluating commands by @st0012 in #1030
- Prevent backtrace from hanging if objects in the backtrace use Thread in inspect by @vinistock in #1038
- Compile iseq_collector.c logic only on CRuby by @eregon in #1039
- Fix compatibility with Fiber Scheduler. by @ioquatix in #987
- Do not make a Fiber for commands by @ko1 in #1044
- support Ruby 3.3 by @ko1 in #1045
- Misc/Doc
- Fix ruby warnings by @y-yagi in #993
- Fix a typo by @makenowjust in #988
- Update
TrapInterceptor
to avoid assigning to an unused variable by @DavidZivk in #985 - remove debug print by @ko1 in #1043
- Minor punctuation and grammar fixes by @ahangarha in #1041
- Tests
- Bump actions/checkout from 3 to 4 by @dependabot in #1014
New Contributors
- @dependabot made their first contribution in #1014
- @tompng made their first contribution in #1010
- @takatea made their first contribution in #997
- @y-yagi made their first contribution in #993
- @DavidZivk made their first contribution in #985
- @eregon made their first contribution in #1039
- @ahangarha made their first contribution in #1041
- @ioquatix made their first contribution in #987
Full Changelog: v1.8.0...v1.9.0
v1.8.0
This release supports TraceInspector functionality on VSCode, and other fixes.
What's Changed
- CLI
- Core
- DAP
- Restart threads on DAP evaluation by @st0012 in #950
- DAP: introduce Rdbg Trace Inspector by @ono-max in #959
- DAP: Access
dropped_trace_cnt
only when@recorder
is not nil by @ono-max in #969 - Improve variable type name request by @adisonlampert in #957
- follow-up #957 by @ko1 in #971
- separate
process
withprocess_request
by @ko1 in #972 - DAP: support
config.rdbgInitialScripts
by @ko1 in #980
- CDP
- Test
- Misc
New Contributors
- @egenerat made their first contribution in #962
- @adisonlampert made their first contribution in #957
- @MasanoriOnishi made their first contribution in #976
Full Changelog: v1.7.2...v1.8.0
v1.7.2
Bug fix release.
What's Changed
- Debug functionality
- Fix arguments for
::Process::daemon
patch by @andyw8 in #905 - Fix bug that "trace line" does not work after stopping trace once by @ono-max in #915
- free terminated ThreadClients by @ko1 in #918
- relax authority check by @ko1 in #937
- remain breakpoints on reloaded files by @ko1 in #944
- restart all threads on eval by @ko1 in #947
- Fix arguments for
- CLI
- Remote
- DAP
- DAP: use
Object#__send__
to avoid name conflicts by @ono-max in #909 - DAP: allow custom request extension in Session class by @ono-max in #912
- DAP: use Mutex when sending response by @ono-max in #914
- DAP: allow custom request extension in ThreadClient class by @ono-max in #913
- DAP: rename the method name of custom request by @ono-max in #940
- DAP: support custom request in session class by @ono-max in #939
- Improve dap command execution by @st0012 in #920
- DAP: echo back the given command by @ko1 in #943
- Add "result" as an argument to custom_dap_request_event method by @ono-max in #945
- DAP: use
- CDP
- Always propagate keyword arguments in WebSocketServer by @Maumagnaguagno in #890
- CDP: Support evaluating expression on non-current frame by @ono-max in #882
- CDP: Support reattaching in Chrome DevTools by @ono-max in #917
- Improved stability for chrome debugging by @josegomezr in #893
- Alias Session send methods by @Maumagnaguagno in #919
- dap/cdp_result -> protocol_result by @ko1 in #942
- CDP: support remote debugging in different environment by @ono-max in #948
- Test
- Support the new message format of NameError in Ruby 3.3 by @mame in #889
- Correct
test_all
task command in Rakefile warning by @andyw8 in #908 - Increase timeout in debug_code by @k0kubun in #911
- Remove redundant raw detach test by @st0012 in #892
- Add test for info consts with an expression by @vinistock in #886
- Update CI matrix Ruby versions by @yamashush in #880
- Avoid raising debuggee not finished error if assertions failed by @st0012 in #923
- Fix test builder (undefined method
debug_code
) by @andyw8 in #927 - Add tests for various variable features by @egiurleo in #885
- skip slow tests by @ko1 in #941
- Improve test process' kill signalling by @st0012 in #925
- Doc
- Add missing close backquote by @makenowjust in #879
- Fix typo in README by @ono-max in #883
- Misc
New Contributors
- @makenowjust made their first contribution in #879
- @mame made their first contribution in #889
- @andyw8 made their first contribution in #908
- @jeremyevans made their first contribution in #895
- @Maumagnaguagno made their first contribution in #890
- @vinistock made their first contribution in #886
- @yamashush made their first contribution in #880
- @josegomezr made their first contribution in #893
- @egiurleo made their first contribution in #885
Full Changelog: v1.7.1...v1.7.2
v1.7.1
This is bug fix release for Ruby 3.2.0.
What's Changed
- suppress warnings about deprecated global variables by @arika in #863
- CDP: Refactor the logic in setup method by @ono-max in #864
- DAP: show
#dump
when pp'ed string is too long by @ko1 in #869 - Use stricter check to skip
prelude.rb
by @st0012 in #867 - skip internal:... file by @ko1 in #872
- DAP: rescue any exception on accessing gvars by @ko1 in #875
- DAP: allow custom request extension by @ko1 in #876
New Contributors
Full Changelog: v1.7.0...v1.7.1
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.
v1.6.3
This is bug fix release.
What's Changed
- Set path to debug.so by @nobu in #733
- fix typo for zsh option by @inspirnathan in #734
- Remove a created file in test by @znz in #736
- fix timing issue by @ko1 in #751
- Update URL example for Chrome in README by @ono-max in #753
- Safe navigate when attempting to compare paths by @rbclark in #759
- Fix markdown syntax in CONTRIBUTING for chrome test by @marianosimone in #765
- 🐛 Fix test generator for protocol tests by @marianosimone in #766
- omit some tests without proper permission to HOME directory. by @nagachika in #768
- check permission errors by creating a file in advance by @nagachika in #769
- use
::Module
fornesting
by @ko1 in #774
New Contributors
- @inspirnathan made their first contribution in #734
- @rbclark made their first contribution in #759
- @marianosimone made their first contribution in #765
- @nagachika made their first contribution in #768
Full Changelog: v1.6.2...v1.6.3
v1.6.2
v1.6.2 is bug fix release.
What's Changed
- Fix rdbg's RUBYOPT handling logic by @st0012 in #716
- Fix typo on dap failed request by @stackmystack in #729
- skip if
RUBY_DEBUG_ENABLE=0
by @ko1 in #731 - Check if HOME can change or not instead of ENV["CI"] by @znz in #732
- Avoid setting @tc in thread_begin event by @st0012 in #727
- Perform disconnection cleanup and return response before killing debuggee by @st0012 in #721
New Contributors
- @stackmystack made their first contribution in #729
- @znz made their first contribution in #732
Full Changelog: v1.6.1...v1.6.2