Skip to content

Releases: ruby/debug

v1.9.2

29 Mar 08:31
@ko1 ko1
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.9.1...v1.9.2

v1.9.1

22 Dec 03:15
@ko1 ko1
Compare
Choose a tag to compare

Fix small issue to release with Ruby 3.3.0.

What's Changed

Full Changelog: v1.9.0...v1.9.1

v1.9.0

11 Dec 06:02
@ko1 ko1
Compare
Choose a tag to compare

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
  • Tests

New Contributors

Full Changelog: v1.8.0...v1.9.0

v1.8.0

09 May 03:00
@ko1 ko1
Compare
Choose a tag to compare

This release supports TraceInspector functionality on VSCode, and other fixes.

What's Changed

  • CLI
    • Fix info c <exp> when doesn't return a constant by @st0012 in #952
    • no_lineno config optiopn (default: false) by @ko1 in #973
  • Core
    • add Session#exnted_feature API as experimental by @ko1 in #960
    • Move Session#exnted_feature into Session class by @ono-max in #964
    • Enable trap function accept Integer(Non-String) by @MasanoriOnishi in #976
    • work correctly with trap(Integer,...) by @ko1 in #977
  • DAP
  • CDP
    • CDP: send "Debugger.scriptParsed" only when a new file path is found by @ono-max in #953
  • Test
    • Kill a debuggee process fastly if a test fails by @ono-max in #955
    • Retry connecting in test for attaching to CDP server by @ono-max in #956
    • Improve assert_repl_result for CDP by @st0012 in #951
    • Terminate a test early when it fails by @ono-max in #974
  • Misc
    • Fixes typo lengthddsfsd by @egenerat in #962
    • Omit test_finish_0 because it failed with only reline environment by @hsbt in #970

New Contributors

Full Changelog: v1.7.2...v1.8.0

v1.7.2

28 Mar 16:58
@ko1 ko1
Compare
Choose a tag to compare

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
  • CLI
    • -v prints version and do something by @ko1 in #949
  • Remote
    • Fix timing bug on session_server creation by @ko1 in #922
  • 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
  • CDP
  • 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
  • Misc

New Contributors

Full Changelog: v1.7.1...v1.7.2

v1.7.1

22 Dec 18:11
@ko1 ko1
Compare
Choose a tag to compare

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

02 Dec 14:58
@ko1 ko1
Compare
Choose a tag to compare

What's new

This release contains many bug fixes and new features.

  • Debug console
    • until command
    • whereami command
    • info ivars <expr> and info consts <expr>
    • A fewer log output
  • Faster next and finish 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
      • whereami command by @ko1 in #778
      • support info ivars obj by @ko1 in #844
      • extend info command by @ko1 in #847
      • support info consts ClassOrModule by @ko1 in #855
      • abbrev candidates feature by @ko1 in #853
    • irb command
      • Use binding's location on irb command by @k0kubun in #804
      • Pass show_code: false to binding.irb if available by @k0kubun in #808
      • Add skip_src option to LineBreakpoint by @k0kubun in #810
    • Others
  • Configuration
    • fix log level by @ko1 in #823
    • open config by @ko1 in #826
    • config show_evaledsrc by @ko1 in #848
    • RUBY_DEBUG_LAZY boot option by @ko1 in #860
    • show more information for UNIX domain sockets by @ko1 in #861
    • support reset no_sigint_hook config by @ko1 in #858
  • Bug fixes / Performance improvements
  • 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 be localfs == 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
    • Add additional resources section and link to migration guide and cheatsheet by @st0012 in #770
    • Update README.md to show multiple commands execution using binding.b by @binarygit in #828
    • Fix typo in CONTRIBUTING.md by @shunichi in #857

New Contributors

Full Changelog: v1.6.3...v1.7.0

Thank you for all your contributions.

v1.6.3

24 Oct 07:18
@ko1 ko1
Compare
Choose a tag to compare

This is bug fix release.

What's Changed

New Contributors

Full Changelog: v1.6.2...v1.6.3

v1.6.2

10 Aug 02:48
@ko1 ko1
Compare
Choose a tag to compare

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

Full Changelog: v1.6.1...v1.6.2

v1.6.1

13 Jul 02:38
@ko1 ko1
Compare
Choose a tag to compare

This is only bug fixes.

What's Changed

  • fix user defined mthod add hooks by @ko1 in #710
  • Clean up "debug_version.h" by @nobu in #712

Full Changelog: v1.6.0...v1.6.1