ruby / debug

Debugging functionality for Ruby
BSD 2-Clause "Simplified" License
1.14k stars 127 forks source link

Support Ruby 3.4's new error message format #1080

Closed hsbt closed 9 months ago

hsbt commented 9 months ago

https://bugs.ruby-lang.org/issues/16495

This change is same as https://github.com/ruby/bigdecimal/pull/286

launchable-app[bot] commented 9 months ago

Launchable Report

:x: Test session #2631638 failedos:ubuntu-latest ruby:head test:protocol
:bell: no issues :heavy_multiplication_x:2 tests failed :heavy_check_mark:62 tests passed

:x: Test session #2631643 failedos:ubuntu-latest ruby:3.2 test:protocol
:bell: no issues :heavy_multiplication_x:1 test failed :heavy_check_mark:63 tests passed

:x: Test session #2631644 failedos:ubuntu-latest ruby:3.1 test:protocol
:bell: no issues :heavy_multiplication_x:1 test failed :heavy_check_mark:63 tests passed

:x: Test session #2631647 failedos:ubuntu-latest ruby:debug test:protocol
:bell: no issues :heavy_multiplication_x:2 tests failed :heavy_check_mark:62 tests passed

:x: Test session #2631660 failedos:ubuntu-latest ruby:head test:console
:bell: no issues :heavy_multiplication_x:2 tests failed :heavy_check_mark:295 tests passed

:x: Test session #2631703 failedos:macos-latest ruby:head test:console
:bell: no issues :heavy_multiplication_x:2 tests failed :heavy_check_mark:295 tests passed

:x: Test session #2631740 failedos:ubuntu-latest ruby:debug test:console
:bell: no issues :heavy_multiplication_x:2 tests failed :heavy_check_mark:295 tests passed

