Skip to content

Commit 740129d

Browse files
committed
New upstream version 3.3.0~preview1
1 parent 368677d commit 740129d

2,338 files changed

Lines changed: 162381 additions & 162458 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.bundle/bin/rbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!ruby
2-
load File.realpath("../gems/rbs-2.8.2/exe/rbs", __dir__)
2+
load File.realpath("../gems/rbs-3.1.0/exe/rbs", __dir__)

.bundle/bin/rdbg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!ruby
2-
load File.realpath("../gems/debug-1.7.1/exe/rdbg", __dir__)
2+
load File.realpath("../gems/debug-1.8.0/exe/rdbg", __dir__)

.bundle/bin/typeprof

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!ruby
2-
load File.realpath("../gems/typeprof-0.21.3/exe/typeprof", __dir__)
2+
load File.realpath("../gems/typeprof-0.21.7/exe/typeprof", __dir__)

.bundle/gems/debug-1.7.1/.bundled.debug-1.7.1.gemspec renamed to .bundle/gems/debug-1.8.0/.bundled.debug-1.8.0.gemspec

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
# -*- encoding: utf-8 -*-
2-
# stub: debug 1.7.1 ruby lib
2+
# stub: debug 1.8.0 ruby lib
33
# stub: ext/debug/extconf.rb
44

55
Gem::Specification.new do |s|
66
s.name = "debug".freeze
7-
s.version = "1.7.1"
7+
s.version = "1.8.0"
88

99
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
1010
s.metadata = { "homepage_uri" => "https://github.com/ruby/debug", "source_code_uri" => "https://github.com/ruby/debug" } if s.respond_to? :metadata=
1111
s.require_paths = ["lib".freeze]
1212
s.authors = ["Koichi Sasada".freeze]
1313
s.bindir = "exe".freeze
14-
s.date = "2022-12-22"
14+
s.date = "2023-05-09"
1515
s.description = "Debugging functionality for Ruby. This is completely rewritten debug.rb which was contained by the ancient Ruby versions.".freeze
1616
s.email = ["ko1@atdot.net".freeze]
1717
s.executables = ["rdbg".freeze]
1818
s.extensions = ["ext/debug/extconf.rb".freeze]
19-
s.files = ["CONTRIBUTING.md".freeze, "Gemfile".freeze, "LICENSE.txt".freeze, "README.md".freeze, "Rakefile".freeze, "TODO.md".freeze, "debug.gemspec".freeze, "exe/rdbg".freeze, "ext/debug/debug.c".freeze, "ext/debug/extconf.rb".freeze, "ext/debug/iseq_collector.c".freeze, "lib/debug.rb".freeze, "lib/debug/abbrev_command.rb".freeze, "lib/debug/breakpoint.rb".freeze, "lib/debug/client.rb".freeze, "lib/debug/color.rb".freeze, "lib/debug/config.rb".freeze, "lib/debug/console.rb".freeze, "lib/debug/frame_info.rb".freeze, "lib/debug/local.rb".freeze, "lib/debug/open.rb".freeze, "lib/debug/open_nonstop.rb".freeze, "lib/debug/prelude.rb".freeze, "lib/debug/server.rb".freeze, "lib/debug/server_cdp.rb".freeze, "lib/debug/server_dap.rb".freeze, "lib/debug/session.rb".freeze, "lib/debug/source_repository.rb".freeze, "lib/debug/start.rb".freeze, "lib/debug/thread_client.rb".freeze, "lib/debug/tracer.rb".freeze, "lib/debug/version.rb".freeze, "misc/README.md.erb".freeze]
19+
s.files = ["CONTRIBUTING.md".freeze, "Gemfile".freeze, "LICENSE.txt".freeze, "README.md".freeze, "Rakefile".freeze, "TODO.md".freeze, "debug.gemspec".freeze, "exe/rdbg".freeze, "ext/debug/debug.c".freeze, "ext/debug/extconf.rb".freeze, "ext/debug/iseq_collector.c".freeze, "lib/debug.rb".freeze, "lib/debug/abbrev_command.rb".freeze, "lib/debug/breakpoint.rb".freeze, "lib/debug/client.rb".freeze, "lib/debug/color.rb".freeze, "lib/debug/config.rb".freeze, "lib/debug/console.rb".freeze, "lib/debug/dap_custom/traceInspector.rb".freeze, "lib/debug/frame_info.rb".freeze, "lib/debug/local.rb".freeze, "lib/debug/open.rb".freeze, "lib/debug/open_nonstop.rb".freeze, "lib/debug/prelude.rb".freeze, "lib/debug/server.rb".freeze, "lib/debug/server_cdp.rb".freeze, "lib/debug/server_dap.rb".freeze, "lib/debug/session.rb".freeze, "lib/debug/source_repository.rb".freeze, "lib/debug/start.rb".freeze, "lib/debug/thread_client.rb".freeze, "lib/debug/tracer.rb".freeze, "lib/debug/version.rb".freeze, "misc/README.md.erb".freeze]
2020
s.homepage = "https://github.com/ruby/debug".freeze
2121
s.licenses = ["Ruby".freeze, "BSD-2-Clause".freeze]
2222
s.required_ruby_version = Gem::Requirement.new(">= 2.6.0".freeze)
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,10 +149,10 @@ If the file already exists, **only method** will be added to it.
149149
```ruby
150150
# frozen_string_literal: true
151151

152-
require_relative '../support/test_case'
152+
require_relative '../support/console_test_case'
153153

154154
module DEBUGGER__
155-
class FooTest < TestCase
155+
class FooTest < ConsoleTestCase
156156
def program
157157
<<~RUBY
158158
1| module Foo
Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ New debug.rb has several advantages:
2626
* Support threads (almost done) and ractors (TODO).
2727
* Support suspending and entering to the console debugging with `Ctrl-C` at most of timing.
2828
* Show parameters on backtrace command.
29-
* Support recording & reply debugging.
29+
* Support recording & replay debugging.
3030

3131
# Installation
3232

@@ -476,6 +476,7 @@ config set no_color true
476476
* `RUBY_DEBUG_NO_SIGINT_HOOK` (`no_sigint_hook`): Do not suspend on SIGINT (default: false)
477477
* `RUBY_DEBUG_NO_RELINE` (`no_reline`): Do not use Reline library (default: false)
478478
* `RUBY_DEBUG_NO_HINT` (`no_hint`): Do not show the hint on the REPL (default: false)
479+
* `RUBY_DEBUG_NO_LINENO` (`no_lineno`): Do not show line numbers (default: false)
479480

480481
* CONTROL
481482
* `RUBY_DEBUG_SKIP_PATH` (`skip_path`): Skip showing/entering frames for given paths
@@ -563,9 +564,9 @@ The `<...>` notation means the argument.
563564
* `u[ntil]`
564565
* Similar to `next` command, but only stop later lines or the end of the current frame.
565566
* Similar to gdb's `advance` command.
566-
* `u[ntil] <[file:]line>
567+
* `u[ntil] <[file:]line>`
567568
* Run til the program reaches given location or the end of the current frame.
568-
* `u[ntil] <name>
569+
* `u[ntil] <name>`
569570
* Run til the program invokes a method `<name>`. `<name>` can be a regexp with `/name/`.
570571
* `c` or `cont` or `continue`
571572
* Resume the program.
@@ -908,6 +909,8 @@ Attach mode:
908909
'rdbg -A host port' tries to connect to host:port via TCP/IP.
909910
910911
Other options:
912+
-v Show version number
913+
--version Show version number and exit
911914
-h, --help Print help
912915
--util=NAME Utility mode (used by tools)
913916
--stop-at-load Stop immediately when the debugging feature is loaded.
Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,14 @@ task :check_readme do
3535
end
3636
end
3737

38+
desc "Run debug.gem test-framework tests"
39+
Rake::TestTask.new(:test_test) do |t|
40+
t.test_files = FileList["test/support/*_test.rb"]
41+
end
42+
3843
desc "Run all debugger console related tests"
3944
Rake::TestTask.new(:test_console) do |t|
40-
t.test_files = FileList["test/console/*_test.rb", "test/support/*_test.rb"]
45+
t.test_files = FileList["test/console/*_test.rb"]
4146
end
4247

4348
desc "Run all debugger protocols (CAP & DAP) related tests"
@@ -46,7 +51,7 @@ Rake::TestTask.new(:test_protocol) do |t|
4651
end
4752

4853
task test: 'test_console' do
49-
warn '`rake test` doesn\'t run protocol tests. Use `rake test-all` to test all.'
54+
warn '`rake test` doesn\'t run protocol tests. Use `rake test_all` to test all.'
5055
end
5156

52-
task test_all: [:test_console, :test_protocol]
57+
task test_all: [:test_test, :test_console, :test_protocol]
File renamed without changes.

0 commit comments

Comments
 (0)