Passed test sessions :white_check_mark: Test session [#2631630](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631630) passed [![os:ubuntu-latest](https://img.shields.io/badge/os-ubuntu--latest-blue.svg)](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631630) [![ruby:3.0](https://img.shields.io/badge/ruby-3.0-blue.svg)](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631630) [![test:test-framework](https://img.shields.io/badge/test-test--framework-blue.svg)](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631630) :white_check_mark: Test session [#2631631](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631631) passed [![os:ubuntu-latest](https://img.shields.io/badge/os-ubuntu--latest-blue.svg)](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631631) [![ruby:head](https://img.shields.io/badge/ruby-head-blue.svg)](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631631) [![test:test-framework](https://img.shields.io/badge/test-test--framework-blue.svg)](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631631) :white_check_mark: Test session [#2631632](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631632) passed [![os:ubuntu-latest](https://img.shields.io/badge/os-ubuntu--latest-blue.svg)](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631632) [![ruby:3.2](https://img.shields.io/badge/ruby-3.2-blue.svg)](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631632) [![test:test-framework](https://img.shields.io/badge/test-test--framework-blue.svg)](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631632) :white_check_mark: Test session [#2631633](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631633) passed [![os:ubuntu-latest](https://img.shields.io/badge/os-ubuntu--latest-blue.svg)](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631633) [![ruby:3.1](https://img.shields.io/badge/ruby-3.1-blue.svg)](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631633) [![test:test-framework](https://img.shields.io/badge/test-test--framework-blue.svg)](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631633) :white_check_mark: Test session [#2631634](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631634) passed [![os:ubuntu-latest](https://img.shields.io/badge/os-ubuntu--latest-blue.svg)](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631634) [![ruby:3.3](https://img.shields.io/badge/ruby-3.3-blue.svg)](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631634) [![test:test-framework](https://img.shields.io/badge/test-test--framework-blue.svg)](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631634) :white_check_mark: Test session [#2631635](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631635) passed [![os:ubuntu-latest](https://img.shields.io/badge/os-ubuntu--latest-blue.svg)](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631635) [![ruby:debug](https://img.shields.io/badge/ruby-debug-blue.svg)](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631635) [![test:test-framework](https://img.shields.io/badge/test-test--framework-blue.svg)](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631635) :white_check_mark: Test session [#2631639](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631639) passed [![os:ubuntu-latest](https://img.shields.io/badge/os-ubuntu--latest-blue.svg)](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631639) [![ruby:3.0](https://img.shields.io/badge/ruby-3.0-blue.svg)](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631639) [![test:protocol](https://img.shields.io/badge/test-protocol-blue.svg)](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631639) :white_check_mark: Test session [#2631640](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631640) passed [![os:ubuntu-latest](https://img.shields.io/badge/os-ubuntu--latest-blue.svg)](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631640) [![ruby:3.3](https://img.shields.io/badge/ruby-3.3-blue.svg)](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631640) [![test:protocol](https://img.shields.io/badge/test-protocol-blue.svg)](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631640) :white_check_mark: Test session [#2631641](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631641) passed [![os:ubuntu-latest](https://img.shields.io/badge/os-ubuntu--latest-blue.svg)](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631641) [![ruby:2.7](https://img.shields.io/badge/ruby-2.7-blue.svg)](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631641) [![test:protocol](https://img.shields.io/badge/test-protocol-blue.svg)](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631641) :white_check_mark: Test session [#2631650](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631650) passed [![os:ubuntu-latest](https://img.shields.io/badge/os-ubuntu--latest-blue.svg)](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631650) [![ruby:2.7](https://img.shields.io/badge/ruby-2.7-blue.svg)](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631650) [![test:console](https://img.shields.io/badge/test-console-blue.svg)](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631650) :white_check_mark: Test session [#2631651](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631651) passed [![os:ubuntu-latest](https://img.shields.io/badge/os-ubuntu--latest-blue.svg)](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631651) [![ruby:3.0](https://img.shields.io/badge/ruby-3.0-blue.svg)](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631651) [![test:console](https://img.shields.io/badge/test-console-blue.svg)](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631651) :white_check_mark: Test session [#2631652](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631652) passed [![os:ubuntu-latest](https://img.shields.io/badge/os-ubuntu--latest-blue.svg)](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631652) [![ruby:3.1](https://img.shields.io/badge/ruby-3.1-blue.svg)](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631652) [![test:console](https://img.shields.io/badge/test-console-blue.svg)](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631652) :white_check_mark: Test session [#2631657](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631657) passed [![os:ubuntu-latest](https://img.shields.io/badge/os-ubuntu--latest-blue.svg)](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631657) [![ruby:3.2](https://img.shields.io/badge/ruby-3.2-blue.svg)](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631657) [![test:console](https://img.shields.io/badge/test-console-blue.svg)](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631657) :white_check_mark: Test session [#2631658](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631658) passed [![os:ubuntu-latest](https://img.shields.io/badge/os-ubuntu--latest-blue.svg)](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631658) [![ruby:3.3](https://img.shields.io/badge/ruby-3.3-blue.svg)](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631658) [![test:console](https://img.shields.io/badge/test-console-blue.svg)](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631658) :white_check_mark: Test session [#2631659](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631659) passed [![os:macos-latest](https://img.shields.io/badge/os-macos--latest-blue.svg)](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631659) [![ruby:3.2](https://img.shields.io/badge/ruby-3.2-blue.svg)](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631659) [![test:console](https://img.shields.io/badge/test-console-blue.svg)](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631659) :white_check_mark: Test session [#2631663](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631663) passed [![os:macos-latest](https://img.shields.io/badge/os-macos--latest-blue.svg)](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631663) [![ruby:3.3](https://img.shields.io/badge/ruby-3.3-blue.svg)](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631663) [![test:console](https://img.shields.io/badge/test-console-blue.svg)](https://app.launchableinc.com/organizations/ruby/workspaces/debug/data/test-sessions/2631663)

Build: 7bb2530960645ab8fa98300b584382de8ff583cb

ko1 commented 9 months ago

I'll submit another PR to catch up Ruby 3.4.