shotgrid_api_ruby 0.2.0.4 → 0.2.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/test_and_publish.yml +3 -3
- data/.github/workflows/test_only.yml +7 -5
- data/.ruby-version +1 -1
- data/CHANGELOG.md +54 -2
- data/Gemfile +12 -0
- data/Gemfile.lock +108 -93
- data/bin/prettirun +1 -1
- data/docs/ShotgridApiRuby/Auth/Validator.html +4 -4
- data/docs/ShotgridApiRuby/Auth.html +4 -4
- data/docs/ShotgridApiRuby/Client.html +4 -4
- data/docs/ShotgridApiRuby/Entities/Params/TooComplexFiltersError.html +4 -4
- data/docs/ShotgridApiRuby/Entities/Params.html +41 -41
- data/docs/ShotgridApiRuby/Entities/Schema.html +4 -4
- data/docs/ShotgridApiRuby/Entities/Summarize/Summary.html +8 -8
- data/docs/ShotgridApiRuby/Entities/Summarize.html +9 -9
- data/docs/ShotgridApiRuby/Entities.html +27 -27
- data/docs/ShotgridApiRuby/Entity.html +12 -12
- data/docs/ShotgridApiRuby/Preferences.html +4 -4
- data/docs/ShotgridApiRuby/ServerInfo.html +4 -4
- data/docs/ShotgridApiRuby/ShotgridCallError.html +4 -4
- data/docs/ShotgridApiRuby/Types.html +4 -4
- data/docs/ShotgridApiRuby.html +5 -5
- data/docs/_index.html +5 -5
- data/docs/file.README.html +4 -4
- data/docs/frames.html +1 -1
- data/docs/index.html +4 -4
- data/docs/top-level-namespace.html +4 -4
- data/lib/shotgrid_api_ruby/entities/params.rb +15 -18
- data/lib/shotgrid_api_ruby/entities/summarize.rb +4 -4
- data/lib/shotgrid_api_ruby/entities.rb +23 -23
- data/lib/shotgrid_api_ruby/version.rb +1 -1
- data/shotgrid_api_ruby.gemspec +3 -12
- data/sorbet/rbi/gems/activesupport@7.0.4.2.rbi +18676 -0
- data/sorbet/rbi/gems/ast@2.4.2.rbi +533 -3
- data/sorbet/rbi/gems/backport@1.2.0.rbi +518 -4
- data/sorbet/rbi/gems/benchmark@0.2.1.rbi +588 -0
- data/sorbet/rbi/gems/bundler-audit@0.9.1.rbi +308 -0
- data/sorbet/rbi/gems/byebug@11.1.3.rbi +2065 -28
- data/sorbet/rbi/gems/childprocess@4.1.0.rbi +397 -4
- data/sorbet/rbi/gems/coderay@1.1.3.rbi +2425 -4
- data/sorbet/rbi/gems/concurrent-ruby@1.2.0.rbi +11570 -0
- data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +1083 -0
- data/sorbet/rbi/gems/docile@1.4.0.rbi +335 -13
- data/sorbet/rbi/gems/dotenv@2.8.1.rbi +234 -0
- data/sorbet/rbi/gems/e2mmap@0.1.0.rbi +4 -4
- data/sorbet/rbi/gems/faker@3.1.0.rbi +13380 -0
- data/sorbet/rbi/gems/faraday-em_http@1.0.0.rbi +167 -11
- data/sorbet/rbi/gems/faraday-em_synchrony@1.0.0.rbi +94 -11
- data/sorbet/rbi/gems/faraday-excon@1.1.0.rbi +105 -11
- data/sorbet/rbi/gems/faraday-httpclient@1.0.1.rbi +118 -11
- data/sorbet/rbi/gems/faraday-multipart@1.0.4.rbi +273 -0
- data/sorbet/rbi/gems/faraday-net_http@1.0.1.rbi +106 -11
- data/sorbet/rbi/gems/faraday-net_http_persistent@1.2.0.rbi +92 -11
- data/sorbet/rbi/gems/faraday-patron@1.0.0.rbi +97 -11
- data/sorbet/rbi/gems/faraday-rack@1.0.0.rbi +106 -11
- data/sorbet/rbi/gems/faraday-retry@1.0.3.rbi +227 -0
- data/sorbet/rbi/gems/faraday@1.10.3.rbi +2743 -0
- data/sorbet/rbi/gems/ffi@1.15.5.rbi +8 -0
- data/sorbet/rbi/gems/formatador@1.1.0.rbi +8 -0
- data/sorbet/rbi/gems/guard-compat@1.2.1.rbi +62 -4
- data/sorbet/rbi/gems/guard-rspec@4.7.3.rbi +558 -4
- data/sorbet/rbi/gems/guard@2.18.0.rbi +4 -4
- data/sorbet/rbi/gems/haml@6.1.1.rbi +1588 -0
- data/sorbet/rbi/gems/i18n@1.12.0.rbi +2296 -0
- data/sorbet/rbi/gems/iniparse@1.5.0.rbi +893 -4
- data/sorbet/rbi/gems/jaro_winkler@1.5.4.rbi +15 -4
- data/sorbet/rbi/gems/json@2.6.3.rbi +1533 -0
- data/sorbet/rbi/gems/kramdown-parser-gfm@1.1.0.rbi +129 -4
- data/sorbet/rbi/gems/kramdown@2.4.0.rbi +3271 -0
- data/sorbet/rbi/gems/listen@3.8.0.rbi +1181 -0
- data/sorbet/rbi/gems/lumberjack@1.2.8.rbi +4 -4
- data/sorbet/rbi/gems/method_source@1.0.0.rbi +202 -2
- data/sorbet/rbi/gems/minitest@5.17.0.rbi +1457 -0
- data/sorbet/rbi/gems/multipart-post@2.3.0.rbi +233 -0
- data/sorbet/rbi/gems/nenv@0.3.0.rbi +4 -4
- data/sorbet/rbi/gems/netrc@0.11.0.rbi +158 -0
- data/sorbet/rbi/gems/nokogiri@1.14.0.rbi +7250 -0
- data/sorbet/rbi/gems/notiffany@0.1.3.rbi +4 -4
- data/sorbet/rbi/gems/overcommit@0.60.0.rbi +2399 -0
- data/sorbet/rbi/gems/parallel@1.22.1.rbi +277 -0
- data/sorbet/rbi/gems/parser@3.2.0.0.rbi +6964 -0
- data/sorbet/rbi/gems/prettier@3.2.2.rbi +22 -0
- data/sorbet/rbi/gems/prettier_print@1.2.0.rbi +8 -0
- data/sorbet/rbi/gems/pry-byebug@3.10.1.rbi +1171 -0
- data/sorbet/rbi/gems/pry@0.14.2.rbi +10081 -0
- data/sorbet/rbi/gems/racc@1.6.2.rbi +154 -0
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +408 -0
- data/sorbet/rbi/gems/rake@13.0.6.rbi +2248 -13
- data/sorbet/rbi/gems/rb-fsevent@0.11.2.rbi +8 -0
- data/sorbet/rbi/gems/rb-inotify@0.10.1.rbi +4 -4
- data/sorbet/rbi/gems/rbi@0.0.16.rbi +3008 -0
- data/sorbet/rbi/gems/rbs@2.8.4.rbi +8 -0
- data/sorbet/rbi/gems/regexp_parser@2.6.2.rbi +3481 -0
- data/sorbet/rbi/gems/reverse_markdown@2.1.1.rbi +389 -0
- data/sorbet/rbi/gems/rexml@3.2.5.rbi +4048 -3
- data/sorbet/rbi/gems/rspec-core@3.12.0.rbi +10809 -0
- data/sorbet/rbi/gems/rspec-expectations@3.12.2.rbi +8109 -0
- data/sorbet/rbi/gems/rspec-mocks@3.12.3.rbi +5308 -0
- data/sorbet/rbi/gems/rspec-support@3.12.0.rbi +1620 -0
- data/sorbet/rbi/gems/rspec@3.12.0.rbi +91 -0
- data/sorbet/rbi/gems/rspec_in_context@1.1.0.3.rbi +387 -15
- data/sorbet/rbi/gems/rubocop-ast@1.24.1.rbi +7019 -0
- data/sorbet/rbi/gems/rubocop-faker@1.1.0.rbi +102 -4
- data/sorbet/rbi/gems/rubocop-performance@1.15.2.rbi +3021 -0
- data/sorbet/rbi/gems/rubocop-sorbet@0.6.11.rbi +990 -0
- data/sorbet/rbi/gems/rubocop@1.44.1.rbi +54394 -0
- data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +1235 -4
- data/sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi +4 -4
- data/sorbet/rbi/gems/shellany@0.0.1.rbi +4 -4
- data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +135 -5
- data/sorbet/rbi/gems/simplecov@0.22.0.rbi +2148 -0
- data/sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi +8 -0
- data/sorbet/rbi/gems/solargraph@0.48.0.rbi +9146 -0
- data/sorbet/rbi/gems/spoom@1.1.15.rbi +2383 -0
- data/sorbet/rbi/gems/syntax_tree-haml@3.0.0.rbi +8 -0
- data/sorbet/rbi/gems/syntax_tree-rbs@0.5.1.rbi +8 -0
- data/sorbet/rbi/gems/syntax_tree@5.2.0.rbi +8 -0
- data/sorbet/rbi/gems/tapioca@0.10.5.rbi +3226 -0
- data/sorbet/rbi/gems/temple@0.10.0.rbi +1722 -0
- data/sorbet/rbi/gems/thor@1.2.1.rbi +3956 -0
- data/sorbet/rbi/gems/tilt@2.0.11.rbi +745 -0
- data/sorbet/rbi/gems/timecop@0.9.6.rbi +368 -0
- data/sorbet/rbi/gems/tzinfo@2.0.5.rbi +5914 -0
- data/sorbet/rbi/gems/unicode-display_width@2.4.2.rbi +65 -0
- data/sorbet/rbi/gems/unparser@0.6.7.rbi +4524 -0
- data/sorbet/rbi/gems/vcr@6.1.0.rbi +3020 -0
- data/sorbet/rbi/gems/webrick@1.7.0.rbi +2555 -0
- data/sorbet/rbi/gems/yard-sorbet@0.8.0.rbi +441 -0
- data/sorbet/rbi/gems/yard@0.9.28.rbi +17863 -0
- data/sorbet/rbi/gems/zeitwerk@2.6.6.rbi +950 -0
- data/yarn.lock +3 -3
- metadata +71 -190
- data/sorbet/rbi/gems/activesupport@6.1.4.1.rbi +0 -3770
- data/sorbet/rbi/gems/benchmark@0.1.1.rbi +0 -65
- data/sorbet/rbi/gems/bundler-audit@0.8.0.rbi +0 -8
- data/sorbet/rbi/gems/colorize@0.8.1.rbi +0 -39
- data/sorbet/rbi/gems/commander@4.6.0.rbi +0 -8
- data/sorbet/rbi/gems/concurrent-ruby@1.1.9.rbi +0 -2403
- data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +0 -8
- data/sorbet/rbi/gems/dotenv@2.7.6.rbi +0 -88
- data/sorbet/rbi/gems/faker@2.19.0.rbi +0 -2513
- data/sorbet/rbi/gems/faraday@1.7.0.rbi +0 -783
- data/sorbet/rbi/gems/ffi@1.15.3.rbi +0 -8
- data/sorbet/rbi/gems/formatador@0.3.0.rbi +0 -8
- data/sorbet/rbi/gems/haml@5.2.2.rbi +0 -8
- data/sorbet/rbi/gems/highline@2.0.3.rbi +0 -8
- data/sorbet/rbi/gems/i18n@1.8.10.rbi +0 -584
- data/sorbet/rbi/gems/kramdown@2.3.1.rbi +0 -8
- data/sorbet/rbi/gems/listen@3.7.0.rbi +0 -476
- data/sorbet/rbi/gems/minitest@5.14.4.rbi +0 -344
- data/sorbet/rbi/gems/multipart-post@2.1.1.rbi +0 -69
- data/sorbet/rbi/gems/nokogiri@1.12.3.rbi +0 -8
- data/sorbet/rbi/gems/overcommit@0.58.0.rbi +0 -8
- data/sorbet/rbi/gems/parallel@1.20.1.rbi +0 -8
- data/sorbet/rbi/gems/parlour@6.0.1.rbi +0 -1610
- data/sorbet/rbi/gems/parser@3.0.2.0.rbi +0 -1731
- data/sorbet/rbi/gems/prettier@1.6.1.rbi +0 -8
- data/sorbet/rbi/gems/pry-byebug@3.9.0.rbi +0 -461
- data/sorbet/rbi/gems/pry@0.13.1.rbi +0 -2553
- data/sorbet/rbi/gems/racc@1.5.2.rbi +0 -47
- data/sorbet/rbi/gems/rainbow@3.0.0.rbi +0 -153
- data/sorbet/rbi/gems/rb-fsevent@0.11.0.rbi +0 -8
- data/sorbet/rbi/gems/regexp_parser@2.1.1.rbi +0 -8
- data/sorbet/rbi/gems/reverse_markdown@2.0.0.rbi +0 -8
- data/sorbet/rbi/gems/rspec-core@3.10.1.rbi +0 -2500
- data/sorbet/rbi/gems/rspec-expectations@3.10.1.rbi +0 -1574
- data/sorbet/rbi/gems/rspec-mocks@3.10.2.rbi +0 -1462
- data/sorbet/rbi/gems/rspec-support@3.10.2.rbi +0 -510
- data/sorbet/rbi/gems/rspec@3.10.0.rbi +0 -39
- data/sorbet/rbi/gems/rubocop-ast@1.11.0.rbi +0 -8
- data/sorbet/rbi/gems/rubocop-performance@1.11.5.rbi +0 -8
- data/sorbet/rbi/gems/rubocop-sorbet@0.6.2.rbi +0 -8
- data/sorbet/rbi/gems/rubocop@1.20.0.rbi +0 -8
- data/sorbet/rbi/gems/simplecov@0.21.2.rbi +0 -577
- data/sorbet/rbi/gems/simplecov_json_formatter@0.1.3.rbi +0 -8
- data/sorbet/rbi/gems/solargraph@0.43.0.rbi +0 -8
- data/sorbet/rbi/gems/spoom@1.1.2.rbi +0 -1204
- data/sorbet/rbi/gems/tapioca@0.4.25.rbi +0 -1239
- data/sorbet/rbi/gems/temple@0.8.2.rbi +0 -8
- data/sorbet/rbi/gems/thor@1.1.0.rbi +0 -838
- data/sorbet/rbi/gems/tilt@2.0.10.rbi +0 -8
- data/sorbet/rbi/gems/timecop@0.9.4.rbi +0 -82
- data/sorbet/rbi/gems/tzinfo@2.0.4.rbi +0 -857
- data/sorbet/rbi/gems/unicode-display_width@2.0.0.rbi +0 -8
- data/sorbet/rbi/gems/unparser@0.6.0.rbi +0 -8
- data/sorbet/rbi/gems/vcr@6.0.0.rbi +0 -782
- data/sorbet/rbi/gems/yard-sorbet@0.5.3.rbi +0 -8
- data/sorbet/rbi/gems/yard@0.9.26.rbi +0 -8
- data/sorbet/rbi/gems/zeitwerk@2.4.2.rbi +0 -173
|
@@ -1,20 +1,64 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
|
|
1
3
|
# DO NOT EDIT MANUALLY
|
|
2
4
|
# This is an autogenerated file for types exported from the `byebug` gem.
|
|
3
|
-
# Please instead update this file by running `bin/tapioca
|
|
4
|
-
|
|
5
|
-
# typed: true
|
|
5
|
+
# Please instead update this file by running `bin/tapioca gem byebug`.
|
|
6
6
|
|
|
7
|
+
# Reopen main module to define the library version
|
|
8
|
+
#
|
|
9
|
+
# source://byebug//lib/byebug/helpers/reflection.rb#3
|
|
7
10
|
module Byebug
|
|
8
11
|
include ::Byebug::Helpers::ReflectionHelper
|
|
9
12
|
extend ::Byebug::Helpers::ReflectionHelper
|
|
10
13
|
extend ::Byebug
|
|
11
14
|
|
|
15
|
+
# Debugger's display expressions
|
|
16
|
+
#
|
|
17
|
+
# source://byebug//lib/byebug/core.rb#31
|
|
12
18
|
def displays; end
|
|
19
|
+
|
|
20
|
+
# Debugger's display expressions
|
|
21
|
+
#
|
|
22
|
+
# source://byebug//lib/byebug/core.rb#31
|
|
13
23
|
def displays=(_arg0); end
|
|
24
|
+
|
|
25
|
+
# Configuration file used for startup commands. Default value is .byebugrc
|
|
26
|
+
#
|
|
27
|
+
# source://byebug//lib/byebug/core.rb#25
|
|
14
28
|
def init_file; end
|
|
29
|
+
|
|
30
|
+
# Configuration file used for startup commands. Default value is .byebugrc
|
|
31
|
+
#
|
|
32
|
+
# source://byebug//lib/byebug/core.rb#25
|
|
15
33
|
def init_file=(_arg0); end
|
|
34
|
+
|
|
35
|
+
# Running mode of the debugger. Can be either:
|
|
36
|
+
#
|
|
37
|
+
# * :attached => Attached to a running program through the `byebug` method.
|
|
38
|
+
# * :standalone => Started through `byebug` script.
|
|
39
|
+
# * :off => Ignoring any `byebug` method calls.
|
|
40
|
+
#
|
|
41
|
+
# source://byebug//lib/byebug/core.rb#41
|
|
16
42
|
def mode; end
|
|
43
|
+
|
|
44
|
+
# Running mode of the debugger. Can be either:
|
|
45
|
+
#
|
|
46
|
+
# * :attached => Attached to a running program through the `byebug` method.
|
|
47
|
+
# * :standalone => Started through `byebug` script.
|
|
48
|
+
# * :off => Ignoring any `byebug` method calls.
|
|
49
|
+
#
|
|
50
|
+
# source://byebug//lib/byebug/core.rb#41
|
|
17
51
|
def mode=(_arg0); end
|
|
52
|
+
|
|
53
|
+
# Runs normal byebug initialization scripts.
|
|
54
|
+
#
|
|
55
|
+
# Reads and executes the commands from init file (if any) in the current
|
|
56
|
+
# working directory. This is only done if the current directory is different
|
|
57
|
+
# from your home directory. Thus, you can have more than one init file, one
|
|
58
|
+
# generic in your home directory, and another, specific to the program you
|
|
59
|
+
# are debugging, in the directory where you invoke byebug.
|
|
60
|
+
#
|
|
61
|
+
# source://byebug//lib/byebug/core.rb#52
|
|
18
62
|
def run_init_script; end
|
|
19
63
|
|
|
20
64
|
private
|
|
@@ -29,8 +73,19 @@ module Byebug
|
|
|
29
73
|
def post_mortem=(_arg0); end
|
|
30
74
|
def post_mortem?; end
|
|
31
75
|
def raised_exception; end
|
|
76
|
+
|
|
77
|
+
# List of folders to load rc files from
|
|
78
|
+
#
|
|
79
|
+
# @note Files will be loaded in the order specified here.
|
|
80
|
+
#
|
|
81
|
+
# source://byebug//lib/byebug/core.rb#102
|
|
32
82
|
def rc_dirs; end
|
|
83
|
+
|
|
84
|
+
# Runs a initialization script file
|
|
85
|
+
#
|
|
86
|
+
# source://byebug//lib/byebug/core.rb#91
|
|
33
87
|
def run_rc_file(rc_file); end
|
|
88
|
+
|
|
34
89
|
def start; end
|
|
35
90
|
def started?; end
|
|
36
91
|
def stop; end
|
|
@@ -43,28 +98,72 @@ module Byebug
|
|
|
43
98
|
def verbose?; end
|
|
44
99
|
|
|
45
100
|
class << self
|
|
101
|
+
# The actual port that the control server is started at
|
|
102
|
+
#
|
|
103
|
+
# source://byebug//lib/byebug/remote.rb#25
|
|
46
104
|
def actual_control_port; end
|
|
105
|
+
|
|
106
|
+
# The actual port that the server is started at
|
|
107
|
+
#
|
|
108
|
+
# source://byebug//lib/byebug/remote.rb#20
|
|
47
109
|
def actual_port; end
|
|
110
|
+
|
|
48
111
|
def add_catchpoint(_arg0); end
|
|
112
|
+
|
|
113
|
+
# Starts byebug, and stops at the first line of user's code.
|
|
114
|
+
#
|
|
115
|
+
# source://byebug//lib/byebug/attacher.rb#10
|
|
49
116
|
def attach; end
|
|
117
|
+
|
|
50
118
|
def breakpoints; end
|
|
51
119
|
def catchpoints; end
|
|
52
120
|
def contexts; end
|
|
53
121
|
def current_context; end
|
|
54
122
|
def debug_load(*_arg0); end
|
|
123
|
+
|
|
124
|
+
# Saves information about the unhandled exception and gives a byebug
|
|
125
|
+
# prompt back to the user before program termination.
|
|
126
|
+
#
|
|
127
|
+
# source://byebug//lib/byebug/core.rb#76
|
|
55
128
|
def handle_post_mortem; end
|
|
129
|
+
|
|
130
|
+
# Interrupts the current thread
|
|
131
|
+
#
|
|
132
|
+
# source://byebug//lib/byebug/remote.rb#32
|
|
56
133
|
def interrupt; end
|
|
134
|
+
|
|
135
|
+
# source://byebug//lib/byebug/core.rb#61
|
|
57
136
|
def load_settings; end
|
|
137
|
+
|
|
58
138
|
def lock; end
|
|
139
|
+
|
|
140
|
+
# source://byebug//lib/byebug/remote.rb#59
|
|
59
141
|
def parse_host_and_port(host_port_spec); end
|
|
142
|
+
|
|
60
143
|
def post_mortem=(_arg0); end
|
|
61
144
|
def post_mortem?; end
|
|
62
145
|
def raised_exception; end
|
|
146
|
+
|
|
147
|
+
# source://byebug//lib/byebug/attacher.rb#21
|
|
63
148
|
def spawn(host = T.unsafe(nil), port = T.unsafe(nil)); end
|
|
149
|
+
|
|
64
150
|
def start; end
|
|
151
|
+
|
|
152
|
+
# Connects to the remote byebug
|
|
153
|
+
#
|
|
154
|
+
# source://byebug//lib/byebug/remote.rb#55
|
|
65
155
|
def start_client(host = T.unsafe(nil), port = T.unsafe(nil)); end
|
|
156
|
+
|
|
157
|
+
# Starts the remote server control thread
|
|
158
|
+
#
|
|
159
|
+
# source://byebug//lib/byebug/remote.rb#48
|
|
66
160
|
def start_control(host = T.unsafe(nil), port = T.unsafe(nil)); end
|
|
161
|
+
|
|
162
|
+
# Starts the remote server main thread
|
|
163
|
+
#
|
|
164
|
+
# source://byebug//lib/byebug/remote.rb#39
|
|
67
165
|
def start_server(host = T.unsafe(nil), port = T.unsafe(nil)); end
|
|
166
|
+
|
|
68
167
|
def started?; end
|
|
69
168
|
def stop; end
|
|
70
169
|
def stoppable?; end
|
|
@@ -74,79 +173,161 @@ module Byebug
|
|
|
74
173
|
def unlock; end
|
|
75
174
|
def verbose=(_arg0); end
|
|
76
175
|
def verbose?; end
|
|
176
|
+
|
|
177
|
+
# If in remote mode, wait for the remote connection
|
|
178
|
+
#
|
|
179
|
+
# source://byebug//lib/byebug/remote.rb#17
|
|
77
180
|
def wait_connection; end
|
|
181
|
+
|
|
182
|
+
# If in remote mode, wait for the remote connection
|
|
183
|
+
#
|
|
184
|
+
# source://byebug//lib/byebug/remote.rb#17
|
|
78
185
|
def wait_connection=(_arg0); end
|
|
79
186
|
|
|
80
187
|
private
|
|
81
188
|
|
|
189
|
+
# source://byebug//lib/byebug/remote.rb#66
|
|
82
190
|
def client; end
|
|
191
|
+
|
|
192
|
+
# source://byebug//lib/byebug/remote.rb#76
|
|
83
193
|
def control; end
|
|
194
|
+
|
|
195
|
+
# source://byebug//lib/byebug/remote.rb#70
|
|
84
196
|
def server; end
|
|
85
197
|
end
|
|
86
198
|
end
|
|
87
199
|
|
|
200
|
+
# Setting for automatically invoking IRB on every stop.
|
|
201
|
+
#
|
|
202
|
+
# source://byebug//lib/byebug/settings/autoirb.rb#10
|
|
88
203
|
class Byebug::AutoirbSetting < ::Byebug::Setting
|
|
204
|
+
# @return [AutoirbSetting] a new instance of AutoirbSetting
|
|
205
|
+
#
|
|
206
|
+
# source://byebug//lib/byebug/settings/autoirb.rb#13
|
|
89
207
|
def initialize; end
|
|
90
208
|
|
|
209
|
+
# source://byebug//lib/byebug/settings/autoirb.rb#17
|
|
91
210
|
def banner; end
|
|
211
|
+
|
|
212
|
+
# source://byebug//lib/byebug/settings/autoirb.rb#25
|
|
92
213
|
def value; end
|
|
214
|
+
|
|
215
|
+
# source://byebug//lib/byebug/settings/autoirb.rb#21
|
|
93
216
|
def value=(val); end
|
|
94
217
|
end
|
|
95
218
|
|
|
219
|
+
# source://byebug//lib/byebug/settings/autoirb.rb#11
|
|
96
220
|
Byebug::AutoirbSetting::DEFAULT = T.let(T.unsafe(nil), Integer)
|
|
97
221
|
|
|
222
|
+
# Setting for automatically listing source code on every stop.
|
|
223
|
+
#
|
|
224
|
+
# source://byebug//lib/byebug/settings/autolist.rb#10
|
|
98
225
|
class Byebug::AutolistSetting < ::Byebug::Setting
|
|
226
|
+
# @return [AutolistSetting] a new instance of AutolistSetting
|
|
227
|
+
#
|
|
228
|
+
# source://byebug//lib/byebug/settings/autolist.rb#13
|
|
99
229
|
def initialize; end
|
|
100
230
|
|
|
231
|
+
# source://byebug//lib/byebug/settings/autolist.rb#17
|
|
101
232
|
def banner; end
|
|
233
|
+
|
|
234
|
+
# source://byebug//lib/byebug/settings/autolist.rb#25
|
|
102
235
|
def value; end
|
|
236
|
+
|
|
237
|
+
# source://byebug//lib/byebug/settings/autolist.rb#21
|
|
103
238
|
def value=(val); end
|
|
104
239
|
end
|
|
105
240
|
|
|
241
|
+
# source://byebug//lib/byebug/settings/autolist.rb#11
|
|
106
242
|
Byebug::AutolistSetting::DEFAULT = T.let(T.unsafe(nil), Integer)
|
|
107
243
|
|
|
244
|
+
# Setting for automatically invoking Pry on every stop.
|
|
245
|
+
#
|
|
246
|
+
# source://byebug//lib/byebug/settings/autopry.rb#10
|
|
108
247
|
class Byebug::AutoprySetting < ::Byebug::Setting
|
|
248
|
+
# @return [AutoprySetting] a new instance of AutoprySetting
|
|
249
|
+
#
|
|
250
|
+
# source://byebug//lib/byebug/settings/autopry.rb#13
|
|
109
251
|
def initialize; end
|
|
110
252
|
|
|
253
|
+
# source://byebug//lib/byebug/settings/autopry.rb#17
|
|
111
254
|
def banner; end
|
|
255
|
+
|
|
256
|
+
# source://byebug//lib/byebug/settings/autopry.rb#25
|
|
112
257
|
def value; end
|
|
258
|
+
|
|
259
|
+
# source://byebug//lib/byebug/settings/autopry.rb#21
|
|
113
260
|
def value=(val); end
|
|
114
261
|
end
|
|
115
262
|
|
|
263
|
+
# source://byebug//lib/byebug/settings/autopry.rb#11
|
|
116
264
|
Byebug::AutoprySetting::DEFAULT = T.let(T.unsafe(nil), Integer)
|
|
117
265
|
|
|
266
|
+
# Setting for automatically saving previously entered commands to history
|
|
267
|
+
# when exiting the debugger.
|
|
268
|
+
#
|
|
269
|
+
# source://byebug//lib/byebug/settings/autosave.rb#10
|
|
118
270
|
class Byebug::AutosaveSetting < ::Byebug::Setting
|
|
271
|
+
# source://byebug//lib/byebug/settings/autosave.rb#13
|
|
119
272
|
def banner; end
|
|
120
273
|
end
|
|
121
274
|
|
|
275
|
+
# source://byebug//lib/byebug/settings/autosave.rb#11
|
|
122
276
|
Byebug::AutosaveSetting::DEFAULT = T.let(T.unsafe(nil), TrueClass)
|
|
123
277
|
|
|
278
|
+
# Command to display short paths in file names.
|
|
279
|
+
#
|
|
280
|
+
# For example, when displaying source code information.
|
|
281
|
+
#
|
|
282
|
+
# source://byebug//lib/byebug/settings/basename.rb#11
|
|
124
283
|
class Byebug::BasenameSetting < ::Byebug::Setting
|
|
284
|
+
# source://byebug//lib/byebug/settings/basename.rb#12
|
|
125
285
|
def banner; end
|
|
126
286
|
end
|
|
127
287
|
|
|
288
|
+
# Implements breakpoint functionality
|
|
289
|
+
#
|
|
290
|
+
# source://byebug//lib/byebug/commands/break.rb#13
|
|
128
291
|
class Byebug::BreakCommand < ::Byebug::Command
|
|
129
292
|
include ::Byebug::Helpers::EvalHelper
|
|
130
293
|
include ::Byebug::Helpers::FileHelper
|
|
131
294
|
include ::Byebug::Helpers::ParseHelper
|
|
132
295
|
|
|
296
|
+
# source://byebug//lib/byebug/commands/break.rb#40
|
|
133
297
|
def execute; end
|
|
134
298
|
|
|
135
299
|
private
|
|
136
300
|
|
|
301
|
+
# source://byebug//lib/byebug/commands/break.rb#83
|
|
137
302
|
def add_line_breakpoint(file, line); end
|
|
303
|
+
|
|
304
|
+
# source://byebug//lib/byebug/commands/break.rb#54
|
|
138
305
|
def line_breakpoint(location); end
|
|
306
|
+
|
|
307
|
+
# source://byebug//lib/byebug/commands/break.rb#65
|
|
139
308
|
def method_breakpoint(location); end
|
|
309
|
+
|
|
310
|
+
# source://byebug//lib/byebug/commands/break.rb#74
|
|
140
311
|
def target_object(str); end
|
|
312
|
+
|
|
313
|
+
# source://byebug//lib/byebug/commands/break.rb#104
|
|
141
314
|
def valid_breakpoints_for(path, line); end
|
|
142
315
|
|
|
143
316
|
class << self
|
|
317
|
+
# source://byebug//lib/byebug/commands/break.rb#24
|
|
144
318
|
def description; end
|
|
319
|
+
|
|
320
|
+
# source://byebug//lib/byebug/commands/break.rb#20
|
|
145
321
|
def regexp; end
|
|
322
|
+
|
|
323
|
+
# source://byebug//lib/byebug/commands/break.rb#36
|
|
146
324
|
def short_description; end
|
|
147
325
|
end
|
|
148
326
|
end
|
|
149
327
|
|
|
328
|
+
# Implements breakpoints
|
|
329
|
+
#
|
|
330
|
+
# source://byebug//lib/byebug/breakpoint.rb#7
|
|
150
331
|
class Byebug::Breakpoint
|
|
151
332
|
def initialize(_arg0, _arg1, _arg2); end
|
|
152
333
|
|
|
@@ -160,195 +341,552 @@ class Byebug::Breakpoint
|
|
|
160
341
|
def hit_value; end
|
|
161
342
|
def hit_value=(_arg0); end
|
|
162
343
|
def id; end
|
|
344
|
+
|
|
345
|
+
# Prints all information associated to the breakpoint
|
|
346
|
+
#
|
|
347
|
+
# source://byebug//lib/byebug/breakpoint.rb#105
|
|
163
348
|
def inspect; end
|
|
349
|
+
|
|
164
350
|
def pos; end
|
|
165
351
|
def source; end
|
|
166
352
|
|
|
167
353
|
class << self
|
|
354
|
+
# Adds a new breakpoint
|
|
355
|
+
#
|
|
356
|
+
# @param file [String]
|
|
357
|
+
# @param line [Fixnum]
|
|
358
|
+
# @param expr [String]
|
|
359
|
+
#
|
|
360
|
+
# source://byebug//lib/byebug/breakpoint.rb#29
|
|
168
361
|
def add(file, line, expr = T.unsafe(nil)); end
|
|
362
|
+
|
|
363
|
+
# First breakpoint, in order of creation
|
|
364
|
+
#
|
|
365
|
+
# source://byebug//lib/byebug/breakpoint.rb#11
|
|
169
366
|
def first; end
|
|
367
|
+
|
|
368
|
+
# Last breakpoint, in order of creation
|
|
369
|
+
#
|
|
370
|
+
# source://byebug//lib/byebug/breakpoint.rb#18
|
|
170
371
|
def last; end
|
|
372
|
+
|
|
373
|
+
# True if there's no breakpoints
|
|
374
|
+
#
|
|
375
|
+
# @return [Boolean]
|
|
376
|
+
#
|
|
377
|
+
# source://byebug//lib/byebug/breakpoint.rb#98
|
|
171
378
|
def none?; end
|
|
379
|
+
|
|
380
|
+
# Returns true if a breakpoint could be set in line number +lineno+ in file
|
|
381
|
+
# name +filename.
|
|
382
|
+
#
|
|
383
|
+
# @return [Boolean]
|
|
384
|
+
#
|
|
385
|
+
# source://byebug//lib/byebug/breakpoint.rb#91
|
|
172
386
|
def potential_line?(filename, lineno); end
|
|
387
|
+
|
|
388
|
+
# Returns an array of line numbers in file named +filename+ where
|
|
389
|
+
# breakpoints could be set. The list will contain an entry for each
|
|
390
|
+
# distinct line event call so it is possible (and possibly useful) for a
|
|
391
|
+
# line number appear more than once.
|
|
392
|
+
#
|
|
393
|
+
# @param filename [String] File name to inspect for possible breakpoints
|
|
394
|
+
#
|
|
395
|
+
# source://byebug//lib/byebug/breakpoint.rb#52
|
|
173
396
|
def potential_lines(filename); end
|
|
397
|
+
|
|
398
|
+
# Removes a breakpoint
|
|
399
|
+
#
|
|
400
|
+
# @param id [integer] breakpoint number
|
|
401
|
+
#
|
|
402
|
+
# source://byebug//lib/byebug/breakpoint.rb#40
|
|
174
403
|
def remove(id); end
|
|
175
404
|
|
|
176
405
|
private
|
|
177
406
|
|
|
407
|
+
# source://byebug//lib/byebug/breakpoint.rb#63
|
|
178
408
|
def potential_lines_with_trace_points(iseq, lines); end
|
|
409
|
+
|
|
410
|
+
# source://byebug//lib/byebug/breakpoint.rb#74
|
|
179
411
|
def potential_lines_without_trace_points(iseq, lines); end
|
|
180
412
|
end
|
|
181
413
|
end
|
|
182
414
|
|
|
415
|
+
# Setting to customize the verbosity level for stack frames.
|
|
416
|
+
#
|
|
417
|
+
# source://byebug//lib/byebug/settings/callstyle.rb#9
|
|
183
418
|
class Byebug::CallstyleSetting < ::Byebug::Setting
|
|
419
|
+
# source://byebug//lib/byebug/settings/callstyle.rb#12
|
|
184
420
|
def banner; end
|
|
421
|
+
|
|
422
|
+
# source://byebug//lib/byebug/settings/callstyle.rb#16
|
|
185
423
|
def to_s; end
|
|
186
424
|
end
|
|
187
425
|
|
|
426
|
+
# source://byebug//lib/byebug/settings/callstyle.rb#10
|
|
188
427
|
Byebug::CallstyleSetting::DEFAULT = T.let(T.unsafe(nil), String)
|
|
189
428
|
|
|
429
|
+
# Implements exception catching.
|
|
430
|
+
#
|
|
431
|
+
# Enables the user to catch unhandled assertion when they happen.
|
|
432
|
+
#
|
|
433
|
+
# source://byebug//lib/byebug/commands/catch.rb#12
|
|
190
434
|
class Byebug::CatchCommand < ::Byebug::Command
|
|
191
435
|
include ::Byebug::Helpers::EvalHelper
|
|
192
436
|
|
|
437
|
+
# source://byebug//lib/byebug/commands/catch.rb#38
|
|
193
438
|
def execute; end
|
|
194
439
|
|
|
195
440
|
private
|
|
196
441
|
|
|
442
|
+
# source://byebug//lib/byebug/commands/catch.rb#57
|
|
197
443
|
def add(exception); end
|
|
444
|
+
|
|
445
|
+
# source://byebug//lib/byebug/commands/catch.rb#64
|
|
198
446
|
def clear; end
|
|
447
|
+
|
|
448
|
+
# source://byebug//lib/byebug/commands/catch.rb#68
|
|
199
449
|
def info; end
|
|
450
|
+
|
|
451
|
+
# source://byebug//lib/byebug/commands/catch.rb#50
|
|
200
452
|
def remove(exception); end
|
|
201
453
|
|
|
202
454
|
class << self
|
|
455
|
+
# source://byebug//lib/byebug/commands/catch.rb#21
|
|
203
456
|
def description; end
|
|
457
|
+
|
|
458
|
+
# source://byebug//lib/byebug/commands/catch.rb#17
|
|
204
459
|
def regexp; end
|
|
460
|
+
|
|
461
|
+
# source://byebug//lib/byebug/commands/catch.rb#34
|
|
205
462
|
def short_description; end
|
|
206
463
|
end
|
|
207
464
|
end
|
|
208
465
|
|
|
466
|
+
# Parent class of all byebug commands.
|
|
467
|
+
#
|
|
468
|
+
# Subclass it and name the subclass ending with the word Command to implement
|
|
469
|
+
# your own custom command.
|
|
470
|
+
#
|
|
471
|
+
# class MyCustomCommand < Command
|
|
472
|
+
# def self.regexp
|
|
473
|
+
# /custom_regexp/
|
|
474
|
+
# end
|
|
475
|
+
#
|
|
476
|
+
# def self.description
|
|
477
|
+
# "Custom long desc"
|
|
478
|
+
# end
|
|
479
|
+
#
|
|
480
|
+
# def.short_description
|
|
481
|
+
# "Custom short desc"
|
|
482
|
+
# end
|
|
483
|
+
#
|
|
484
|
+
# def execute
|
|
485
|
+
# # My command's implementation
|
|
486
|
+
# end
|
|
487
|
+
# end
|
|
488
|
+
#
|
|
489
|
+
# @example Define a custom command
|
|
490
|
+
#
|
|
491
|
+
# source://byebug//lib/byebug/command.rb#33
|
|
209
492
|
class Byebug::Command
|
|
210
493
|
extend ::Forwardable
|
|
211
494
|
extend ::Byebug::Helpers::StringHelper
|
|
212
495
|
|
|
496
|
+
# @return [Command] a new instance of Command
|
|
497
|
+
#
|
|
498
|
+
# source://byebug//lib/byebug/command.rb#38
|
|
213
499
|
def initialize(processor, input = T.unsafe(nil)); end
|
|
214
500
|
|
|
501
|
+
# source://byebug//lib/byebug/command.rb#51
|
|
215
502
|
def arguments; end
|
|
216
|
-
|
|
503
|
+
|
|
504
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
|
505
|
+
def confirm(*args, **_arg1, &block); end
|
|
506
|
+
|
|
507
|
+
# source://byebug//lib/byebug/command.rb#43
|
|
217
508
|
def context; end
|
|
218
|
-
|
|
509
|
+
|
|
510
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
|
511
|
+
def errmsg(*args, **_arg1, &block); end
|
|
512
|
+
|
|
513
|
+
# source://byebug//lib/byebug/command.rb#47
|
|
219
514
|
def frame; end
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
def
|
|
223
|
-
|
|
224
|
-
|
|
515
|
+
|
|
516
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
|
517
|
+
def help(*args, **_arg1, &block); end
|
|
518
|
+
|
|
519
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
|
520
|
+
def match(*args, **_arg1, &block); end
|
|
521
|
+
|
|
522
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
|
523
|
+
def pr(*args, **_arg1, &block); end
|
|
524
|
+
|
|
525
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
|
526
|
+
def prc(*args, **_arg1, &block); end
|
|
527
|
+
|
|
528
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
|
529
|
+
def print(*args, **_arg1, &block); end
|
|
530
|
+
|
|
531
|
+
# Returns the value of attribute processor.
|
|
532
|
+
#
|
|
533
|
+
# source://byebug//lib/byebug/command.rb#36
|
|
225
534
|
def processor; end
|
|
226
|
-
|
|
227
|
-
|
|
535
|
+
|
|
536
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
|
537
|
+
def prv(*args, **_arg1, &block); end
|
|
538
|
+
|
|
539
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
|
540
|
+
def puts(*args, **_arg1, &block); end
|
|
228
541
|
|
|
229
542
|
class << self
|
|
543
|
+
# Special methods to allow command filtering in processors
|
|
544
|
+
#
|
|
545
|
+
# source://byebug//lib/byebug/command.rb#69
|
|
230
546
|
def allow_in_control; end
|
|
547
|
+
|
|
548
|
+
# Special methods to allow command filtering in processors
|
|
549
|
+
#
|
|
550
|
+
# source://byebug//lib/byebug/command.rb#69
|
|
231
551
|
def allow_in_control=(_arg0); end
|
|
552
|
+
|
|
553
|
+
# Special methods to allow command filtering in processors
|
|
554
|
+
#
|
|
555
|
+
# source://byebug//lib/byebug/command.rb#69
|
|
232
556
|
def allow_in_post_mortem; end
|
|
557
|
+
|
|
558
|
+
# Special methods to allow command filtering in processors
|
|
559
|
+
#
|
|
560
|
+
# source://byebug//lib/byebug/command.rb#69
|
|
233
561
|
def allow_in_post_mortem=(_arg0); end
|
|
562
|
+
|
|
563
|
+
# source://byebug//lib/byebug/command.rb#73
|
|
234
564
|
def always_run; end
|
|
565
|
+
|
|
566
|
+
# Sets the attribute always_run
|
|
567
|
+
#
|
|
568
|
+
# @param value the value to set the attribute always_run to.
|
|
569
|
+
#
|
|
570
|
+
# source://byebug//lib/byebug/command.rb#71
|
|
235
571
|
def always_run=(_arg0); end
|
|
572
|
+
|
|
573
|
+
# source://byebug//lib/byebug/command.rb#88
|
|
236
574
|
def columnize(width); end
|
|
575
|
+
|
|
576
|
+
# Default help text for a command.
|
|
577
|
+
#
|
|
578
|
+
# source://byebug//lib/byebug/command.rb#99
|
|
237
579
|
def help; end
|
|
580
|
+
|
|
581
|
+
# Command's regexp match against an input
|
|
582
|
+
#
|
|
583
|
+
# source://byebug//lib/byebug/command.rb#106
|
|
238
584
|
def match(input); end
|
|
585
|
+
|
|
586
|
+
# Name of the command, as executed by the user.
|
|
587
|
+
#
|
|
588
|
+
# source://byebug//lib/byebug/command.rb#80
|
|
239
589
|
def to_s; end
|
|
240
590
|
end
|
|
241
591
|
end
|
|
242
592
|
|
|
593
|
+
# Holds an array of subcommands for a command
|
|
594
|
+
#
|
|
595
|
+
# source://byebug//lib/byebug/command_list.rb#9
|
|
243
596
|
class Byebug::CommandList
|
|
244
597
|
include ::Enumerable
|
|
245
598
|
|
|
599
|
+
# @return [CommandList] a new instance of CommandList
|
|
600
|
+
#
|
|
601
|
+
# source://byebug//lib/byebug/command_list.rb#12
|
|
246
602
|
def initialize(commands); end
|
|
247
603
|
|
|
604
|
+
# source://byebug//lib/byebug/command_list.rb#20
|
|
248
605
|
def each; end
|
|
606
|
+
|
|
607
|
+
# source://byebug//lib/byebug/command_list.rb#16
|
|
249
608
|
def match(input); end
|
|
609
|
+
|
|
610
|
+
# source://byebug//lib/byebug/command_list.rb#24
|
|
250
611
|
def to_s; end
|
|
251
612
|
|
|
252
613
|
private
|
|
253
614
|
|
|
615
|
+
# source://byebug//lib/byebug/command_list.rb#30
|
|
254
616
|
def width; end
|
|
255
617
|
end
|
|
256
618
|
|
|
619
|
+
# Custom exception exception to signal "command not found" errors
|
|
620
|
+
#
|
|
621
|
+
# source://byebug//lib/byebug/errors.rb#7
|
|
257
622
|
class Byebug::CommandNotFound < ::NoMethodError
|
|
623
|
+
# @return [CommandNotFound] a new instance of CommandNotFound
|
|
624
|
+
#
|
|
625
|
+
# source://byebug//lib/byebug/errors.rb#8
|
|
258
626
|
def initialize(input, parent = T.unsafe(nil)); end
|
|
259
627
|
|
|
260
628
|
private
|
|
261
629
|
|
|
630
|
+
# source://byebug//lib/byebug/errors.rb#25
|
|
262
631
|
def build_cmd(*args); end
|
|
632
|
+
|
|
633
|
+
# source://byebug//lib/byebug/errors.rb#21
|
|
263
634
|
def help; end
|
|
635
|
+
|
|
636
|
+
# source://byebug//lib/byebug/errors.rb#17
|
|
264
637
|
def name; end
|
|
265
638
|
end
|
|
266
639
|
|
|
640
|
+
# Processes commands in regular mode.
|
|
641
|
+
#
|
|
642
|
+
# You can override this class to create your own command processor that, for
|
|
643
|
+
# example, whitelists only certain commands to be executed.
|
|
644
|
+
#
|
|
645
|
+
# @see PostMortemProcessor for a example
|
|
646
|
+
#
|
|
647
|
+
# source://byebug//lib/byebug/processors/command_processor.rb#17
|
|
267
648
|
class Byebug::CommandProcessor
|
|
268
649
|
include ::Byebug::Helpers::EvalHelper
|
|
269
650
|
extend ::Forwardable
|
|
270
651
|
|
|
652
|
+
# @return [CommandProcessor] a new instance of CommandProcessor
|
|
653
|
+
#
|
|
654
|
+
# source://byebug//lib/byebug/processors/command_processor.rb#23
|
|
271
655
|
def initialize(context, interface = T.unsafe(nil)); end
|
|
272
656
|
|
|
657
|
+
# source://byebug//lib/byebug/processors/command_processor.rb#64
|
|
273
658
|
def at_breakpoint(brkpt); end
|
|
659
|
+
|
|
660
|
+
# source://byebug//lib/byebug/processors/command_processor.rb#70
|
|
274
661
|
def at_catchpoint(exception); end
|
|
662
|
+
|
|
663
|
+
# source://byebug//lib/byebug/processors/command_processor.rb#80
|
|
275
664
|
def at_end; end
|
|
665
|
+
|
|
666
|
+
# source://byebug//lib/byebug/processors/command_processor.rb#54
|
|
276
667
|
def at_line; end
|
|
668
|
+
|
|
669
|
+
# source://byebug//lib/byebug/processors/command_processor.rb#74
|
|
277
670
|
def at_return(return_value); end
|
|
671
|
+
|
|
672
|
+
# source://byebug//lib/byebug/processors/command_processor.rb#58
|
|
278
673
|
def at_tracing; end
|
|
674
|
+
|
|
675
|
+
# Available commands
|
|
676
|
+
#
|
|
677
|
+
# source://byebug//lib/byebug/processors/command_processor.rb#50
|
|
279
678
|
def command_list; end
|
|
280
|
-
|
|
281
|
-
|
|
679
|
+
|
|
680
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
|
681
|
+
def commands(*args, **_arg1, &block); end
|
|
682
|
+
|
|
683
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
|
684
|
+
def confirm(*args, **_arg1, &block); end
|
|
685
|
+
|
|
686
|
+
# Returns the value of attribute context.
|
|
687
|
+
#
|
|
688
|
+
# source://byebug//lib/byebug/processors/command_processor.rb#21
|
|
282
689
|
def context; end
|
|
283
|
-
|
|
284
|
-
|
|
690
|
+
|
|
691
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
|
692
|
+
def errmsg(*args, **_arg1, &block); end
|
|
693
|
+
|
|
694
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
|
695
|
+
def frame(*args, **_arg1, &block); end
|
|
696
|
+
|
|
697
|
+
# Returns the value of attribute interface.
|
|
698
|
+
#
|
|
699
|
+
# source://byebug//lib/byebug/processors/command_processor.rb#21
|
|
285
700
|
def interface; end
|
|
286
|
-
|
|
287
|
-
|
|
701
|
+
|
|
702
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
|
703
|
+
def pr(*args, **_arg1, &block); end
|
|
704
|
+
|
|
705
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
|
706
|
+
def prc(*args, **_arg1, &block); end
|
|
707
|
+
|
|
708
|
+
# Returns the value of attribute prev_line.
|
|
709
|
+
#
|
|
710
|
+
# source://byebug//lib/byebug/processors/command_processor.rb#20
|
|
288
711
|
def prev_line; end
|
|
712
|
+
|
|
713
|
+
# Sets the attribute prev_line
|
|
714
|
+
#
|
|
715
|
+
# @param value the value to set the attribute prev_line to.
|
|
716
|
+
#
|
|
717
|
+
# source://byebug//lib/byebug/processors/command_processor.rb#20
|
|
289
718
|
def prev_line=(_arg0); end
|
|
719
|
+
|
|
720
|
+
# source://byebug//lib/byebug/processors/command_processor.rb#31
|
|
290
721
|
def printer; end
|
|
722
|
+
|
|
723
|
+
# Let the execution continue
|
|
724
|
+
#
|
|
725
|
+
# source://byebug//lib/byebug/processors/command_processor.rb#87
|
|
291
726
|
def proceed!; end
|
|
727
|
+
|
|
728
|
+
# Handle byebug commands.
|
|
729
|
+
#
|
|
730
|
+
# source://byebug//lib/byebug/processors/command_processor.rb#94
|
|
292
731
|
def process_commands; end
|
|
293
|
-
|
|
294
|
-
|
|
732
|
+
|
|
733
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
|
734
|
+
def prv(*args, **_arg1, &block); end
|
|
735
|
+
|
|
736
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
|
737
|
+
def puts(*args, **_arg1, &block); end
|
|
295
738
|
|
|
296
739
|
protected
|
|
297
740
|
|
|
741
|
+
# source://byebug//lib/byebug/processors/command_processor.rb#119
|
|
298
742
|
def after_repl; end
|
|
743
|
+
|
|
744
|
+
# source://byebug//lib/byebug/processors/command_processor.rb#111
|
|
299
745
|
def before_repl; end
|
|
746
|
+
|
|
747
|
+
# Prompt shown before reading a command.
|
|
748
|
+
#
|
|
749
|
+
# source://byebug//lib/byebug/processors/command_processor.rb#107
|
|
300
750
|
def prompt; end
|
|
751
|
+
|
|
752
|
+
# Main byebug's REPL
|
|
753
|
+
#
|
|
754
|
+
# source://byebug//lib/byebug/processors/command_processor.rb#126
|
|
301
755
|
def repl; end
|
|
302
756
|
|
|
303
757
|
private
|
|
304
758
|
|
|
759
|
+
# source://byebug//lib/byebug/processors/command_processor.rb#139
|
|
305
760
|
def auto_cmds_for(run_level); end
|
|
761
|
+
|
|
762
|
+
# Run permanent commands.
|
|
763
|
+
#
|
|
764
|
+
# source://byebug//lib/byebug/processors/command_processor.rb#146
|
|
306
765
|
def run_auto_cmds(run_level); end
|
|
766
|
+
|
|
767
|
+
# Executes the received input
|
|
768
|
+
#
|
|
769
|
+
# Instantiates a command matching the input and runs it. If a matching
|
|
770
|
+
# command is not found, it evaluates the unknown input.
|
|
771
|
+
#
|
|
772
|
+
# source://byebug//lib/byebug/processors/command_processor.rb#158
|
|
307
773
|
def run_cmd(input); end
|
|
774
|
+
|
|
775
|
+
# source://byebug//lib/byebug/processors/command_processor.rb#167
|
|
308
776
|
def safely; end
|
|
309
777
|
end
|
|
310
778
|
|
|
779
|
+
# Implements conditions on breakpoints.
|
|
780
|
+
#
|
|
781
|
+
# Adds the ability to stop on breakpoints only under certain conditions.
|
|
782
|
+
#
|
|
783
|
+
# source://byebug//lib/byebug/commands/condition.rb#12
|
|
311
784
|
class Byebug::ConditionCommand < ::Byebug::Command
|
|
312
785
|
include ::Byebug::Helpers::ParseHelper
|
|
313
786
|
|
|
787
|
+
# source://byebug//lib/byebug/commands/condition.rb#38
|
|
314
788
|
def execute; end
|
|
315
789
|
|
|
316
790
|
class << self
|
|
791
|
+
# source://byebug//lib/byebug/commands/condition.rb#21
|
|
317
792
|
def description; end
|
|
793
|
+
|
|
794
|
+
# source://byebug//lib/byebug/commands/condition.rb#17
|
|
318
795
|
def regexp; end
|
|
796
|
+
|
|
797
|
+
# source://byebug//lib/byebug/commands/condition.rb#34
|
|
319
798
|
def short_description; end
|
|
320
799
|
end
|
|
321
800
|
end
|
|
322
801
|
|
|
802
|
+
# Mantains context information for the debugger and it's the main
|
|
803
|
+
# communication point between the library and the C-extension through the
|
|
804
|
+
# at_breakpoint, at_catchpoint, at_tracing, at_line and at_return callbacks
|
|
805
|
+
#
|
|
806
|
+
# source://byebug//lib/byebug/context.rb#14
|
|
323
807
|
class Byebug::Context
|
|
324
808
|
include ::Byebug::Helpers::FileHelper
|
|
325
809
|
extend ::Byebug::Helpers::PathHelper
|
|
326
810
|
extend ::Forwardable
|
|
327
811
|
|
|
812
|
+
# Breakpoint handler
|
|
813
|
+
#
|
|
814
|
+
# source://byebug//lib/byebug/context.rb#113
|
|
328
815
|
def at_breakpoint(breakpoint); end
|
|
816
|
+
|
|
817
|
+
# Catchpoint handler
|
|
818
|
+
#
|
|
819
|
+
# source://byebug//lib/byebug/context.rb#120
|
|
329
820
|
def at_catchpoint(exception); end
|
|
821
|
+
|
|
822
|
+
# End of class definition handler
|
|
823
|
+
#
|
|
824
|
+
# source://byebug//lib/byebug/context.rb#136
|
|
330
825
|
def at_end; end
|
|
826
|
+
|
|
827
|
+
# Line handler
|
|
828
|
+
#
|
|
829
|
+
# source://byebug//lib/byebug/context.rb#94
|
|
331
830
|
def at_line; end
|
|
831
|
+
|
|
832
|
+
# Return handler
|
|
833
|
+
#
|
|
834
|
+
# source://byebug//lib/byebug/context.rb#127
|
|
332
835
|
def at_return(return_value); end
|
|
836
|
+
|
|
837
|
+
# Tracing handler
|
|
838
|
+
#
|
|
839
|
+
# source://byebug//lib/byebug/context.rb#104
|
|
333
840
|
def at_tracing; end
|
|
841
|
+
|
|
334
842
|
def backtrace; end
|
|
335
843
|
def dead?; end
|
|
336
|
-
|
|
844
|
+
|
|
845
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
|
846
|
+
def file(*args, **_arg1, &block); end
|
|
847
|
+
|
|
848
|
+
# Reader for the current frame
|
|
849
|
+
#
|
|
850
|
+
# source://byebug//lib/byebug/context.rb#46
|
|
337
851
|
def frame; end
|
|
852
|
+
|
|
853
|
+
# Writer for the current frame
|
|
854
|
+
#
|
|
855
|
+
# source://byebug//lib/byebug/context.rb#53
|
|
338
856
|
def frame=(pos); end
|
|
857
|
+
|
|
339
858
|
def frame_binding(*_arg0); end
|
|
340
859
|
def frame_class(*_arg0); end
|
|
341
860
|
def frame_file(*_arg0); end
|
|
342
861
|
def frame_line(*_arg0); end
|
|
343
862
|
def frame_method(*_arg0); end
|
|
344
863
|
def frame_self(*_arg0); end
|
|
864
|
+
|
|
865
|
+
# Current file, line and source code information
|
|
866
|
+
#
|
|
867
|
+
# source://byebug//lib/byebug/context.rb#70
|
|
345
868
|
def full_location; end
|
|
869
|
+
|
|
346
870
|
def ignored?; end
|
|
871
|
+
|
|
872
|
+
# source://byebug//lib/byebug/context.rb#87
|
|
347
873
|
def interrupt; end
|
|
348
|
-
|
|
874
|
+
|
|
875
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
|
876
|
+
def line(*args, **_arg1, &block); end
|
|
877
|
+
|
|
878
|
+
# Current file & line information
|
|
879
|
+
#
|
|
880
|
+
# source://byebug//lib/byebug/context.rb#63
|
|
349
881
|
def location; end
|
|
882
|
+
|
|
350
883
|
def resume; end
|
|
884
|
+
|
|
885
|
+
# Context's stack size
|
|
886
|
+
#
|
|
887
|
+
# source://byebug//lib/byebug/context.rb#79
|
|
351
888
|
def stack_size; end
|
|
889
|
+
|
|
352
890
|
def step_into(*_arg0); end
|
|
353
891
|
def step_out(*_arg0); end
|
|
354
892
|
def step_over(*_arg0); end
|
|
@@ -363,50 +901,123 @@ class Byebug::Context
|
|
|
363
901
|
|
|
364
902
|
private
|
|
365
903
|
|
|
904
|
+
# Tells whether a file is ignored by the debugger.
|
|
905
|
+
#
|
|
906
|
+
# @param path [String] filename to be checked.
|
|
907
|
+
# @return [Boolean]
|
|
908
|
+
#
|
|
909
|
+
# source://byebug//lib/byebug/context.rb#153
|
|
366
910
|
def ignored_file?(path); end
|
|
911
|
+
|
|
912
|
+
# source://byebug//lib/byebug/context.rb#144
|
|
367
913
|
def processor; end
|
|
368
914
|
|
|
369
915
|
class << self
|
|
916
|
+
# List of files byebug will ignore while debugging
|
|
917
|
+
#
|
|
918
|
+
# source://byebug//lib/byebug/context.rb#25
|
|
370
919
|
def ignored_files; end
|
|
920
|
+
|
|
921
|
+
# Sets the attribute ignored_files
|
|
922
|
+
#
|
|
923
|
+
# @param value the value to set the attribute ignored_files to.
|
|
924
|
+
#
|
|
925
|
+
# source://byebug//lib/byebug/context.rb#20
|
|
371
926
|
def ignored_files=(_arg0); end
|
|
927
|
+
|
|
928
|
+
# source://byebug//lib/byebug/context.rb#32
|
|
372
929
|
def interface; end
|
|
930
|
+
|
|
931
|
+
# Sets the attribute interface
|
|
932
|
+
#
|
|
933
|
+
# @param value the value to set the attribute interface to.
|
|
934
|
+
#
|
|
935
|
+
# source://byebug//lib/byebug/context.rb#30
|
|
373
936
|
def interface=(_arg0); end
|
|
937
|
+
|
|
938
|
+
# source://byebug//lib/byebug/context.rb#38
|
|
374
939
|
def processor; end
|
|
940
|
+
|
|
941
|
+
# Sets the attribute processor
|
|
942
|
+
#
|
|
943
|
+
# @param value the value to set the attribute processor to.
|
|
944
|
+
#
|
|
945
|
+
# source://byebug//lib/byebug/context.rb#36
|
|
375
946
|
def processor=(_arg0); end
|
|
376
947
|
end
|
|
377
948
|
end
|
|
378
949
|
|
|
950
|
+
# Implements the continue command.
|
|
951
|
+
#
|
|
952
|
+
# Allows the user to continue execution until the next stopping point, a
|
|
953
|
+
# specific line number or until program termination.
|
|
954
|
+
#
|
|
955
|
+
# source://byebug//lib/byebug/commands/continue.rb#13
|
|
379
956
|
class Byebug::ContinueCommand < ::Byebug::Command
|
|
380
957
|
include ::Byebug::Helpers::ParseHelper
|
|
381
958
|
|
|
959
|
+
# source://byebug//lib/byebug/commands/continue.rb#37
|
|
382
960
|
def execute; end
|
|
383
961
|
|
|
384
962
|
private
|
|
385
963
|
|
|
964
|
+
# source://byebug//lib/byebug/commands/continue.rb#64
|
|
386
965
|
def modifier; end
|
|
966
|
+
|
|
967
|
+
# @return [Boolean]
|
|
968
|
+
#
|
|
969
|
+
# source://byebug//lib/byebug/commands/continue.rb#60
|
|
387
970
|
def unconditionally?; end
|
|
971
|
+
|
|
972
|
+
# @return [Boolean]
|
|
973
|
+
#
|
|
974
|
+
# source://byebug//lib/byebug/commands/continue.rb#56
|
|
388
975
|
def until_line?; end
|
|
389
976
|
|
|
390
977
|
class << self
|
|
978
|
+
# source://byebug//lib/byebug/commands/continue.rb#20
|
|
391
979
|
def description; end
|
|
980
|
+
|
|
981
|
+
# source://byebug//lib/byebug/commands/continue.rb#16
|
|
392
982
|
def regexp; end
|
|
983
|
+
|
|
984
|
+
# source://byebug//lib/byebug/commands/continue.rb#33
|
|
393
985
|
def short_description; end
|
|
394
986
|
end
|
|
395
987
|
end
|
|
396
988
|
|
|
989
|
+
# Processes commands when there's not program running
|
|
990
|
+
#
|
|
991
|
+
# source://byebug//lib/byebug/processors/control_processor.rb#9
|
|
397
992
|
class Byebug::ControlProcessor < ::Byebug::CommandProcessor
|
|
993
|
+
# Available commands
|
|
994
|
+
#
|
|
995
|
+
# source://byebug//lib/byebug/processors/control_processor.rb#13
|
|
398
996
|
def commands; end
|
|
997
|
+
|
|
998
|
+
# Prompt shown before reading a command.
|
|
999
|
+
#
|
|
1000
|
+
# source://byebug//lib/byebug/processors/control_processor.rb#20
|
|
399
1001
|
def prompt; end
|
|
400
1002
|
end
|
|
401
1003
|
|
|
1004
|
+
# Spawns a subdebugger and evaluates the given expression
|
|
1005
|
+
#
|
|
1006
|
+
# source://byebug//lib/byebug/commands/debug.rb#10
|
|
402
1007
|
class Byebug::DebugCommand < ::Byebug::Command
|
|
403
1008
|
include ::Byebug::Helpers::EvalHelper
|
|
404
1009
|
|
|
1010
|
+
# source://byebug//lib/byebug/commands/debug.rb#32
|
|
405
1011
|
def execute; end
|
|
406
1012
|
|
|
407
1013
|
class << self
|
|
1014
|
+
# source://byebug//lib/byebug/commands/debug.rb#17
|
|
408
1015
|
def description; end
|
|
1016
|
+
|
|
1017
|
+
# source://byebug//lib/byebug/commands/debug.rb#13
|
|
409
1018
|
def regexp; end
|
|
1019
|
+
|
|
1020
|
+
# source://byebug//lib/byebug/commands/debug.rb#28
|
|
410
1021
|
def short_description; end
|
|
411
1022
|
end
|
|
412
1023
|
end
|
|
@@ -417,1153 +1028,2579 @@ class Byebug::DebugThread < ::Thread
|
|
|
417
1028
|
end
|
|
418
1029
|
end
|
|
419
1030
|
|
|
1031
|
+
# Implements breakpoint deletion.
|
|
1032
|
+
#
|
|
1033
|
+
# source://byebug//lib/byebug/commands/delete.rb#10
|
|
420
1034
|
class Byebug::DeleteCommand < ::Byebug::Command
|
|
421
1035
|
include ::Byebug::Helpers::ParseHelper
|
|
422
1036
|
|
|
1037
|
+
# source://byebug//lib/byebug/commands/delete.rb#35
|
|
423
1038
|
def execute; end
|
|
424
1039
|
|
|
425
1040
|
class << self
|
|
1041
|
+
# source://byebug//lib/byebug/commands/delete.rb#20
|
|
426
1042
|
def description; end
|
|
1043
|
+
|
|
1044
|
+
# source://byebug//lib/byebug/commands/delete.rb#16
|
|
427
1045
|
def regexp; end
|
|
1046
|
+
|
|
1047
|
+
# source://byebug//lib/byebug/commands/delete.rb#31
|
|
428
1048
|
def short_description; end
|
|
429
1049
|
end
|
|
430
1050
|
end
|
|
431
1051
|
|
|
1052
|
+
# Disabling custom display expressions or breakpoints.
|
|
1053
|
+
#
|
|
1054
|
+
# source://byebug//lib/byebug/commands/disable/breakpoints.rb#9
|
|
432
1055
|
class Byebug::DisableCommand < ::Byebug::Command
|
|
433
1056
|
include ::Byebug::Subcommands
|
|
434
1057
|
extend ::Byebug::Helpers::ReflectionHelper
|
|
435
1058
|
extend ::Byebug::Subcommands::ClassMethods
|
|
436
1059
|
|
|
437
1060
|
class << self
|
|
1061
|
+
# source://byebug//lib/byebug/commands/disable.rb#21
|
|
438
1062
|
def description; end
|
|
1063
|
+
|
|
1064
|
+
# source://byebug//lib/byebug/commands/disable.rb#17
|
|
439
1065
|
def regexp; end
|
|
1066
|
+
|
|
1067
|
+
# source://byebug//lib/byebug/commands/disable.rb#29
|
|
440
1068
|
def short_description; end
|
|
441
1069
|
end
|
|
442
1070
|
end
|
|
443
1071
|
|
|
1072
|
+
# Disables all or specific breakpoints
|
|
1073
|
+
#
|
|
1074
|
+
# source://byebug//lib/byebug/commands/disable/breakpoints.rb#13
|
|
444
1075
|
class Byebug::DisableCommand::BreakpointsCommand < ::Byebug::Command
|
|
445
1076
|
include ::Byebug::Helpers::ParseHelper
|
|
446
1077
|
include ::Byebug::Helpers::ToggleHelper
|
|
447
1078
|
|
|
1079
|
+
# source://byebug//lib/byebug/commands/disable/breakpoints.rb#37
|
|
448
1080
|
def execute; end
|
|
449
1081
|
|
|
450
1082
|
class << self
|
|
1083
|
+
# source://byebug//lib/byebug/commands/disable/breakpoints.rb#22
|
|
451
1084
|
def description; end
|
|
1085
|
+
|
|
1086
|
+
# source://byebug//lib/byebug/commands/disable/breakpoints.rb#18
|
|
452
1087
|
def regexp; end
|
|
1088
|
+
|
|
1089
|
+
# source://byebug//lib/byebug/commands/disable/breakpoints.rb#33
|
|
453
1090
|
def short_description; end
|
|
454
1091
|
end
|
|
455
1092
|
end
|
|
456
1093
|
|
|
1094
|
+
# Enables all or specific displays
|
|
1095
|
+
#
|
|
1096
|
+
# source://byebug//lib/byebug/commands/disable/display.rb#13
|
|
457
1097
|
class Byebug::DisableCommand::DisplayCommand < ::Byebug::Command
|
|
458
1098
|
include ::Byebug::Helpers::ParseHelper
|
|
459
1099
|
include ::Byebug::Helpers::ToggleHelper
|
|
460
1100
|
|
|
1101
|
+
# source://byebug//lib/byebug/commands/disable/display.rb#38
|
|
461
1102
|
def execute; end
|
|
462
1103
|
|
|
463
1104
|
class << self
|
|
1105
|
+
# source://byebug//lib/byebug/commands/disable/display.rb#22
|
|
464
1106
|
def description; end
|
|
1107
|
+
|
|
1108
|
+
# source://byebug//lib/byebug/commands/disable/display.rb#18
|
|
465
1109
|
def regexp; end
|
|
1110
|
+
|
|
1111
|
+
# source://byebug//lib/byebug/commands/disable/display.rb#34
|
|
466
1112
|
def short_description; end
|
|
467
1113
|
end
|
|
468
1114
|
end
|
|
469
1115
|
|
|
1116
|
+
# Custom expressions to be displayed every time the debugger stops.
|
|
1117
|
+
#
|
|
1118
|
+
# source://byebug//lib/byebug/commands/display.rb#10
|
|
470
1119
|
class Byebug::DisplayCommand < ::Byebug::Command
|
|
471
1120
|
include ::Byebug::Helpers::EvalHelper
|
|
472
1121
|
|
|
1122
|
+
# source://byebug//lib/byebug/commands/display.rb#35
|
|
473
1123
|
def execute; end
|
|
474
1124
|
|
|
475
1125
|
private
|
|
476
1126
|
|
|
1127
|
+
# source://byebug//lib/byebug/commands/display.rb#44
|
|
477
1128
|
def display_expression(exp); end
|
|
1129
|
+
|
|
1130
|
+
# source://byebug//lib/byebug/commands/display.rb#60
|
|
478
1131
|
def eval_expr(expression); end
|
|
1132
|
+
|
|
1133
|
+
# source://byebug//lib/byebug/commands/display.rb#50
|
|
479
1134
|
def print_display_expressions; end
|
|
480
1135
|
|
|
481
1136
|
class << self
|
|
1137
|
+
# source://byebug//lib/byebug/commands/display.rb#20
|
|
482
1138
|
def description; end
|
|
1139
|
+
|
|
1140
|
+
# source://byebug//lib/byebug/commands/display.rb#16
|
|
483
1141
|
def regexp; end
|
|
1142
|
+
|
|
1143
|
+
# source://byebug//lib/byebug/commands/display.rb#31
|
|
484
1144
|
def short_description; end
|
|
485
1145
|
end
|
|
486
1146
|
end
|
|
487
1147
|
|
|
1148
|
+
# Move the current frame down in the backtrace.
|
|
1149
|
+
#
|
|
1150
|
+
# source://byebug//lib/byebug/commands/down.rb#12
|
|
488
1151
|
class Byebug::DownCommand < ::Byebug::Command
|
|
489
1152
|
include ::Byebug::Helpers::FrameHelper
|
|
490
1153
|
include ::Byebug::Helpers::ParseHelper
|
|
491
1154
|
|
|
1155
|
+
# source://byebug//lib/byebug/commands/down.rb#36
|
|
492
1156
|
def execute; end
|
|
493
1157
|
|
|
494
1158
|
class << self
|
|
1159
|
+
# source://byebug//lib/byebug/commands/down.rb#22
|
|
495
1160
|
def description; end
|
|
1161
|
+
|
|
1162
|
+
# source://byebug//lib/byebug/commands/down.rb#18
|
|
496
1163
|
def regexp; end
|
|
1164
|
+
|
|
1165
|
+
# source://byebug//lib/byebug/commands/down.rb#32
|
|
497
1166
|
def short_description; end
|
|
498
1167
|
end
|
|
499
1168
|
end
|
|
500
1169
|
|
|
1170
|
+
# Edit a file from byebug's prompt.
|
|
1171
|
+
#
|
|
1172
|
+
# source://byebug//lib/byebug/commands/edit.rb#9
|
|
501
1173
|
class Byebug::EditCommand < ::Byebug::Command
|
|
1174
|
+
# source://byebug//lib/byebug/commands/edit.rb#33
|
|
502
1175
|
def execute; end
|
|
503
1176
|
|
|
504
1177
|
private
|
|
505
1178
|
|
|
1179
|
+
# source://byebug//lib/byebug/commands/edit.rb#65
|
|
506
1180
|
def edit_error(type, file); end
|
|
1181
|
+
|
|
1182
|
+
# source://byebug//lib/byebug/commands/edit.rb#61
|
|
507
1183
|
def editor; end
|
|
1184
|
+
|
|
1185
|
+
# source://byebug//lib/byebug/commands/edit.rb#45
|
|
508
1186
|
def location(matched); end
|
|
509
1187
|
|
|
510
1188
|
class << self
|
|
1189
|
+
# source://byebug//lib/byebug/commands/edit.rb#17
|
|
511
1190
|
def description; end
|
|
1191
|
+
|
|
1192
|
+
# source://byebug//lib/byebug/commands/edit.rb#13
|
|
512
1193
|
def regexp; end
|
|
1194
|
+
|
|
1195
|
+
# source://byebug//lib/byebug/commands/edit.rb#29
|
|
513
1196
|
def short_description; end
|
|
514
1197
|
end
|
|
515
1198
|
end
|
|
516
1199
|
|
|
1200
|
+
# Enabling custom display expressions or breakpoints.
|
|
1201
|
+
#
|
|
1202
|
+
# source://byebug//lib/byebug/commands/enable/breakpoints.rb#9
|
|
517
1203
|
class Byebug::EnableCommand < ::Byebug::Command
|
|
518
1204
|
include ::Byebug::Subcommands
|
|
519
1205
|
extend ::Byebug::Helpers::ReflectionHelper
|
|
520
1206
|
extend ::Byebug::Subcommands::ClassMethods
|
|
521
1207
|
|
|
522
1208
|
class << self
|
|
1209
|
+
# source://byebug//lib/byebug/commands/enable.rb#21
|
|
523
1210
|
def description; end
|
|
1211
|
+
|
|
1212
|
+
# source://byebug//lib/byebug/commands/enable.rb#17
|
|
524
1213
|
def regexp; end
|
|
1214
|
+
|
|
1215
|
+
# source://byebug//lib/byebug/commands/enable.rb#29
|
|
525
1216
|
def short_description; end
|
|
526
1217
|
end
|
|
527
1218
|
end
|
|
528
1219
|
|
|
1220
|
+
# Enables all or specific breakpoints
|
|
1221
|
+
#
|
|
1222
|
+
# source://byebug//lib/byebug/commands/enable/breakpoints.rb#13
|
|
529
1223
|
class Byebug::EnableCommand::BreakpointsCommand < ::Byebug::Command
|
|
530
1224
|
include ::Byebug::Helpers::ParseHelper
|
|
531
1225
|
include ::Byebug::Helpers::ToggleHelper
|
|
532
1226
|
|
|
1227
|
+
# source://byebug//lib/byebug/commands/enable/breakpoints.rb#37
|
|
533
1228
|
def execute; end
|
|
534
1229
|
|
|
535
1230
|
class << self
|
|
1231
|
+
# source://byebug//lib/byebug/commands/enable/breakpoints.rb#22
|
|
536
1232
|
def description; end
|
|
1233
|
+
|
|
1234
|
+
# source://byebug//lib/byebug/commands/enable/breakpoints.rb#18
|
|
537
1235
|
def regexp; end
|
|
1236
|
+
|
|
1237
|
+
# source://byebug//lib/byebug/commands/enable/breakpoints.rb#33
|
|
538
1238
|
def short_description; end
|
|
539
1239
|
end
|
|
540
1240
|
end
|
|
541
1241
|
|
|
1242
|
+
# Enables all or specific displays
|
|
1243
|
+
#
|
|
1244
|
+
# source://byebug//lib/byebug/commands/enable/display.rb#13
|
|
542
1245
|
class Byebug::EnableCommand::DisplayCommand < ::Byebug::Command
|
|
543
1246
|
include ::Byebug::Helpers::ParseHelper
|
|
544
1247
|
include ::Byebug::Helpers::ToggleHelper
|
|
545
1248
|
|
|
1249
|
+
# source://byebug//lib/byebug/commands/enable/display.rb#38
|
|
546
1250
|
def execute; end
|
|
547
1251
|
|
|
548
1252
|
class << self
|
|
1253
|
+
# source://byebug//lib/byebug/commands/enable/display.rb#22
|
|
549
1254
|
def description; end
|
|
1255
|
+
|
|
1256
|
+
# source://byebug//lib/byebug/commands/enable/display.rb#18
|
|
550
1257
|
def regexp; end
|
|
1258
|
+
|
|
1259
|
+
# source://byebug//lib/byebug/commands/enable/display.rb#34
|
|
551
1260
|
def short_description; end
|
|
552
1261
|
end
|
|
553
1262
|
end
|
|
554
1263
|
|
|
1264
|
+
# Implements the finish functionality.
|
|
1265
|
+
#
|
|
1266
|
+
# Allows the user to continue execution until certain frames are finished.
|
|
1267
|
+
#
|
|
1268
|
+
# source://byebug//lib/byebug/commands/finish.rb#12
|
|
555
1269
|
class Byebug::FinishCommand < ::Byebug::Command
|
|
556
1270
|
include ::Byebug::Helpers::ParseHelper
|
|
557
1271
|
|
|
1272
|
+
# source://byebug//lib/byebug/commands/finish.rb#37
|
|
558
1273
|
def execute; end
|
|
559
1274
|
|
|
560
1275
|
private
|
|
561
1276
|
|
|
1277
|
+
# source://byebug//lib/byebug/commands/finish.rb#53
|
|
562
1278
|
def max_frames; end
|
|
563
1279
|
|
|
564
1280
|
class << self
|
|
1281
|
+
# source://byebug//lib/byebug/commands/finish.rb#21
|
|
565
1282
|
def description; end
|
|
1283
|
+
|
|
1284
|
+
# source://byebug//lib/byebug/commands/finish.rb#17
|
|
566
1285
|
def regexp; end
|
|
1286
|
+
|
|
1287
|
+
# source://byebug//lib/byebug/commands/finish.rb#33
|
|
567
1288
|
def short_description; end
|
|
568
1289
|
end
|
|
569
1290
|
end
|
|
570
1291
|
|
|
1292
|
+
# Represents a frame in the stack trace
|
|
1293
|
+
#
|
|
1294
|
+
# source://byebug//lib/byebug/frame.rb#9
|
|
571
1295
|
class Byebug::Frame
|
|
572
1296
|
include ::Byebug::Helpers::FileHelper
|
|
573
1297
|
|
|
1298
|
+
# @return [Frame] a new instance of Frame
|
|
1299
|
+
#
|
|
1300
|
+
# source://byebug//lib/byebug/frame.rb#14
|
|
574
1301
|
def initialize(context, pos); end
|
|
575
1302
|
|
|
1303
|
+
# source://byebug//lib/byebug/frame.rb#31
|
|
576
1304
|
def _binding; end
|
|
1305
|
+
|
|
1306
|
+
# source://byebug//lib/byebug/frame.rb#35
|
|
577
1307
|
def _class; end
|
|
1308
|
+
|
|
1309
|
+
# source://byebug//lib/byebug/frame.rb#39
|
|
578
1310
|
def _method; end
|
|
1311
|
+
|
|
1312
|
+
# source://byebug//lib/byebug/frame.rb#27
|
|
579
1313
|
def _self; end
|
|
1314
|
+
|
|
1315
|
+
# Gets current method arguments for the frame.
|
|
1316
|
+
#
|
|
1317
|
+
# source://byebug//lib/byebug/frame.rb#62
|
|
580
1318
|
def args; end
|
|
1319
|
+
|
|
1320
|
+
# Checks whether the frame is a c-frame
|
|
1321
|
+
#
|
|
1322
|
+
# @return [Boolean]
|
|
1323
|
+
#
|
|
1324
|
+
# source://byebug//lib/byebug/frame.rb#141
|
|
581
1325
|
def c_frame?; end
|
|
1326
|
+
|
|
1327
|
+
# @return [Boolean]
|
|
1328
|
+
#
|
|
1329
|
+
# source://byebug//lib/byebug/frame.rb#43
|
|
582
1330
|
def current?; end
|
|
1331
|
+
|
|
1332
|
+
# Builds a string containing all available args in the frame number, in a
|
|
1333
|
+
# verbose or non verbose way according to the value of the +callstyle+
|
|
1334
|
+
# setting
|
|
1335
|
+
#
|
|
1336
|
+
# source://byebug//lib/byebug/frame.rb#89
|
|
583
1337
|
def deco_args; end
|
|
1338
|
+
|
|
1339
|
+
# source://byebug//lib/byebug/frame.rb#76
|
|
584
1340
|
def deco_block; end
|
|
1341
|
+
|
|
1342
|
+
# Builds a formatted string containing information about current method call
|
|
1343
|
+
#
|
|
1344
|
+
# source://byebug//lib/byebug/frame.rb#106
|
|
585
1345
|
def deco_call; end
|
|
1346
|
+
|
|
1347
|
+
# Returns the current class in the frame or an empty string if the current
|
|
1348
|
+
# +callstyle+ setting is 'short'
|
|
1349
|
+
#
|
|
1350
|
+
# source://byebug//lib/byebug/frame.rb#72
|
|
586
1351
|
def deco_class; end
|
|
1352
|
+
|
|
1353
|
+
# Formatted filename in frame
|
|
1354
|
+
#
|
|
1355
|
+
# source://byebug//lib/byebug/frame.rb#113
|
|
587
1356
|
def deco_file; end
|
|
1357
|
+
|
|
1358
|
+
# source://byebug//lib/byebug/frame.rb#80
|
|
588
1359
|
def deco_method; end
|
|
1360
|
+
|
|
1361
|
+
# Properly formatted frame number of frame
|
|
1362
|
+
#
|
|
1363
|
+
# source://byebug//lib/byebug/frame.rb#120
|
|
589
1364
|
def deco_pos; end
|
|
1365
|
+
|
|
1366
|
+
# source://byebug//lib/byebug/frame.rb#19
|
|
590
1367
|
def file; end
|
|
1368
|
+
|
|
1369
|
+
# source://byebug//lib/byebug/frame.rb#23
|
|
591
1370
|
def line; end
|
|
1371
|
+
|
|
1372
|
+
# Gets local variables for the frame.
|
|
1373
|
+
#
|
|
1374
|
+
# source://byebug//lib/byebug/frame.rb#50
|
|
592
1375
|
def locals; end
|
|
1376
|
+
|
|
1377
|
+
# Formatted mark for the frame.
|
|
1378
|
+
#
|
|
1379
|
+
# --> marks the current frame
|
|
1380
|
+
# ͱ-- marks c-frames
|
|
1381
|
+
# marks regular frames
|
|
1382
|
+
#
|
|
1383
|
+
# source://byebug//lib/byebug/frame.rb#131
|
|
593
1384
|
def mark; end
|
|
1385
|
+
|
|
1386
|
+
# Returns the value of attribute pos.
|
|
1387
|
+
#
|
|
1388
|
+
# source://byebug//lib/byebug/frame.rb#12
|
|
594
1389
|
def pos; end
|
|
1390
|
+
|
|
1391
|
+
# source://byebug//lib/byebug/frame.rb#145
|
|
595
1392
|
def to_hash; end
|
|
596
1393
|
|
|
597
1394
|
private
|
|
598
1395
|
|
|
1396
|
+
# source://byebug//lib/byebug/frame.rb#158
|
|
599
1397
|
def c_args; end
|
|
1398
|
+
|
|
1399
|
+
# source://byebug//lib/byebug/frame.rb#178
|
|
600
1400
|
def prefix_and_default(arg_type); end
|
|
1401
|
+
|
|
1402
|
+
# source://byebug//lib/byebug/frame.rb#164
|
|
601
1403
|
def ruby_args; end
|
|
1404
|
+
|
|
1405
|
+
# @return [Boolean]
|
|
1406
|
+
#
|
|
1407
|
+
# source://byebug//lib/byebug/frame.rb#174
|
|
602
1408
|
def use_short_style?(arg); end
|
|
603
1409
|
end
|
|
604
1410
|
|
|
1411
|
+
# Move to specific frames in the backtrace.
|
|
1412
|
+
#
|
|
1413
|
+
# source://byebug//lib/byebug/commands/frame.rb#12
|
|
605
1414
|
class Byebug::FrameCommand < ::Byebug::Command
|
|
606
1415
|
include ::Byebug::Helpers::FrameHelper
|
|
607
1416
|
include ::Byebug::Helpers::ParseHelper
|
|
608
1417
|
|
|
1418
|
+
# source://byebug//lib/byebug/commands/frame.rb#46
|
|
609
1419
|
def execute; end
|
|
610
1420
|
|
|
611
1421
|
class << self
|
|
1422
|
+
# source://byebug//lib/byebug/commands/frame.rb#22
|
|
612
1423
|
def description; end
|
|
1424
|
+
|
|
1425
|
+
# source://byebug//lib/byebug/commands/frame.rb#18
|
|
613
1426
|
def regexp; end
|
|
1427
|
+
|
|
1428
|
+
# source://byebug//lib/byebug/commands/frame.rb#42
|
|
614
1429
|
def short_description; end
|
|
615
1430
|
end
|
|
616
1431
|
end
|
|
617
1432
|
|
|
1433
|
+
# Setting to display full paths in backtraces.
|
|
1434
|
+
#
|
|
1435
|
+
# source://byebug//lib/byebug/settings/fullpath.rb#9
|
|
618
1436
|
class Byebug::FullpathSetting < ::Byebug::Setting
|
|
1437
|
+
# source://byebug//lib/byebug/settings/fullpath.rb#12
|
|
619
1438
|
def banner; end
|
|
620
1439
|
end
|
|
621
1440
|
|
|
1441
|
+
# source://byebug//lib/byebug/settings/fullpath.rb#10
|
|
622
1442
|
Byebug::FullpathSetting::DEFAULT = T.let(T.unsafe(nil), TrueClass)
|
|
623
1443
|
|
|
1444
|
+
# Ask for help from byebug's prompt.
|
|
1445
|
+
#
|
|
1446
|
+
# source://byebug//lib/byebug/commands/help.rb#10
|
|
624
1447
|
class Byebug::HelpCommand < ::Byebug::Command
|
|
1448
|
+
# source://byebug//lib/byebug/commands/help.rb#34
|
|
625
1449
|
def execute; end
|
|
626
1450
|
|
|
627
1451
|
private
|
|
628
1452
|
|
|
1453
|
+
# source://byebug//lib/byebug/commands/help.rb#54
|
|
629
1454
|
def command; end
|
|
1455
|
+
|
|
1456
|
+
# @raise [CommandNotFound]
|
|
1457
|
+
#
|
|
1458
|
+
# source://byebug//lib/byebug/commands/help.rb#48
|
|
630
1459
|
def help_for(input, cmd); end
|
|
1460
|
+
|
|
1461
|
+
# source://byebug//lib/byebug/commands/help.rb#44
|
|
631
1462
|
def help_for_all; end
|
|
1463
|
+
|
|
1464
|
+
# source://byebug//lib/byebug/commands/help.rb#58
|
|
632
1465
|
def subcommand; end
|
|
633
1466
|
|
|
634
1467
|
class << self
|
|
1468
|
+
# source://byebug//lib/byebug/commands/help.rb#18
|
|
635
1469
|
def description; end
|
|
1470
|
+
|
|
1471
|
+
# source://byebug//lib/byebug/commands/help.rb#14
|
|
636
1472
|
def regexp; end
|
|
1473
|
+
|
|
1474
|
+
# source://byebug//lib/byebug/commands/help.rb#30
|
|
637
1475
|
def short_description; end
|
|
638
1476
|
end
|
|
639
1477
|
end
|
|
640
1478
|
|
|
1479
|
+
# source://byebug//lib/byebug/helpers/reflection.rb#4
|
|
641
1480
|
module Byebug::Helpers; end
|
|
642
1481
|
|
|
1482
|
+
# Utilities for interaction with executables
|
|
1483
|
+
#
|
|
1484
|
+
# source://byebug//lib/byebug/helpers/bin.rb#8
|
|
643
1485
|
module Byebug::Helpers::BinHelper
|
|
1486
|
+
# source://byebug//lib/byebug/helpers/bin.rb#38
|
|
644
1487
|
def executable_file_extensions; end
|
|
1488
|
+
|
|
1489
|
+
# source://byebug//lib/byebug/helpers/bin.rb#24
|
|
645
1490
|
def find_executable(path, cmd); end
|
|
1491
|
+
|
|
1492
|
+
# @return [Boolean]
|
|
1493
|
+
#
|
|
1494
|
+
# source://byebug//lib/byebug/helpers/bin.rb#42
|
|
646
1495
|
def real_executable?(file); end
|
|
1496
|
+
|
|
1497
|
+
# source://byebug//lib/byebug/helpers/bin.rb#34
|
|
647
1498
|
def search_paths; end
|
|
1499
|
+
|
|
1500
|
+
# Cross-platform way of finding an executable in the $PATH.
|
|
1501
|
+
# Adapted from: https://gist.github.com/steakknife/88b6c3837a5e90a08296
|
|
1502
|
+
#
|
|
1503
|
+
# source://byebug//lib/byebug/helpers/bin.rb#13
|
|
648
1504
|
def which(cmd); end
|
|
649
1505
|
end
|
|
650
1506
|
|
|
1507
|
+
# Utilities to assist evaluation of code strings
|
|
1508
|
+
#
|
|
1509
|
+
# source://byebug//lib/byebug/helpers/eval.rb#8
|
|
651
1510
|
module Byebug::Helpers::EvalHelper
|
|
1511
|
+
# Evaluates a string containing Ruby code in a specific binding,
|
|
1512
|
+
# handling the errors at an error level.
|
|
1513
|
+
#
|
|
1514
|
+
# source://byebug//lib/byebug/helpers/eval.rb#46
|
|
652
1515
|
def error_eval(str, binding = T.unsafe(nil)); end
|
|
1516
|
+
|
|
1517
|
+
# Evaluates an +expression+ that might use or defer execution to threads
|
|
1518
|
+
# other than the current one.
|
|
1519
|
+
#
|
|
1520
|
+
# "frozen" so that nothing gets run. So we need to unlock threads prior
|
|
1521
|
+
# to evaluation or we will run into a deadlock.
|
|
1522
|
+
#
|
|
1523
|
+
# @note This is necessary because when in byebug's prompt, every thread is
|
|
1524
|
+
# @param expression [String] Expression to evaluate
|
|
1525
|
+
#
|
|
1526
|
+
# source://byebug//lib/byebug/helpers/eval.rb#30
|
|
653
1527
|
def multiple_thread_eval(expression); end
|
|
1528
|
+
|
|
1529
|
+
# Evaluates an +expression+ in a separate thread.
|
|
1530
|
+
#
|
|
1531
|
+
# @param expression [String] Expression to evaluate
|
|
1532
|
+
#
|
|
1533
|
+
# source://byebug//lib/byebug/helpers/eval.rb#14
|
|
654
1534
|
def separate_thread_eval(expression); end
|
|
1535
|
+
|
|
1536
|
+
# Evaluates a string containing Ruby code in a specific binding,
|
|
1537
|
+
# returning nil in an error happens.
|
|
1538
|
+
#
|
|
1539
|
+
# source://byebug//lib/byebug/helpers/eval.rb#38
|
|
655
1540
|
def silent_eval(str, binding = T.unsafe(nil)); end
|
|
1541
|
+
|
|
1542
|
+
# Evaluates a string containing Ruby code in a specific binding,
|
|
1543
|
+
# handling the errors at a warning level.
|
|
1544
|
+
#
|
|
1545
|
+
# source://byebug//lib/byebug/helpers/eval.rb#54
|
|
656
1546
|
def warning_eval(str, binding = T.unsafe(nil)); end
|
|
657
1547
|
|
|
658
1548
|
private
|
|
659
1549
|
|
|
1550
|
+
# Run block temporarily ignoring all TracePoint events.
|
|
1551
|
+
#
|
|
1552
|
+
# Used to evaluate stuff within Byebug's prompt. Otherwise, any code
|
|
1553
|
+
# creating new threads won't be properly evaluated because new threads
|
|
1554
|
+
# will get blocked by byebug's main thread.
|
|
1555
|
+
#
|
|
1556
|
+
# source://byebug//lib/byebug/helpers/eval.rb#91
|
|
660
1557
|
def allowing_other_threads; end
|
|
1558
|
+
|
|
1559
|
+
# source://byebug//lib/byebug/helpers/eval.rb#72
|
|
661
1560
|
def error_msg(exception); end
|
|
1561
|
+
|
|
1562
|
+
# Runs the given block in a new thread, waits for it to finish and
|
|
1563
|
+
# returns the new thread's result.
|
|
1564
|
+
#
|
|
1565
|
+
# source://byebug//lib/byebug/helpers/eval.rb#105
|
|
662
1566
|
def in_new_thread; end
|
|
1567
|
+
|
|
1568
|
+
# source://byebug//lib/byebug/helpers/eval.rb#66
|
|
663
1569
|
def msg(exception); end
|
|
1570
|
+
|
|
1571
|
+
# source://byebug//lib/byebug/helpers/eval.rb#60
|
|
664
1572
|
def safe_eval(str, binding); end
|
|
1573
|
+
|
|
1574
|
+
# source://byebug//lib/byebug/helpers/eval.rb#113
|
|
665
1575
|
def safe_inspect(var); end
|
|
1576
|
+
|
|
1577
|
+
# source://byebug//lib/byebug/helpers/eval.rb#119
|
|
666
1578
|
def safe_to_s(var); end
|
|
1579
|
+
|
|
1580
|
+
# source://byebug//lib/byebug/helpers/eval.rb#80
|
|
667
1581
|
def warning_msg(exception); end
|
|
668
1582
|
end
|
|
669
1583
|
|
|
1584
|
+
# Utilities for interaction with files
|
|
1585
|
+
#
|
|
1586
|
+
# source://byebug//lib/byebug/helpers/file.rb#8
|
|
670
1587
|
module Byebug::Helpers::FileHelper
|
|
1588
|
+
# Reads line number +lineno+ from file named +filename+
|
|
1589
|
+
#
|
|
1590
|
+
# source://byebug//lib/byebug/helpers/file.rb#19
|
|
671
1591
|
def get_line(filename, lineno); end
|
|
1592
|
+
|
|
1593
|
+
# Reads lines of source file +filename+ into an array
|
|
1594
|
+
#
|
|
1595
|
+
# source://byebug//lib/byebug/helpers/file.rb#12
|
|
672
1596
|
def get_lines(filename); end
|
|
1597
|
+
|
|
1598
|
+
# Returns the number of lines in file +filename+ in a portable,
|
|
1599
|
+
# one-line-at-a-time way.
|
|
1600
|
+
#
|
|
1601
|
+
# source://byebug//lib/byebug/helpers/file.rb#30
|
|
673
1602
|
def n_lines(filename); end
|
|
1603
|
+
|
|
1604
|
+
# Regularize file name.
|
|
1605
|
+
#
|
|
1606
|
+
# source://byebug//lib/byebug/helpers/file.rb#37
|
|
674
1607
|
def normalize(filename); end
|
|
1608
|
+
|
|
1609
|
+
# A short version of a long path
|
|
1610
|
+
#
|
|
1611
|
+
# source://byebug//lib/byebug/helpers/file.rb#48
|
|
675
1612
|
def shortpath(fullpath); end
|
|
1613
|
+
|
|
1614
|
+
# True for special files like -e, false otherwise
|
|
1615
|
+
#
|
|
1616
|
+
# @return [Boolean]
|
|
1617
|
+
#
|
|
1618
|
+
# source://byebug//lib/byebug/helpers/file.rb#58
|
|
676
1619
|
def virtual_file?(name); end
|
|
677
1620
|
end
|
|
678
1621
|
|
|
1622
|
+
# Utilities to assist frame navigation
|
|
1623
|
+
#
|
|
1624
|
+
# source://byebug//lib/byebug/helpers/frame.rb#8
|
|
679
1625
|
module Byebug::Helpers::FrameHelper
|
|
1626
|
+
# source://byebug//lib/byebug/helpers/frame.rb#16
|
|
680
1627
|
def jump_frames(steps); end
|
|
1628
|
+
|
|
1629
|
+
# source://byebug//lib/byebug/helpers/frame.rb#9
|
|
681
1630
|
def switch_to_frame(frame); end
|
|
682
1631
|
|
|
683
1632
|
private
|
|
684
1633
|
|
|
1634
|
+
# source://byebug//lib/byebug/helpers/frame.rb#22
|
|
685
1635
|
def adjust_frame(new_frame); end
|
|
1636
|
+
|
|
1637
|
+
# @param step [Integer] A positive or negative integer
|
|
1638
|
+
# @return [Integer] +1 if step is positive / -1 if negative
|
|
1639
|
+
#
|
|
1640
|
+
# source://byebug//lib/byebug/helpers/frame.rb#60
|
|
686
1641
|
def direction(step); end
|
|
1642
|
+
|
|
1643
|
+
# source://byebug//lib/byebug/helpers/frame.rb#51
|
|
687
1644
|
def frame_err(msg); end
|
|
1645
|
+
|
|
1646
|
+
# Convert a possibly negative index to a positive index from the start
|
|
1647
|
+
# of the callstack. -1 is the last position in the stack and so on.
|
|
1648
|
+
#
|
|
1649
|
+
# @param i [Integer] Integer to be converted in a proper positive index.
|
|
1650
|
+
#
|
|
1651
|
+
# source://byebug//lib/byebug/helpers/frame.rb#70
|
|
688
1652
|
def index_from_start(index); end
|
|
1653
|
+
|
|
1654
|
+
# source://byebug//lib/byebug/helpers/frame.rb#30
|
|
689
1655
|
def navigate_to_frame(jump_no); end
|
|
1656
|
+
|
|
1657
|
+
# @return [Boolean]
|
|
1658
|
+
#
|
|
1659
|
+
# source://byebug//lib/byebug/helpers/frame.rb#47
|
|
690
1660
|
def out_of_bounds?(pos); end
|
|
691
1661
|
end
|
|
692
1662
|
|
|
1663
|
+
# Utilities to assist command parsing
|
|
1664
|
+
#
|
|
1665
|
+
# source://byebug//lib/byebug/helpers/parse.rb#8
|
|
693
1666
|
module Byebug::Helpers::ParseHelper
|
|
1667
|
+
# Parses +str+ of command +cmd+ as an integer between +min+ and +max+.
|
|
1668
|
+
#
|
|
1669
|
+
# If either +min+ or +max+ is nil, that value has no bound.
|
|
1670
|
+
#
|
|
1671
|
+
# purpose.
|
|
1672
|
+
#
|
|
1673
|
+
# @todo Remove the `cmd` parameter. It has nothing to do with the method's
|
|
1674
|
+
#
|
|
1675
|
+
# source://byebug//lib/byebug/helpers/parse.rb#17
|
|
694
1676
|
def get_int(str, cmd, min = T.unsafe(nil), max = T.unsafe(nil)); end
|
|
1677
|
+
|
|
1678
|
+
# @return +str+ as an integer or 1 if +str+ is empty.
|
|
1679
|
+
#
|
|
1680
|
+
# source://byebug//lib/byebug/helpers/parse.rb#51
|
|
695
1681
|
def parse_steps(str, cmd); end
|
|
1682
|
+
|
|
1683
|
+
# @return [Boolean] true if code is syntactically correct for Ruby, false otherwise
|
|
1684
|
+
#
|
|
1685
|
+
# source://byebug//lib/byebug/helpers/parse.rb#35
|
|
696
1686
|
def syntax_valid?(code); end
|
|
697
1687
|
|
|
698
1688
|
private
|
|
699
1689
|
|
|
1690
|
+
# Temporarily disable output to $stderr
|
|
1691
|
+
#
|
|
1692
|
+
# source://byebug//lib/byebug/helpers/parse.rb#65
|
|
700
1693
|
def without_stderr; end
|
|
701
1694
|
end
|
|
702
1695
|
|
|
1696
|
+
# Utilities for managing gem paths
|
|
1697
|
+
#
|
|
1698
|
+
# source://byebug//lib/byebug/helpers/path.rb#8
|
|
703
1699
|
module Byebug::Helpers::PathHelper
|
|
1700
|
+
# source://byebug//lib/byebug/helpers/path.rb#29
|
|
704
1701
|
def all_files; end
|
|
1702
|
+
|
|
1703
|
+
# source://byebug//lib/byebug/helpers/path.rb#9
|
|
705
1704
|
def bin_file; end
|
|
1705
|
+
|
|
1706
|
+
# source://byebug//lib/byebug/helpers/path.rb#25
|
|
706
1707
|
def gem_files; end
|
|
1708
|
+
|
|
1709
|
+
# source://byebug//lib/byebug/helpers/path.rb#17
|
|
707
1710
|
def lib_files; end
|
|
1711
|
+
|
|
1712
|
+
# source://byebug//lib/byebug/helpers/path.rb#13
|
|
708
1713
|
def root_path; end
|
|
1714
|
+
|
|
1715
|
+
# source://byebug//lib/byebug/helpers/path.rb#21
|
|
709
1716
|
def test_files; end
|
|
710
1717
|
|
|
711
1718
|
private
|
|
712
1719
|
|
|
1720
|
+
# source://byebug//lib/byebug/helpers/path.rb#35
|
|
713
1721
|
def glob_for(dir); end
|
|
714
1722
|
end
|
|
715
1723
|
|
|
1724
|
+
# Reflection utilitie
|
|
1725
|
+
#
|
|
1726
|
+
# source://byebug//lib/byebug/helpers/reflection.rb#8
|
|
716
1727
|
module Byebug::Helpers::ReflectionHelper
|
|
1728
|
+
# List of "command" classes in the including module
|
|
1729
|
+
#
|
|
1730
|
+
# source://byebug//lib/byebug/helpers/reflection.rb#12
|
|
717
1731
|
def commands; end
|
|
718
1732
|
end
|
|
719
1733
|
|
|
1734
|
+
# Utilities for interaction with strings
|
|
1735
|
+
#
|
|
1736
|
+
# source://byebug//lib/byebug/helpers/string.rb#8
|
|
720
1737
|
module Byebug::Helpers::StringHelper
|
|
1738
|
+
# Converts +str+ from an_underscored-or-dasherized_string to
|
|
1739
|
+
# ACamelizedString.
|
|
1740
|
+
#
|
|
1741
|
+
# source://byebug//lib/byebug/helpers/string.rb#13
|
|
721
1742
|
def camelize(str); end
|
|
1743
|
+
|
|
1744
|
+
# Removes a number of leading whitespace for each input line.
|
|
1745
|
+
#
|
|
1746
|
+
# source://byebug//lib/byebug/helpers/string.rb#28
|
|
722
1747
|
def deindent(str, leading_spaces: T.unsafe(nil)); end
|
|
1748
|
+
|
|
1749
|
+
# Improves indentation and spacing in +str+ for readability in Byebug's
|
|
1750
|
+
# command prompt.
|
|
1751
|
+
#
|
|
1752
|
+
# source://byebug//lib/byebug/helpers/string.rb#21
|
|
723
1753
|
def prettify(str); end
|
|
724
1754
|
end
|
|
725
1755
|
|
|
1756
|
+
# Utilities for thread subcommands
|
|
1757
|
+
#
|
|
1758
|
+
# source://byebug//lib/byebug/helpers/thread.rb#8
|
|
726
1759
|
module Byebug::Helpers::ThreadHelper
|
|
1760
|
+
# source://byebug//lib/byebug/helpers/thread.rb#30
|
|
727
1761
|
def context_from_thread(thnum); end
|
|
1762
|
+
|
|
1763
|
+
# @return [Boolean]
|
|
1764
|
+
#
|
|
1765
|
+
# source://byebug//lib/byebug/helpers/thread.rb#26
|
|
728
1766
|
def current_thread?(ctx); end
|
|
1767
|
+
|
|
1768
|
+
# source://byebug//lib/byebug/helpers/thread.rb#9
|
|
729
1769
|
def display_context(ctx); end
|
|
1770
|
+
|
|
1771
|
+
# source://byebug//lib/byebug/helpers/thread.rb#13
|
|
730
1772
|
def thread_arguments(ctx); end
|
|
731
1773
|
|
|
732
1774
|
private
|
|
733
1775
|
|
|
1776
|
+
# source://byebug//lib/byebug/helpers/thread.rb#62
|
|
734
1777
|
def debug_flag(ctx); end
|
|
1778
|
+
|
|
1779
|
+
# @todo Check whether it is Byebug.current_context or context
|
|
1780
|
+
#
|
|
1781
|
+
# source://byebug//lib/byebug/helpers/thread.rb#47
|
|
735
1782
|
def location(ctx); end
|
|
1783
|
+
|
|
1784
|
+
# source://byebug//lib/byebug/helpers/thread.rb#56
|
|
736
1785
|
def status_flag(ctx); end
|
|
737
1786
|
end
|
|
738
1787
|
|
|
1788
|
+
# Utilities to assist breakpoint/display enabling/disabling.
|
|
1789
|
+
#
|
|
1790
|
+
# source://byebug//lib/byebug/helpers/toggle.rb#10
|
|
739
1791
|
module Byebug::Helpers::ToggleHelper
|
|
740
1792
|
include ::Byebug::Helpers::ParseHelper
|
|
741
1793
|
|
|
1794
|
+
# source://byebug//lib/byebug/helpers/toggle.rb#13
|
|
742
1795
|
def enable_disable_breakpoints(is_enable, args); end
|
|
1796
|
+
|
|
1797
|
+
# source://byebug//lib/byebug/helpers/toggle.rb#26
|
|
743
1798
|
def enable_disable_display(is_enable, args); end
|
|
744
1799
|
|
|
745
1800
|
private
|
|
746
1801
|
|
|
1802
|
+
# source://byebug//lib/byebug/helpers/toggle.rb#57
|
|
747
1803
|
def n_displays; end
|
|
1804
|
+
|
|
1805
|
+
# source://byebug//lib/byebug/helpers/toggle.rb#41
|
|
748
1806
|
def select_breakpoints(is_enable, args); end
|
|
749
1807
|
end
|
|
750
1808
|
|
|
1809
|
+
# Utilities for variable subcommands
|
|
1810
|
+
#
|
|
1811
|
+
# source://byebug//lib/byebug/helpers/var.rb#10
|
|
751
1812
|
module Byebug::Helpers::VarHelper
|
|
752
1813
|
include ::Byebug::Helpers::EvalHelper
|
|
753
1814
|
|
|
1815
|
+
# source://byebug//lib/byebug/helpers/var.rb#42
|
|
754
1816
|
def var_args; end
|
|
1817
|
+
|
|
1818
|
+
# source://byebug//lib/byebug/helpers/var.rb#21
|
|
755
1819
|
def var_global; end
|
|
1820
|
+
|
|
1821
|
+
# source://byebug//lib/byebug/helpers/var.rb#29
|
|
756
1822
|
def var_instance(str); end
|
|
1823
|
+
|
|
1824
|
+
# source://byebug//lib/byebug/helpers/var.rb#13
|
|
757
1825
|
def var_list(ary, binding = T.unsafe(nil)); end
|
|
1826
|
+
|
|
1827
|
+
# source://byebug//lib/byebug/helpers/var.rb#35
|
|
758
1828
|
def var_local; end
|
|
759
1829
|
end
|
|
760
1830
|
|
|
1831
|
+
# Setting to customize the file where byebug's history is saved.
|
|
1832
|
+
#
|
|
1833
|
+
# source://byebug//lib/byebug/settings/histfile.rb#9
|
|
761
1834
|
class Byebug::HistfileSetting < ::Byebug::Setting
|
|
1835
|
+
# source://byebug//lib/byebug/settings/histfile.rb#12
|
|
762
1836
|
def banner; end
|
|
1837
|
+
|
|
1838
|
+
# source://byebug//lib/byebug/settings/histfile.rb#16
|
|
763
1839
|
def to_s; end
|
|
764
1840
|
end
|
|
765
1841
|
|
|
1842
|
+
# source://byebug//lib/byebug/settings/histfile.rb#10
|
|
766
1843
|
Byebug::HistfileSetting::DEFAULT = T.let(T.unsafe(nil), String)
|
|
767
1844
|
|
|
1845
|
+
# Handles byebug's history of commands.
|
|
1846
|
+
#
|
|
1847
|
+
# source://byebug//lib/byebug/history.rb#19
|
|
768
1848
|
class Byebug::History
|
|
1849
|
+
# @return [History] a new instance of History
|
|
1850
|
+
#
|
|
1851
|
+
# source://byebug//lib/byebug/history.rb#22
|
|
769
1852
|
def initialize; end
|
|
770
1853
|
|
|
1854
|
+
# Array holding the list of commands in history
|
|
1855
|
+
#
|
|
1856
|
+
# source://byebug//lib/byebug/history.rb#29
|
|
771
1857
|
def buffer; end
|
|
1858
|
+
|
|
1859
|
+
# Discards history.
|
|
1860
|
+
#
|
|
1861
|
+
# source://byebug//lib/byebug/history.rb#58
|
|
772
1862
|
def clear; end
|
|
1863
|
+
|
|
1864
|
+
# Max number of commands to be displayed when no size has been specified.
|
|
1865
|
+
#
|
|
1866
|
+
# Never more than Setting[:histsize].
|
|
1867
|
+
#
|
|
1868
|
+
# source://byebug//lib/byebug/history.rb#105
|
|
773
1869
|
def default_max_size; end
|
|
1870
|
+
|
|
1871
|
+
# Whether a specific command should not be stored in history.
|
|
1872
|
+
#
|
|
1873
|
+
# For now, empty lines and consecutive duplicates.
|
|
1874
|
+
#
|
|
1875
|
+
# @return [Boolean]
|
|
1876
|
+
#
|
|
1877
|
+
# source://byebug//lib/byebug/history.rb#123
|
|
774
1878
|
def ignore?(buf); end
|
|
1879
|
+
|
|
1880
|
+
# Array of ids of the last +number+ commands.
|
|
1881
|
+
#
|
|
1882
|
+
# source://byebug//lib/byebug/history.rb#96
|
|
775
1883
|
def last_ids(number); end
|
|
1884
|
+
|
|
1885
|
+
# Removes a command from Readline's history.
|
|
1886
|
+
#
|
|
1887
|
+
# source://byebug//lib/byebug/history.rb#75
|
|
776
1888
|
def pop; end
|
|
1889
|
+
|
|
1890
|
+
# Adds a new command to Readline's history.
|
|
1891
|
+
#
|
|
1892
|
+
# source://byebug//lib/byebug/history.rb#65
|
|
777
1893
|
def push(cmd); end
|
|
1894
|
+
|
|
1895
|
+
# Restores history from disk.
|
|
1896
|
+
#
|
|
1897
|
+
# source://byebug//lib/byebug/history.rb#36
|
|
778
1898
|
def restore; end
|
|
1899
|
+
|
|
1900
|
+
# Saves history to disk.
|
|
1901
|
+
#
|
|
1902
|
+
# source://byebug//lib/byebug/history.rb#45
|
|
779
1903
|
def save; end
|
|
1904
|
+
|
|
1905
|
+
# Returns the value of attribute size.
|
|
1906
|
+
#
|
|
1907
|
+
# source://byebug//lib/byebug/history.rb#20
|
|
780
1908
|
def size; end
|
|
1909
|
+
|
|
1910
|
+
# Sets the attribute size
|
|
1911
|
+
#
|
|
1912
|
+
# @param value the value to set the attribute size to.
|
|
1913
|
+
#
|
|
1914
|
+
# source://byebug//lib/byebug/history.rb#20
|
|
781
1915
|
def size=(_arg0); end
|
|
1916
|
+
|
|
1917
|
+
# Max number of commands to be displayed when a size has been specified.
|
|
1918
|
+
#
|
|
1919
|
+
# The only bound here is not showing more items than available.
|
|
1920
|
+
#
|
|
1921
|
+
# source://byebug//lib/byebug/history.rb#114
|
|
782
1922
|
def specific_max_size(number); end
|
|
1923
|
+
|
|
1924
|
+
# Prints the requested numbers of history entries.
|
|
1925
|
+
#
|
|
1926
|
+
# source://byebug//lib/byebug/history.rb#83
|
|
783
1927
|
def to_s(n_cmds); end
|
|
784
1928
|
end
|
|
785
1929
|
|
|
1930
|
+
# Show history of byebug commands.
|
|
1931
|
+
#
|
|
1932
|
+
# source://byebug//lib/byebug/commands/history.rb#10
|
|
786
1933
|
class Byebug::HistoryCommand < ::Byebug::Command
|
|
787
1934
|
include ::Byebug::Helpers::ParseHelper
|
|
788
1935
|
|
|
1936
|
+
# source://byebug//lib/byebug/commands/history.rb#31
|
|
789
1937
|
def execute; end
|
|
790
1938
|
|
|
791
1939
|
class << self
|
|
1940
|
+
# source://byebug//lib/byebug/commands/history.rb#19
|
|
792
1941
|
def description; end
|
|
1942
|
+
|
|
1943
|
+
# source://byebug//lib/byebug/commands/history.rb#15
|
|
793
1944
|
def regexp; end
|
|
1945
|
+
|
|
1946
|
+
# source://byebug//lib/byebug/commands/history.rb#27
|
|
794
1947
|
def short_description; end
|
|
795
1948
|
end
|
|
796
1949
|
end
|
|
797
1950
|
|
|
1951
|
+
# Setting to customize the number of byebug commands to be saved in history.
|
|
1952
|
+
#
|
|
1953
|
+
# source://byebug//lib/byebug/settings/histsize.rb#9
|
|
798
1954
|
class Byebug::HistsizeSetting < ::Byebug::Setting
|
|
1955
|
+
# source://byebug//lib/byebug/settings/histsize.rb#12
|
|
799
1956
|
def banner; end
|
|
1957
|
+
|
|
1958
|
+
# source://byebug//lib/byebug/settings/histsize.rb#16
|
|
800
1959
|
def to_s; end
|
|
801
1960
|
end
|
|
802
1961
|
|
|
1962
|
+
# source://byebug//lib/byebug/settings/histsize.rb#10
|
|
803
1963
|
Byebug::HistsizeSetting::DEFAULT = T.let(T.unsafe(nil), Integer)
|
|
804
1964
|
|
|
1965
|
+
# Shows info about different aspects of the debugger.
|
|
1966
|
+
#
|
|
1967
|
+
# source://byebug//lib/byebug/commands/info/breakpoints.rb#7
|
|
805
1968
|
class Byebug::InfoCommand < ::Byebug::Command
|
|
806
1969
|
include ::Byebug::Subcommands
|
|
807
1970
|
extend ::Byebug::Helpers::ReflectionHelper
|
|
808
1971
|
extend ::Byebug::Subcommands::ClassMethods
|
|
809
1972
|
|
|
810
1973
|
class << self
|
|
1974
|
+
# source://byebug//lib/byebug/commands/info.rb#25
|
|
811
1975
|
def description; end
|
|
1976
|
+
|
|
1977
|
+
# source://byebug//lib/byebug/commands/info.rb#21
|
|
812
1978
|
def regexp; end
|
|
1979
|
+
|
|
1980
|
+
# source://byebug//lib/byebug/commands/info.rb#33
|
|
813
1981
|
def short_description; end
|
|
814
1982
|
end
|
|
815
1983
|
end
|
|
816
1984
|
|
|
1985
|
+
# Information about current breakpoints
|
|
1986
|
+
#
|
|
1987
|
+
# source://byebug//lib/byebug/commands/info/breakpoints.rb#11
|
|
817
1988
|
class Byebug::InfoCommand::BreakpointsCommand < ::Byebug::Command
|
|
1989
|
+
# source://byebug//lib/byebug/commands/info/breakpoints.rb#30
|
|
818
1990
|
def execute; end
|
|
819
1991
|
|
|
820
1992
|
private
|
|
821
1993
|
|
|
1994
|
+
# source://byebug//lib/byebug/commands/info/breakpoints.rb#47
|
|
822
1995
|
def info_breakpoint(brkpt); end
|
|
823
1996
|
|
|
824
1997
|
class << self
|
|
1998
|
+
# source://byebug//lib/byebug/commands/info/breakpoints.rb#18
|
|
825
1999
|
def description; end
|
|
2000
|
+
|
|
2001
|
+
# source://byebug//lib/byebug/commands/info/breakpoints.rb#14
|
|
826
2002
|
def regexp; end
|
|
2003
|
+
|
|
2004
|
+
# source://byebug//lib/byebug/commands/info/breakpoints.rb#26
|
|
827
2005
|
def short_description; end
|
|
828
2006
|
end
|
|
829
2007
|
end
|
|
830
2008
|
|
|
2009
|
+
# Information about display expressions
|
|
2010
|
+
#
|
|
2011
|
+
# source://byebug//lib/byebug/commands/info/display.rb#11
|
|
831
2012
|
class Byebug::InfoCommand::DisplayCommand < ::Byebug::Command
|
|
2013
|
+
# source://byebug//lib/byebug/commands/info/display.rb#30
|
|
832
2014
|
def execute; end
|
|
833
2015
|
|
|
834
2016
|
class << self
|
|
2017
|
+
# source://byebug//lib/byebug/commands/info/display.rb#18
|
|
835
2018
|
def description; end
|
|
2019
|
+
|
|
2020
|
+
# source://byebug//lib/byebug/commands/info/display.rb#14
|
|
836
2021
|
def regexp; end
|
|
2022
|
+
|
|
2023
|
+
# source://byebug//lib/byebug/commands/info/display.rb#26
|
|
837
2024
|
def short_description; end
|
|
838
2025
|
end
|
|
839
2026
|
end
|
|
840
2027
|
|
|
2028
|
+
# Information about a particular source file
|
|
2029
|
+
#
|
|
2030
|
+
# source://byebug//lib/byebug/commands/info/file.rb#13
|
|
841
2031
|
class Byebug::InfoCommand::FileCommand < ::Byebug::Command
|
|
842
2032
|
include ::Byebug::Helpers::FileHelper
|
|
843
2033
|
include ::Byebug::Helpers::StringHelper
|
|
844
2034
|
|
|
2035
|
+
# source://byebug//lib/byebug/commands/info/file.rb#38
|
|
845
2036
|
def execute; end
|
|
846
2037
|
|
|
847
2038
|
private
|
|
848
2039
|
|
|
2040
|
+
# source://byebug//lib/byebug/commands/info/file.rb#55
|
|
849
2041
|
def info_file_basic(file); end
|
|
2042
|
+
|
|
2043
|
+
# source://byebug//lib/byebug/commands/info/file.rb#63
|
|
850
2044
|
def info_file_breakpoints(file); end
|
|
2045
|
+
|
|
2046
|
+
# source://byebug//lib/byebug/commands/info/file.rb#70
|
|
851
2047
|
def info_file_mtime(file); end
|
|
2048
|
+
|
|
2049
|
+
# source://byebug//lib/byebug/commands/info/file.rb#74
|
|
852
2050
|
def info_file_sha1(file); end
|
|
853
2051
|
|
|
854
2052
|
class << self
|
|
2053
|
+
# source://byebug//lib/byebug/commands/info/file.rb#23
|
|
855
2054
|
def description; end
|
|
2055
|
+
|
|
2056
|
+
# source://byebug//lib/byebug/commands/info/file.rb#19
|
|
856
2057
|
def regexp; end
|
|
2058
|
+
|
|
2059
|
+
# source://byebug//lib/byebug/commands/info/file.rb#34
|
|
857
2060
|
def short_description; end
|
|
858
2061
|
end
|
|
859
2062
|
end
|
|
860
2063
|
|
|
2064
|
+
# Information about current location
|
|
2065
|
+
#
|
|
2066
|
+
# source://byebug//lib/byebug/commands/info/line.rb#11
|
|
861
2067
|
class Byebug::InfoCommand::LineCommand < ::Byebug::Command
|
|
2068
|
+
# source://byebug//lib/byebug/commands/info/line.rb#30
|
|
862
2069
|
def execute; end
|
|
863
2070
|
|
|
864
2071
|
class << self
|
|
2072
|
+
# source://byebug//lib/byebug/commands/info/line.rb#18
|
|
865
2073
|
def description; end
|
|
2074
|
+
|
|
2075
|
+
# source://byebug//lib/byebug/commands/info/line.rb#14
|
|
866
2076
|
def regexp; end
|
|
2077
|
+
|
|
2078
|
+
# source://byebug//lib/byebug/commands/info/line.rb#26
|
|
867
2079
|
def short_description; end
|
|
868
2080
|
end
|
|
869
2081
|
end
|
|
870
2082
|
|
|
2083
|
+
# Information about arguments of the current method/block
|
|
2084
|
+
#
|
|
2085
|
+
# source://byebug//lib/byebug/commands/info/program.rb#11
|
|
871
2086
|
class Byebug::InfoCommand::ProgramCommand < ::Byebug::Command
|
|
2087
|
+
# source://byebug//lib/byebug/commands/info/program.rb#30
|
|
872
2088
|
def execute; end
|
|
873
2089
|
|
|
874
2090
|
private
|
|
875
2091
|
|
|
2092
|
+
# source://byebug//lib/byebug/commands/info/program.rb#37
|
|
876
2093
|
def format_stop_reason(stop_reason); end
|
|
877
2094
|
|
|
878
2095
|
class << self
|
|
2096
|
+
# source://byebug//lib/byebug/commands/info/program.rb#18
|
|
879
2097
|
def description; end
|
|
2098
|
+
|
|
2099
|
+
# source://byebug//lib/byebug/commands/info/program.rb#14
|
|
880
2100
|
def regexp; end
|
|
2101
|
+
|
|
2102
|
+
# source://byebug//lib/byebug/commands/info/program.rb#26
|
|
881
2103
|
def short_description; end
|
|
882
2104
|
end
|
|
883
2105
|
end
|
|
884
2106
|
|
|
2107
|
+
# Main Interface class
|
|
2108
|
+
#
|
|
2109
|
+
# Contains common functionality to all implemented interfaces.
|
|
2110
|
+
#
|
|
2111
|
+
# source://byebug//lib/byebug/interface.rb#16
|
|
885
2112
|
class Byebug::Interface
|
|
886
2113
|
include ::Byebug::Helpers::FileHelper
|
|
887
2114
|
|
|
2115
|
+
# @return [Interface] a new instance of Interface
|
|
2116
|
+
#
|
|
2117
|
+
# source://byebug//lib/byebug/interface.rb#22
|
|
888
2118
|
def initialize; end
|
|
889
2119
|
|
|
2120
|
+
# Restores history according to +autosave+ setting.
|
|
2121
|
+
#
|
|
2122
|
+
# source://byebug//lib/byebug/interface.rb#118
|
|
890
2123
|
def autorestore; end
|
|
2124
|
+
|
|
2125
|
+
# Saves or clears history according to +autosave+ setting.
|
|
2126
|
+
#
|
|
2127
|
+
# source://byebug//lib/byebug/interface.rb#111
|
|
891
2128
|
def autosave; end
|
|
2129
|
+
|
|
2130
|
+
# source://byebug//lib/byebug/interface.rb#105
|
|
892
2131
|
def close; end
|
|
2132
|
+
|
|
2133
|
+
# Returns the value of attribute command_queue.
|
|
2134
|
+
#
|
|
2135
|
+
# source://byebug//lib/byebug/interface.rb#19
|
|
893
2136
|
def command_queue; end
|
|
2137
|
+
|
|
2138
|
+
# Sets the attribute command_queue
|
|
2139
|
+
#
|
|
2140
|
+
# @param value the value to set the attribute command_queue to.
|
|
2141
|
+
#
|
|
2142
|
+
# source://byebug//lib/byebug/interface.rb#19
|
|
894
2143
|
def command_queue=(_arg0); end
|
|
2144
|
+
|
|
2145
|
+
# Confirms user introduced an affirmative response to the input stream.
|
|
2146
|
+
#
|
|
2147
|
+
# source://byebug//lib/byebug/interface.rb#101
|
|
895
2148
|
def confirm(prompt); end
|
|
2149
|
+
|
|
2150
|
+
# Prints an error message to the error stream.
|
|
2151
|
+
#
|
|
2152
|
+
# source://byebug//lib/byebug/interface.rb#80
|
|
896
2153
|
def errmsg(message); end
|
|
2154
|
+
|
|
2155
|
+
# Returns the value of attribute error.
|
|
2156
|
+
#
|
|
2157
|
+
# source://byebug//lib/byebug/interface.rb#20
|
|
897
2158
|
def error; end
|
|
2159
|
+
|
|
2160
|
+
# Returns the value of attribute history.
|
|
2161
|
+
#
|
|
2162
|
+
# source://byebug//lib/byebug/interface.rb#19
|
|
898
2163
|
def history; end
|
|
2164
|
+
|
|
2165
|
+
# Sets the attribute history
|
|
2166
|
+
#
|
|
2167
|
+
# @param value the value to set the attribute history to.
|
|
2168
|
+
#
|
|
2169
|
+
# source://byebug//lib/byebug/interface.rb#19
|
|
899
2170
|
def history=(_arg0); end
|
|
2171
|
+
|
|
2172
|
+
# Returns the value of attribute input.
|
|
2173
|
+
#
|
|
2174
|
+
# source://byebug//lib/byebug/interface.rb#20
|
|
900
2175
|
def input; end
|
|
2176
|
+
|
|
2177
|
+
# source://byebug//lib/byebug/interface.rb#28
|
|
901
2178
|
def last_if_empty(input); end
|
|
2179
|
+
|
|
2180
|
+
# Returns the value of attribute output.
|
|
2181
|
+
#
|
|
2182
|
+
# source://byebug//lib/byebug/interface.rb#20
|
|
902
2183
|
def output; end
|
|
2184
|
+
|
|
2185
|
+
# Reads a new line from the interface's input stream.
|
|
2186
|
+
#
|
|
2187
|
+
# read now was empty.
|
|
2188
|
+
#
|
|
2189
|
+
# @return [String] New string read or the previous string if the string
|
|
2190
|
+
#
|
|
2191
|
+
# source://byebug//lib/byebug/interface.rb#70
|
|
903
2192
|
def prepare_input(prompt); end
|
|
2193
|
+
|
|
2194
|
+
# Prints an output message to the output stream without a final "\n".
|
|
2195
|
+
#
|
|
2196
|
+
# source://byebug//lib/byebug/interface.rb#94
|
|
904
2197
|
def print(message); end
|
|
2198
|
+
|
|
2199
|
+
# Prints an output message to the output stream.
|
|
2200
|
+
#
|
|
2201
|
+
# source://byebug//lib/byebug/interface.rb#87
|
|
905
2202
|
def puts(message); end
|
|
2203
|
+
|
|
2204
|
+
# Pops a command from the input stream.
|
|
2205
|
+
#
|
|
2206
|
+
# source://byebug//lib/byebug/interface.rb#35
|
|
906
2207
|
def read_command(prompt); end
|
|
2208
|
+
|
|
2209
|
+
# Pushes lines in +filename+ to the command queue.
|
|
2210
|
+
#
|
|
2211
|
+
# source://byebug//lib/byebug/interface.rb#44
|
|
907
2212
|
def read_file(filename); end
|
|
2213
|
+
|
|
2214
|
+
# Reads a new line from the interface's input stream, parses it into
|
|
2215
|
+
# commands and saves it to history.
|
|
2216
|
+
#
|
|
2217
|
+
# @return [String] Representing something to be run by the debugger.
|
|
2218
|
+
#
|
|
2219
|
+
# source://byebug//lib/byebug/interface.rb#54
|
|
908
2220
|
def read_input(prompt, save_hist = T.unsafe(nil)); end
|
|
909
2221
|
|
|
910
2222
|
private
|
|
911
2223
|
|
|
2224
|
+
# Splits a command line of the form "cmd1 ; cmd2 ; ... ; cmdN" into an
|
|
2225
|
+
# array of commands: [cmd1, cmd2, ..., cmdN]
|
|
2226
|
+
#
|
|
2227
|
+
# source://byebug//lib/byebug/interface.rb#128
|
|
912
2228
|
def split_commands(cmd_line); end
|
|
913
2229
|
end
|
|
914
2230
|
|
|
2231
|
+
# Interrupting execution of current thread.
|
|
2232
|
+
#
|
|
2233
|
+
# source://byebug//lib/byebug/commands/interrupt.rb#9
|
|
915
2234
|
class Byebug::InterruptCommand < ::Byebug::Command
|
|
2235
|
+
# source://byebug//lib/byebug/commands/interrupt.rb#28
|
|
916
2236
|
def execute; end
|
|
917
2237
|
|
|
918
2238
|
class << self
|
|
2239
|
+
# source://byebug//lib/byebug/commands/interrupt.rb#16
|
|
919
2240
|
def description; end
|
|
2241
|
+
|
|
2242
|
+
# source://byebug//lib/byebug/commands/interrupt.rb#12
|
|
920
2243
|
def regexp; end
|
|
2244
|
+
|
|
2245
|
+
# source://byebug//lib/byebug/commands/interrupt.rb#24
|
|
921
2246
|
def short_description; end
|
|
922
2247
|
end
|
|
923
2248
|
end
|
|
924
2249
|
|
|
2250
|
+
# Enter IRB from byebug's prompt
|
|
2251
|
+
#
|
|
2252
|
+
# source://byebug//lib/byebug/commands/irb.rb#11
|
|
925
2253
|
class Byebug::IrbCommand < ::Byebug::Command
|
|
2254
|
+
# source://byebug//lib/byebug/commands/irb.rb#30
|
|
926
2255
|
def execute; end
|
|
927
2256
|
|
|
928
2257
|
private
|
|
929
2258
|
|
|
2259
|
+
# source://byebug//lib/byebug/commands/irb.rb#40
|
|
930
2260
|
def with_clean_argv; end
|
|
931
2261
|
|
|
932
2262
|
class << self
|
|
2263
|
+
# source://byebug//lib/byebug/commands/irb.rb#18
|
|
933
2264
|
def description; end
|
|
2265
|
+
|
|
2266
|
+
# source://byebug//lib/byebug/commands/irb.rb#14
|
|
934
2267
|
def regexp; end
|
|
2268
|
+
|
|
2269
|
+
# source://byebug//lib/byebug/commands/irb.rb#26
|
|
935
2270
|
def short_description; end
|
|
936
2271
|
end
|
|
937
2272
|
end
|
|
938
2273
|
|
|
2274
|
+
# Send custom signals to the debugged program.
|
|
2275
|
+
#
|
|
2276
|
+
# source://byebug//lib/byebug/commands/kill.rb#9
|
|
939
2277
|
class Byebug::KillCommand < ::Byebug::Command
|
|
2278
|
+
# source://byebug//lib/byebug/commands/kill.rb#30
|
|
940
2279
|
def execute; end
|
|
941
2280
|
|
|
942
2281
|
class << self
|
|
2282
|
+
# source://byebug//lib/byebug/commands/kill.rb#16
|
|
943
2283
|
def description; end
|
|
2284
|
+
|
|
2285
|
+
# source://byebug//lib/byebug/commands/kill.rb#12
|
|
944
2286
|
def regexp; end
|
|
2287
|
+
|
|
2288
|
+
# source://byebug//lib/byebug/commands/kill.rb#26
|
|
945
2289
|
def short_description; end
|
|
946
2290
|
end
|
|
947
2291
|
end
|
|
948
2292
|
|
|
2293
|
+
# Setting to enable/disable linetracing.
|
|
2294
|
+
#
|
|
2295
|
+
# source://byebug//lib/byebug/settings/linetrace.rb#9
|
|
949
2296
|
class Byebug::LinetraceSetting < ::Byebug::Setting
|
|
2297
|
+
# source://byebug//lib/byebug/settings/linetrace.rb#10
|
|
950
2298
|
def banner; end
|
|
2299
|
+
|
|
2300
|
+
# source://byebug//lib/byebug/settings/linetrace.rb#18
|
|
951
2301
|
def value; end
|
|
2302
|
+
|
|
2303
|
+
# source://byebug//lib/byebug/settings/linetrace.rb#14
|
|
952
2304
|
def value=(val); end
|
|
953
2305
|
end
|
|
954
2306
|
|
|
2307
|
+
# List parts of the source code.
|
|
2308
|
+
#
|
|
2309
|
+
# source://byebug//lib/byebug/commands/list.rb#12
|
|
955
2310
|
class Byebug::ListCommand < ::Byebug::Command
|
|
956
2311
|
include ::Byebug::Helpers::FileHelper
|
|
957
2312
|
include ::Byebug::Helpers::ParseHelper
|
|
958
2313
|
|
|
959
|
-
|
|
2314
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
|
2315
|
+
def amend_final(*args, **_arg1, &block); end
|
|
2316
|
+
|
|
2317
|
+
# source://byebug//lib/byebug/commands/list.rb#40
|
|
960
2318
|
def execute; end
|
|
961
|
-
|
|
962
|
-
|
|
2319
|
+
|
|
2320
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
|
2321
|
+
def max_line(*args, **_arg1, &block); end
|
|
2322
|
+
|
|
2323
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
|
2324
|
+
def size(*args, **_arg1, &block); end
|
|
963
2325
|
|
|
964
2326
|
private
|
|
965
2327
|
|
|
2328
|
+
# Set line range to be printed by list
|
|
2329
|
+
#
|
|
2330
|
+
# @return first line number to list
|
|
2331
|
+
# @return last line number to list
|
|
2332
|
+
#
|
|
2333
|
+
# source://byebug//lib/byebug/commands/list.rb#79
|
|
966
2334
|
def auto_range(direction); end
|
|
2335
|
+
|
|
2336
|
+
# Show a range of lines in the current file.
|
|
2337
|
+
#
|
|
2338
|
+
# @param min [Integer] Lower bound
|
|
2339
|
+
# @param max [Integer] Upper bound
|
|
2340
|
+
#
|
|
2341
|
+
# source://byebug//lib/byebug/commands/list.rb#115
|
|
967
2342
|
def display_lines(min, max); end
|
|
2343
|
+
|
|
2344
|
+
# @param range [String] A string with an integer range format
|
|
2345
|
+
# @return [String] The lower bound of the given range
|
|
2346
|
+
#
|
|
2347
|
+
# source://byebug//lib/byebug/commands/list.rb#126
|
|
968
2348
|
def lower_bound(range); end
|
|
2349
|
+
|
|
2350
|
+
# source://byebug//lib/byebug/commands/list.rb#105
|
|
969
2351
|
def move(line, size, direction = T.unsafe(nil)); end
|
|
2352
|
+
|
|
2353
|
+
# source://byebug//lib/byebug/commands/list.rb#89
|
|
970
2354
|
def parse_range(input); end
|
|
2355
|
+
|
|
2356
|
+
# Line range to be printed by `list`.
|
|
2357
|
+
#
|
|
2358
|
+
# If <input> is set, range is parsed from it.
|
|
2359
|
+
#
|
|
2360
|
+
# Otherwise it's automatically chosen.
|
|
2361
|
+
#
|
|
2362
|
+
# source://byebug//lib/byebug/commands/list.rb#60
|
|
971
2363
|
def range(input); end
|
|
2364
|
+
|
|
2365
|
+
# source://byebug//lib/byebug/commands/list.rb#152
|
|
972
2366
|
def source_file_formatter; end
|
|
2367
|
+
|
|
2368
|
+
# @param str [String] A string with an integer range format
|
|
2369
|
+
# @return [Array] The upper & lower bounds of the given range
|
|
2370
|
+
#
|
|
2371
|
+
# source://byebug//lib/byebug/commands/list.rb#144
|
|
973
2372
|
def split_range(str); end
|
|
2373
|
+
|
|
2374
|
+
# @param range [String] A string with an integer range format
|
|
2375
|
+
# @return [String] The upper bound of the given range
|
|
2376
|
+
#
|
|
2377
|
+
# source://byebug//lib/byebug/commands/list.rb#135
|
|
974
2378
|
def upper_bound(range); end
|
|
2379
|
+
|
|
2380
|
+
# @return [Boolean]
|
|
2381
|
+
#
|
|
2382
|
+
# source://byebug//lib/byebug/commands/list.rb#69
|
|
975
2383
|
def valid_range?(first, last); end
|
|
976
2384
|
|
|
977
2385
|
class << self
|
|
2386
|
+
# source://byebug//lib/byebug/commands/list.rb#22
|
|
978
2387
|
def description; end
|
|
2388
|
+
|
|
2389
|
+
# source://byebug//lib/byebug/commands/list.rb#18
|
|
979
2390
|
def regexp; end
|
|
2391
|
+
|
|
2392
|
+
# source://byebug//lib/byebug/commands/list.rb#36
|
|
980
2393
|
def short_description; end
|
|
981
2394
|
end
|
|
982
2395
|
end
|
|
983
2396
|
|
|
2397
|
+
# Setting to customize the number of source code lines to be displayed every
|
|
2398
|
+
# time the "list" command is invoked.
|
|
2399
|
+
#
|
|
2400
|
+
# source://byebug//lib/byebug/settings/listsize.rb#10
|
|
984
2401
|
class Byebug::ListsizeSetting < ::Byebug::Setting
|
|
2402
|
+
# source://byebug//lib/byebug/settings/listsize.rb#13
|
|
985
2403
|
def banner; end
|
|
2404
|
+
|
|
2405
|
+
# source://byebug//lib/byebug/settings/listsize.rb#17
|
|
986
2406
|
def to_s; end
|
|
987
2407
|
end
|
|
988
2408
|
|
|
2409
|
+
# source://byebug//lib/byebug/settings/listsize.rb#11
|
|
989
2410
|
Byebug::ListsizeSetting::DEFAULT = T.let(T.unsafe(nil), Integer)
|
|
990
2411
|
|
|
2412
|
+
# Interface class for standard byebug use.
|
|
2413
|
+
#
|
|
2414
|
+
# source://byebug//lib/byebug/interfaces/local_interface.rb#7
|
|
991
2415
|
class Byebug::LocalInterface < ::Byebug::Interface
|
|
2416
|
+
# @return [LocalInterface] a new instance of LocalInterface
|
|
2417
|
+
#
|
|
2418
|
+
# source://byebug//lib/byebug/interfaces/local_interface.rb#10
|
|
992
2419
|
def initialize; end
|
|
993
2420
|
|
|
2421
|
+
# Reads a single line of input using Readline. If Ctrl-D is pressed, it
|
|
2422
|
+
# returns "continue", meaning that program's execution will go on.
|
|
2423
|
+
#
|
|
2424
|
+
# @param prompt Prompt to be displayed.
|
|
2425
|
+
#
|
|
2426
|
+
# source://byebug//lib/byebug/interfaces/local_interface.rb#23
|
|
994
2427
|
def readline(prompt); end
|
|
2428
|
+
|
|
2429
|
+
# Yields the block handling Ctrl-C the following way: if pressed while
|
|
2430
|
+
# waiting for input, the line is reset to only the prompt and we ask for
|
|
2431
|
+
# input again.
|
|
2432
|
+
#
|
|
2433
|
+
# @note Any external 'INT' traps are overriden during this method.
|
|
2434
|
+
#
|
|
2435
|
+
# source://byebug//lib/byebug/interfaces/local_interface.rb#34
|
|
995
2436
|
def with_repl_like_sigint; end
|
|
2437
|
+
|
|
2438
|
+
# Disable any Readline completion procs.
|
|
2439
|
+
#
|
|
2440
|
+
# Other gems, for example, IRB could've installed completion procs that are
|
|
2441
|
+
# dependent on them being loaded. Disable those while byebug is the REPL
|
|
2442
|
+
# making use of Readline.
|
|
2443
|
+
#
|
|
2444
|
+
# source://byebug//lib/byebug/interfaces/local_interface.rb#51
|
|
996
2445
|
def without_readline_completion; end
|
|
997
2446
|
end
|
|
998
2447
|
|
|
2448
|
+
# source://byebug//lib/byebug/interfaces/local_interface.rb#8
|
|
999
2449
|
Byebug::LocalInterface::EOF_ALIAS = T.let(T.unsafe(nil), String)
|
|
1000
2450
|
|
|
2451
|
+
# Show methods of specific classes/modules/objects.
|
|
2452
|
+
#
|
|
2453
|
+
# source://byebug//lib/byebug/commands/method.rb#10
|
|
1001
2454
|
class Byebug::MethodCommand < ::Byebug::Command
|
|
1002
2455
|
include ::Byebug::Helpers::EvalHelper
|
|
1003
2456
|
|
|
2457
|
+
# source://byebug//lib/byebug/commands/method.rb#37
|
|
1004
2458
|
def execute; end
|
|
1005
2459
|
|
|
1006
2460
|
class << self
|
|
2461
|
+
# source://byebug//lib/byebug/commands/method.rb#19
|
|
1007
2462
|
def description; end
|
|
2463
|
+
|
|
2464
|
+
# source://byebug//lib/byebug/commands/method.rb#15
|
|
1008
2465
|
def regexp; end
|
|
2466
|
+
|
|
2467
|
+
# source://byebug//lib/byebug/commands/method.rb#33
|
|
1009
2468
|
def short_description; end
|
|
1010
2469
|
end
|
|
1011
2470
|
end
|
|
1012
2471
|
|
|
2472
|
+
# Implements the next functionality.
|
|
2473
|
+
#
|
|
2474
|
+
# Allows the user the continue execution until the next instruction in the
|
|
2475
|
+
# current frame.
|
|
2476
|
+
#
|
|
2477
|
+
# source://byebug//lib/byebug/commands/next.rb#13
|
|
1013
2478
|
class Byebug::NextCommand < ::Byebug::Command
|
|
1014
2479
|
include ::Byebug::Helpers::ParseHelper
|
|
1015
2480
|
|
|
2481
|
+
# source://byebug//lib/byebug/commands/next.rb#32
|
|
1016
2482
|
def execute; end
|
|
1017
2483
|
|
|
1018
2484
|
class << self
|
|
2485
|
+
# source://byebug//lib/byebug/commands/next.rb#20
|
|
1019
2486
|
def description; end
|
|
2487
|
+
|
|
2488
|
+
# source://byebug//lib/byebug/commands/next.rb#16
|
|
1020
2489
|
def regexp; end
|
|
2490
|
+
|
|
2491
|
+
# source://byebug//lib/byebug/commands/next.rb#28
|
|
1021
2492
|
def short_description; end
|
|
1022
2493
|
end
|
|
1023
2494
|
end
|
|
1024
2495
|
|
|
2496
|
+
# Port number used for remote debugging
|
|
2497
|
+
#
|
|
2498
|
+
# source://byebug//lib/byebug/remote.rb#13
|
|
1025
2499
|
Byebug::PORT = T.let(T.unsafe(nil), Integer)
|
|
1026
2500
|
|
|
2501
|
+
# Processes commands in post_mortem mode
|
|
2502
|
+
#
|
|
2503
|
+
# source://byebug//lib/byebug/processors/post_mortem_processor.rb#9
|
|
1027
2504
|
class Byebug::PostMortemProcessor < ::Byebug::CommandProcessor
|
|
2505
|
+
# source://byebug//lib/byebug/processors/post_mortem_processor.rb#10
|
|
1028
2506
|
def commands; end
|
|
2507
|
+
|
|
2508
|
+
# source://byebug//lib/byebug/processors/post_mortem_processor.rb#14
|
|
1029
2509
|
def prompt; end
|
|
1030
2510
|
end
|
|
1031
2511
|
|
|
2512
|
+
# Setting to enable/disable post_mortem mode, i.e., a debugger prompt after
|
|
2513
|
+
# program termination by unhandled exception.
|
|
2514
|
+
#
|
|
2515
|
+
# source://byebug//lib/byebug/settings/post_mortem.rb#10
|
|
1032
2516
|
class Byebug::PostMortemSetting < ::Byebug::Setting
|
|
2517
|
+
# @return [PostMortemSetting] a new instance of PostMortemSetting
|
|
2518
|
+
#
|
|
2519
|
+
# source://byebug//lib/byebug/settings/post_mortem.rb#11
|
|
1033
2520
|
def initialize; end
|
|
1034
2521
|
|
|
2522
|
+
# source://byebug//lib/byebug/settings/post_mortem.rb#15
|
|
1035
2523
|
def banner; end
|
|
2524
|
+
|
|
2525
|
+
# source://byebug//lib/byebug/settings/post_mortem.rb#23
|
|
1036
2526
|
def value; end
|
|
2527
|
+
|
|
2528
|
+
# source://byebug//lib/byebug/settings/post_mortem.rb#19
|
|
1037
2529
|
def value=(val); end
|
|
1038
2530
|
end
|
|
1039
2531
|
|
|
2532
|
+
# source://byebug//lib/byebug/printers/base.rb#6
|
|
1040
2533
|
module Byebug::Printers; end
|
|
1041
2534
|
|
|
2535
|
+
# Base printer
|
|
2536
|
+
#
|
|
2537
|
+
# source://byebug//lib/byebug/printers/base.rb#10
|
|
1042
2538
|
class Byebug::Printers::Base
|
|
2539
|
+
# source://byebug//lib/byebug/printers/base.rb#16
|
|
1043
2540
|
def type; end
|
|
1044
2541
|
|
|
1045
2542
|
private
|
|
1046
2543
|
|
|
2544
|
+
# source://byebug//lib/byebug/printers/base.rb#55
|
|
1047
2545
|
def array_of_args(collection, &_block); end
|
|
2546
|
+
|
|
2547
|
+
# source://byebug//lib/byebug/printers/base.rb#49
|
|
1048
2548
|
def contents; end
|
|
2549
|
+
|
|
2550
|
+
# source://byebug//lib/byebug/printers/base.rb#63
|
|
1049
2551
|
def contents_files; end
|
|
2552
|
+
|
|
2553
|
+
# @raise [MissedPath]
|
|
2554
|
+
#
|
|
2555
|
+
# source://byebug//lib/byebug/printers/base.rb#22
|
|
1050
2556
|
def locate(path); end
|
|
2557
|
+
|
|
2558
|
+
# source://byebug//lib/byebug/printers/base.rb#45
|
|
1051
2559
|
def parts(path); end
|
|
2560
|
+
|
|
2561
|
+
# source://byebug//lib/byebug/printers/base.rb#35
|
|
1052
2562
|
def translate(string, args = T.unsafe(nil)); end
|
|
1053
2563
|
end
|
|
1054
2564
|
|
|
2565
|
+
# source://byebug//lib/byebug/printers/base.rb#12
|
|
1055
2566
|
class Byebug::Printers::Base::MissedArgument < ::StandardError; end
|
|
2567
|
+
|
|
2568
|
+
# source://byebug//lib/byebug/printers/base.rb#11
|
|
1056
2569
|
class Byebug::Printers::Base::MissedPath < ::StandardError; end
|
|
2570
|
+
|
|
2571
|
+
# source://byebug//lib/byebug/printers/base.rb#14
|
|
1057
2572
|
Byebug::Printers::Base::SEPARATOR = T.let(T.unsafe(nil), String)
|
|
1058
2573
|
|
|
2574
|
+
# Plain text printer
|
|
2575
|
+
#
|
|
2576
|
+
# source://byebug//lib/byebug/printers/plain.rb#10
|
|
1059
2577
|
class Byebug::Printers::Plain < ::Byebug::Printers::Base
|
|
2578
|
+
# source://byebug//lib/byebug/printers/plain.rb#11
|
|
1060
2579
|
def print(path, args = T.unsafe(nil)); end
|
|
2580
|
+
|
|
2581
|
+
# source://byebug//lib/byebug/printers/plain.rb#17
|
|
1061
2582
|
def print_collection(path, collection, &block); end
|
|
2583
|
+
|
|
2584
|
+
# source://byebug//lib/byebug/printers/plain.rb#25
|
|
1062
2585
|
def print_variables(variables, *_unused); end
|
|
1063
2586
|
|
|
1064
2587
|
private
|
|
1065
2588
|
|
|
2589
|
+
# source://byebug//lib/byebug/printers/plain.rb#39
|
|
1066
2590
|
def contents_files; end
|
|
1067
2591
|
end
|
|
1068
2592
|
|
|
2593
|
+
# Enter Pry from byebug's prompt
|
|
2594
|
+
#
|
|
2595
|
+
# source://byebug//lib/byebug/commands/pry.rb#10
|
|
1069
2596
|
class Byebug::PryCommand < ::Byebug::Command
|
|
2597
|
+
# source://byebug//lib/byebug/commands/pry.rb#29
|
|
1070
2598
|
def execute; end
|
|
1071
2599
|
|
|
1072
2600
|
class << self
|
|
2601
|
+
# source://byebug//lib/byebug/commands/pry.rb#17
|
|
1073
2602
|
def description; end
|
|
2603
|
+
|
|
2604
|
+
# source://byebug//lib/byebug/commands/pry.rb#13
|
|
1074
2605
|
def regexp; end
|
|
2606
|
+
|
|
2607
|
+
# source://byebug//lib/byebug/commands/pry.rb#25
|
|
1075
2608
|
def short_description; end
|
|
1076
2609
|
end
|
|
1077
2610
|
end
|
|
1078
2611
|
|
|
2612
|
+
# Exit from byebug.
|
|
2613
|
+
#
|
|
2614
|
+
# source://byebug//lib/byebug/commands/quit.rb#9
|
|
1079
2615
|
class Byebug::QuitCommand < ::Byebug::Command
|
|
2616
|
+
# source://byebug//lib/byebug/commands/quit.rb#33
|
|
1080
2617
|
def execute; end
|
|
1081
2618
|
|
|
1082
2619
|
class << self
|
|
2620
|
+
# source://byebug//lib/byebug/commands/quit.rb#17
|
|
1083
2621
|
def description; end
|
|
2622
|
+
|
|
2623
|
+
# source://byebug//lib/byebug/commands/quit.rb#13
|
|
1084
2624
|
def regexp; end
|
|
2625
|
+
|
|
2626
|
+
# source://byebug//lib/byebug/commands/quit.rb#29
|
|
1085
2627
|
def short_description; end
|
|
1086
2628
|
end
|
|
1087
2629
|
end
|
|
1088
2630
|
|
|
2631
|
+
# source://byebug//lib/byebug/remote/server.rb#6
|
|
1089
2632
|
module Byebug::Remote; end
|
|
1090
2633
|
|
|
2634
|
+
# Client for remote debugging
|
|
2635
|
+
#
|
|
2636
|
+
# source://byebug//lib/byebug/remote/client.rb#10
|
|
1091
2637
|
class Byebug::Remote::Client
|
|
2638
|
+
# @return [Client] a new instance of Client
|
|
2639
|
+
#
|
|
2640
|
+
# source://byebug//lib/byebug/remote/client.rb#13
|
|
1092
2641
|
def initialize(interface); end
|
|
1093
2642
|
|
|
2643
|
+
# Returns the value of attribute interface.
|
|
2644
|
+
#
|
|
2645
|
+
# source://byebug//lib/byebug/remote/client.rb#11
|
|
1094
2646
|
def interface; end
|
|
2647
|
+
|
|
2648
|
+
# Returns the value of attribute socket.
|
|
2649
|
+
#
|
|
2650
|
+
# source://byebug//lib/byebug/remote/client.rb#11
|
|
1095
2651
|
def socket; end
|
|
2652
|
+
|
|
2653
|
+
# Connects to the remote byebug
|
|
2654
|
+
#
|
|
2655
|
+
# source://byebug//lib/byebug/remote/client.rb#21
|
|
1096
2656
|
def start(host = T.unsafe(nil), port = T.unsafe(nil)); end
|
|
2657
|
+
|
|
2658
|
+
# @return [Boolean]
|
|
2659
|
+
#
|
|
2660
|
+
# source://byebug//lib/byebug/remote/client.rb#44
|
|
1097
2661
|
def started?; end
|
|
1098
2662
|
|
|
1099
2663
|
private
|
|
1100
2664
|
|
|
2665
|
+
# source://byebug//lib/byebug/remote/client.rb#50
|
|
1101
2666
|
def connect_at(host, port); end
|
|
1102
2667
|
end
|
|
1103
2668
|
|
|
2669
|
+
# Server for remote debugging
|
|
2670
|
+
#
|
|
2671
|
+
# source://byebug//lib/byebug/remote/server.rb#10
|
|
1104
2672
|
class Byebug::Remote::Server
|
|
2673
|
+
# @return [Server] a new instance of Server
|
|
2674
|
+
#
|
|
2675
|
+
# source://byebug//lib/byebug/remote/server.rb#13
|
|
1105
2676
|
def initialize(wait_connection:, &block); end
|
|
1106
2677
|
|
|
2678
|
+
# Returns the value of attribute actual_port.
|
|
2679
|
+
#
|
|
2680
|
+
# source://byebug//lib/byebug/remote/server.rb#11
|
|
1107
2681
|
def actual_port; end
|
|
2682
|
+
|
|
2683
|
+
# Start the remote debugging server
|
|
2684
|
+
#
|
|
2685
|
+
# source://byebug//lib/byebug/remote/server.rb#22
|
|
1108
2686
|
def start(host, port); end
|
|
2687
|
+
|
|
2688
|
+
# Returns the value of attribute wait_connection.
|
|
2689
|
+
#
|
|
2690
|
+
# source://byebug//lib/byebug/remote/server.rb#11
|
|
1109
2691
|
def wait_connection; end
|
|
1110
2692
|
end
|
|
1111
2693
|
|
|
2694
|
+
# Interface class for remote use of byebug.
|
|
2695
|
+
#
|
|
2696
|
+
# source://byebug//lib/byebug/interfaces/remote_interface.rb#9
|
|
1112
2697
|
class Byebug::RemoteInterface < ::Byebug::Interface
|
|
2698
|
+
# @return [RemoteInterface] a new instance of RemoteInterface
|
|
2699
|
+
#
|
|
2700
|
+
# source://byebug//lib/byebug/interfaces/remote_interface.rb#10
|
|
1113
2701
|
def initialize(socket); end
|
|
1114
2702
|
|
|
2703
|
+
# source://byebug//lib/byebug/interfaces/remote_interface.rb#41
|
|
1115
2704
|
def close; end
|
|
2705
|
+
|
|
2706
|
+
# source://byebug//lib/byebug/interfaces/remote_interface.rb#23
|
|
1116
2707
|
def confirm(prompt); end
|
|
2708
|
+
|
|
2709
|
+
# source://byebug//lib/byebug/interfaces/remote_interface.rb#29
|
|
1117
2710
|
def print(message); end
|
|
2711
|
+
|
|
2712
|
+
# source://byebug//lib/byebug/interfaces/remote_interface.rb#35
|
|
1118
2713
|
def puts(message); end
|
|
2714
|
+
|
|
2715
|
+
# source://byebug//lib/byebug/interfaces/remote_interface.rb#17
|
|
1119
2716
|
def read_command(prompt); end
|
|
2717
|
+
|
|
2718
|
+
# source://byebug//lib/byebug/interfaces/remote_interface.rb#45
|
|
1120
2719
|
def readline(prompt); end
|
|
1121
2720
|
end
|
|
1122
2721
|
|
|
2722
|
+
# Restart debugged program from within byebug.
|
|
2723
|
+
#
|
|
2724
|
+
# source://byebug//lib/byebug/commands/restart.rb#14
|
|
1123
2725
|
class Byebug::RestartCommand < ::Byebug::Command
|
|
1124
2726
|
include ::Byebug::Helpers::BinHelper
|
|
1125
2727
|
include ::Byebug::Helpers::PathHelper
|
|
1126
2728
|
|
|
2729
|
+
# source://byebug//lib/byebug/commands/restart.rb#40
|
|
1127
2730
|
def execute; end
|
|
1128
2731
|
|
|
1129
2732
|
private
|
|
1130
2733
|
|
|
2734
|
+
# source://byebug//lib/byebug/commands/restart.rb#54
|
|
1131
2735
|
def prepend_byebug_bin(cmd); end
|
|
2736
|
+
|
|
2737
|
+
# source://byebug//lib/byebug/commands/restart.rb#59
|
|
1132
2738
|
def prepend_ruby_bin(cmd); end
|
|
1133
2739
|
|
|
1134
2740
|
class << self
|
|
2741
|
+
# source://byebug//lib/byebug/commands/restart.rb#25
|
|
1135
2742
|
def description; end
|
|
2743
|
+
|
|
2744
|
+
# source://byebug//lib/byebug/commands/restart.rb#21
|
|
1136
2745
|
def regexp; end
|
|
2746
|
+
|
|
2747
|
+
# source://byebug//lib/byebug/commands/restart.rb#36
|
|
1137
2748
|
def short_description; end
|
|
1138
2749
|
end
|
|
1139
2750
|
end
|
|
1140
2751
|
|
|
2752
|
+
# Save current settings to use them in another debug session.
|
|
2753
|
+
#
|
|
2754
|
+
# source://byebug//lib/byebug/commands/save.rb#9
|
|
1141
2755
|
class Byebug::SaveCommand < ::Byebug::Command
|
|
2756
|
+
# source://byebug//lib/byebug/commands/save.rb#36
|
|
1142
2757
|
def execute; end
|
|
1143
2758
|
|
|
1144
2759
|
private
|
|
1145
2760
|
|
|
2761
|
+
# source://byebug//lib/byebug/commands/save.rb#50
|
|
1146
2762
|
def save_breakpoints(file); end
|
|
2763
|
+
|
|
2764
|
+
# source://byebug//lib/byebug/commands/save.rb#56
|
|
1147
2765
|
def save_catchpoints(file); end
|
|
2766
|
+
|
|
2767
|
+
# source://byebug//lib/byebug/commands/save.rb#62
|
|
1148
2768
|
def save_displays(file); end
|
|
2769
|
+
|
|
2770
|
+
# source://byebug//lib/byebug/commands/save.rb#66
|
|
1149
2771
|
def save_settings(file); end
|
|
1150
2772
|
|
|
1151
2773
|
class << self
|
|
2774
|
+
# source://byebug//lib/byebug/commands/save.rb#17
|
|
1152
2775
|
def description; end
|
|
2776
|
+
|
|
2777
|
+
# source://byebug//lib/byebug/commands/save.rb#13
|
|
1153
2778
|
def regexp; end
|
|
2779
|
+
|
|
2780
|
+
# source://byebug//lib/byebug/commands/save.rb#32
|
|
1154
2781
|
def short_description; end
|
|
1155
2782
|
end
|
|
1156
2783
|
end
|
|
1157
2784
|
|
|
2785
|
+
# Setting to customize the file where byebug's history is saved.
|
|
2786
|
+
#
|
|
2787
|
+
# source://byebug//lib/byebug/settings/savefile.rb#9
|
|
1158
2788
|
class Byebug::SavefileSetting < ::Byebug::Setting
|
|
2789
|
+
# source://byebug//lib/byebug/settings/savefile.rb#12
|
|
1159
2790
|
def banner; end
|
|
2791
|
+
|
|
2792
|
+
# source://byebug//lib/byebug/settings/savefile.rb#16
|
|
1160
2793
|
def to_s; end
|
|
1161
2794
|
end
|
|
1162
2795
|
|
|
2796
|
+
# source://byebug//lib/byebug/settings/savefile.rb#10
|
|
1163
2797
|
Byebug::SavefileSetting::DEFAULT = T.let(T.unsafe(nil), String)
|
|
1164
2798
|
|
|
2799
|
+
# Interface class for command execution from script files.
|
|
2800
|
+
#
|
|
2801
|
+
# source://byebug//lib/byebug/interfaces/script_interface.rb#7
|
|
1165
2802
|
class Byebug::ScriptInterface < ::Byebug::Interface
|
|
2803
|
+
# @return [ScriptInterface] a new instance of ScriptInterface
|
|
2804
|
+
#
|
|
2805
|
+
# source://byebug//lib/byebug/interfaces/script_interface.rb#8
|
|
1166
2806
|
def initialize(file, verbose = T.unsafe(nil)); end
|
|
1167
2807
|
|
|
2808
|
+
# source://byebug//lib/byebug/interfaces/script_interface.rb#20
|
|
1168
2809
|
def close; end
|
|
2810
|
+
|
|
2811
|
+
# source://byebug//lib/byebug/interfaces/script_interface.rb#16
|
|
1169
2812
|
def read_command(prompt); end
|
|
2813
|
+
|
|
2814
|
+
# source://byebug//lib/byebug/interfaces/script_interface.rb#24
|
|
1170
2815
|
def readline(*_arg0); end
|
|
1171
2816
|
end
|
|
1172
2817
|
|
|
2818
|
+
# Processes commands from a file
|
|
2819
|
+
#
|
|
2820
|
+
# source://byebug//lib/byebug/processors/script_processor.rb#9
|
|
1173
2821
|
class Byebug::ScriptProcessor < ::Byebug::CommandProcessor
|
|
2822
|
+
# source://byebug//lib/byebug/processors/script_processor.rb#28
|
|
1174
2823
|
def after_repl; end
|
|
2824
|
+
|
|
2825
|
+
# Available commands
|
|
2826
|
+
#
|
|
2827
|
+
# source://byebug//lib/byebug/processors/script_processor.rb#13
|
|
1175
2828
|
def commands; end
|
|
2829
|
+
|
|
2830
|
+
# Prompt shown before reading a command.
|
|
2831
|
+
#
|
|
2832
|
+
# source://byebug//lib/byebug/processors/script_processor.rb#37
|
|
1176
2833
|
def prompt; end
|
|
2834
|
+
|
|
2835
|
+
# source://byebug//lib/byebug/processors/script_processor.rb#17
|
|
1177
2836
|
def repl; end
|
|
1178
2837
|
|
|
1179
2838
|
private
|
|
1180
2839
|
|
|
2840
|
+
# source://byebug//lib/byebug/processors/script_processor.rb#43
|
|
1181
2841
|
def without_exceptions; end
|
|
1182
2842
|
end
|
|
1183
2843
|
|
|
2844
|
+
# Change byebug settings.
|
|
2845
|
+
#
|
|
2846
|
+
# source://byebug//lib/byebug/commands/set.rb#10
|
|
1184
2847
|
class Byebug::SetCommand < ::Byebug::Command
|
|
1185
2848
|
include ::Byebug::Helpers::ParseHelper
|
|
1186
2849
|
|
|
2850
|
+
# source://byebug//lib/byebug/commands/set.rb#42
|
|
1187
2851
|
def execute; end
|
|
1188
2852
|
|
|
1189
2853
|
private
|
|
1190
2854
|
|
|
2855
|
+
# source://byebug//lib/byebug/commands/set.rb#66
|
|
1191
2856
|
def get_onoff(arg, default); end
|
|
1192
2857
|
|
|
1193
2858
|
class << self
|
|
2859
|
+
# source://byebug//lib/byebug/commands/set.rb#20
|
|
1194
2860
|
def description; end
|
|
2861
|
+
|
|
2862
|
+
# source://byebug//lib/byebug/commands/set.rb#38
|
|
1195
2863
|
def help; end
|
|
2864
|
+
|
|
2865
|
+
# source://byebug//lib/byebug/commands/set.rb#16
|
|
1196
2866
|
def regexp; end
|
|
2867
|
+
|
|
2868
|
+
# source://byebug//lib/byebug/commands/set.rb#34
|
|
1197
2869
|
def short_description; end
|
|
1198
2870
|
end
|
|
1199
2871
|
end
|
|
1200
2872
|
|
|
2873
|
+
# Parent class for all byebug settings.
|
|
2874
|
+
#
|
|
2875
|
+
# source://byebug//lib/byebug/setting.rb#9
|
|
1201
2876
|
class Byebug::Setting
|
|
2877
|
+
# @return [Setting] a new instance of Setting
|
|
2878
|
+
#
|
|
2879
|
+
# source://byebug//lib/byebug/setting.rb#14
|
|
1202
2880
|
def initialize; end
|
|
1203
2881
|
|
|
2882
|
+
# @return [Boolean]
|
|
2883
|
+
#
|
|
2884
|
+
# source://byebug//lib/byebug/setting.rb#18
|
|
1204
2885
|
def boolean?; end
|
|
2886
|
+
|
|
2887
|
+
# source://byebug//lib/byebug/setting.rb#28
|
|
1205
2888
|
def help; end
|
|
2889
|
+
|
|
2890
|
+
# @return [Boolean]
|
|
2891
|
+
#
|
|
2892
|
+
# source://byebug//lib/byebug/setting.rb#22
|
|
1206
2893
|
def integer?; end
|
|
2894
|
+
|
|
2895
|
+
# source://byebug//lib/byebug/setting.rb#37
|
|
1207
2896
|
def to_s; end
|
|
2897
|
+
|
|
2898
|
+
# source://byebug//lib/byebug/setting.rb#32
|
|
1208
2899
|
def to_sym; end
|
|
2900
|
+
|
|
2901
|
+
# Returns the value of attribute value.
|
|
2902
|
+
#
|
|
2903
|
+
# source://byebug//lib/byebug/setting.rb#10
|
|
1209
2904
|
def value; end
|
|
2905
|
+
|
|
2906
|
+
# Sets the attribute value
|
|
2907
|
+
#
|
|
2908
|
+
# @param value the value to set the attribute value to.
|
|
2909
|
+
#
|
|
2910
|
+
# source://byebug//lib/byebug/setting.rb#10
|
|
1210
2911
|
def value=(_arg0); end
|
|
1211
2912
|
|
|
1212
2913
|
class << self
|
|
2914
|
+
# source://byebug//lib/byebug/setting.rb#46
|
|
1213
2915
|
def [](name); end
|
|
2916
|
+
|
|
2917
|
+
# source://byebug//lib/byebug/setting.rb#50
|
|
1214
2918
|
def []=(name, value); end
|
|
2919
|
+
|
|
2920
|
+
# source://byebug//lib/byebug/setting.rb#54
|
|
1215
2921
|
def find(shortcut); end
|
|
2922
|
+
|
|
2923
|
+
# @todo DRY this up. Very similar code exists in the CommandList class
|
|
2924
|
+
#
|
|
2925
|
+
# source://byebug//lib/byebug/setting.rb#65
|
|
1216
2926
|
def help_all; end
|
|
2927
|
+
|
|
2928
|
+
# source://byebug//lib/byebug/setting.rb#42
|
|
1217
2929
|
def settings; end
|
|
1218
2930
|
end
|
|
1219
2931
|
end
|
|
1220
2932
|
|
|
2933
|
+
# source://byebug//lib/byebug/setting.rb#12
|
|
2934
|
+
Byebug::Setting::DEFAULT = T.let(T.unsafe(nil), FalseClass)
|
|
2935
|
+
|
|
2936
|
+
# Show byebug settings.
|
|
2937
|
+
#
|
|
2938
|
+
# source://byebug//lib/byebug/commands/show.rb#9
|
|
1221
2939
|
class Byebug::ShowCommand < ::Byebug::Command
|
|
2940
|
+
# source://byebug//lib/byebug/commands/show.rb#35
|
|
1222
2941
|
def execute; end
|
|
1223
2942
|
|
|
1224
2943
|
class << self
|
|
2944
|
+
# source://byebug//lib/byebug/commands/show.rb#17
|
|
1225
2945
|
def description; end
|
|
2946
|
+
|
|
2947
|
+
# source://byebug//lib/byebug/commands/show.rb#31
|
|
1226
2948
|
def help; end
|
|
2949
|
+
|
|
2950
|
+
# source://byebug//lib/byebug/commands/show.rb#13
|
|
1227
2951
|
def regexp; end
|
|
2952
|
+
|
|
2953
|
+
# source://byebug//lib/byebug/commands/show.rb#27
|
|
1228
2954
|
def short_description; end
|
|
1229
2955
|
end
|
|
1230
2956
|
end
|
|
1231
2957
|
|
|
2958
|
+
# Allows the user to continue execution until the next breakpoint, as
|
|
2959
|
+
# long as it is different from the current one
|
|
2960
|
+
#
|
|
2961
|
+
# source://byebug//lib/byebug/commands/skip.rb#11
|
|
1232
2962
|
class Byebug::SkipCommand < ::Byebug::Command
|
|
1233
2963
|
include ::Byebug::Helpers::ParseHelper
|
|
1234
2964
|
|
|
2965
|
+
# source://byebug//lib/byebug/commands/skip.rb#70
|
|
1235
2966
|
def auto_run; end
|
|
2967
|
+
|
|
2968
|
+
# source://byebug//lib/byebug/commands/skip.rb#77
|
|
1236
2969
|
def execute; end
|
|
2970
|
+
|
|
2971
|
+
# source://byebug//lib/byebug/commands/skip.rb#53
|
|
1237
2972
|
def initialize_attributes; end
|
|
2973
|
+
|
|
2974
|
+
# source://byebug//lib/byebug/commands/skip.rb#60
|
|
1238
2975
|
def keep_execution; end
|
|
2976
|
+
|
|
2977
|
+
# source://byebug//lib/byebug/commands/skip.rb#64
|
|
1239
2978
|
def reset_attributes; end
|
|
1240
2979
|
|
|
1241
2980
|
class << self
|
|
2981
|
+
# source://byebug//lib/byebug/commands/skip.rb#41
|
|
1242
2982
|
def description; end
|
|
2983
|
+
|
|
2984
|
+
# source://byebug//lib/byebug/commands/skip.rb#18
|
|
1243
2985
|
def file_line; end
|
|
2986
|
+
|
|
2987
|
+
# Sets the attribute file_line
|
|
2988
|
+
#
|
|
2989
|
+
# @param value the value to set the attribute file_line to.
|
|
2990
|
+
#
|
|
2991
|
+
# source://byebug//lib/byebug/commands/skip.rb#15
|
|
1244
2992
|
def file_line=(_arg0); end
|
|
2993
|
+
|
|
2994
|
+
# source://byebug//lib/byebug/commands/skip.rb#22
|
|
1245
2995
|
def file_path; end
|
|
2996
|
+
|
|
2997
|
+
# Sets the attribute file_path
|
|
2998
|
+
#
|
|
2999
|
+
# @param value the value to set the attribute file_path to.
|
|
3000
|
+
#
|
|
3001
|
+
# source://byebug//lib/byebug/commands/skip.rb#15
|
|
1246
3002
|
def file_path=(_arg0); end
|
|
3003
|
+
|
|
3004
|
+
# Returns the value of attribute previous_autolist.
|
|
3005
|
+
#
|
|
3006
|
+
# source://byebug//lib/byebug/commands/skip.rb#16
|
|
1247
3007
|
def previous_autolist; end
|
|
3008
|
+
|
|
3009
|
+
# source://byebug//lib/byebug/commands/skip.rb#37
|
|
1248
3010
|
def regexp; end
|
|
3011
|
+
|
|
3012
|
+
# source://byebug//lib/byebug/commands/skip.rb#31
|
|
1249
3013
|
def restore_autolist; end
|
|
3014
|
+
|
|
3015
|
+
# source://byebug//lib/byebug/commands/skip.rb#26
|
|
1250
3016
|
def setup_autolist(value); end
|
|
3017
|
+
|
|
3018
|
+
# source://byebug//lib/byebug/commands/skip.rb#49
|
|
1251
3019
|
def short_description; end
|
|
1252
3020
|
end
|
|
1253
3021
|
end
|
|
1254
3022
|
|
|
3023
|
+
# Execute a file containing byebug commands.
|
|
3024
|
+
#
|
|
3025
|
+
# It can be used to restore a previously saved debugging session.
|
|
3026
|
+
#
|
|
3027
|
+
# source://byebug//lib/byebug/commands/source.rb#11
|
|
1255
3028
|
class Byebug::SourceCommand < ::Byebug::Command
|
|
3029
|
+
# source://byebug//lib/byebug/commands/source.rb#31
|
|
1256
3030
|
def execute; end
|
|
1257
3031
|
|
|
1258
3032
|
class << self
|
|
3033
|
+
# source://byebug//lib/byebug/commands/source.rb#19
|
|
1259
3034
|
def description; end
|
|
3035
|
+
|
|
3036
|
+
# source://byebug//lib/byebug/commands/source.rb#15
|
|
1260
3037
|
def regexp; end
|
|
3038
|
+
|
|
3039
|
+
# source://byebug//lib/byebug/commands/source.rb#27
|
|
1261
3040
|
def short_description; end
|
|
1262
3041
|
end
|
|
1263
3042
|
end
|
|
1264
3043
|
|
|
3044
|
+
# Formats specific line ranges in a source file
|
|
3045
|
+
#
|
|
3046
|
+
# source://byebug//lib/byebug/source_file_formatter.rb#10
|
|
1265
3047
|
class Byebug::SourceFileFormatter
|
|
1266
3048
|
include ::Byebug::Helpers::FileHelper
|
|
1267
3049
|
|
|
3050
|
+
# @return [SourceFileFormatter] a new instance of SourceFileFormatter
|
|
3051
|
+
#
|
|
3052
|
+
# source://byebug//lib/byebug/source_file_formatter.rb#15
|
|
1268
3053
|
def initialize(file, annotator); end
|
|
1269
3054
|
|
|
3055
|
+
# source://byebug//lib/byebug/source_file_formatter.rb#67
|
|
1270
3056
|
def amend(line, ceiling); end
|
|
3057
|
+
|
|
3058
|
+
# source://byebug//lib/byebug/source_file_formatter.rb#51
|
|
1271
3059
|
def amend_final(line); end
|
|
3060
|
+
|
|
3061
|
+
# source://byebug//lib/byebug/source_file_formatter.rb#47
|
|
1272
3062
|
def amend_initial(line); end
|
|
3063
|
+
|
|
3064
|
+
# Returns the value of attribute annotator.
|
|
3065
|
+
#
|
|
3066
|
+
# source://byebug//lib/byebug/source_file_formatter.rb#13
|
|
1273
3067
|
def annotator; end
|
|
3068
|
+
|
|
3069
|
+
# Returns the value of attribute file.
|
|
3070
|
+
#
|
|
3071
|
+
# source://byebug//lib/byebug/source_file_formatter.rb#13
|
|
1274
3072
|
def file; end
|
|
3073
|
+
|
|
3074
|
+
# source://byebug//lib/byebug/source_file_formatter.rb#20
|
|
1275
3075
|
def lines(min, max); end
|
|
3076
|
+
|
|
3077
|
+
# source://byebug//lib/byebug/source_file_formatter.rb#33
|
|
1276
3078
|
def lines_around(center); end
|
|
3079
|
+
|
|
3080
|
+
# source://byebug//lib/byebug/source_file_formatter.rb#55
|
|
1277
3081
|
def max_initial_line; end
|
|
3082
|
+
|
|
3083
|
+
# source://byebug//lib/byebug/source_file_formatter.rb#59
|
|
1278
3084
|
def max_line; end
|
|
3085
|
+
|
|
3086
|
+
# source://byebug//lib/byebug/source_file_formatter.rb#37
|
|
1279
3087
|
def range_around(center); end
|
|
3088
|
+
|
|
3089
|
+
# source://byebug//lib/byebug/source_file_formatter.rb#41
|
|
1280
3090
|
def range_from(min); end
|
|
3091
|
+
|
|
3092
|
+
# source://byebug//lib/byebug/source_file_formatter.rb#63
|
|
1281
3093
|
def size; end
|
|
1282
3094
|
end
|
|
1283
3095
|
|
|
3096
|
+
# Setting to enable/disable the display of backtraces when evaluations raise
|
|
3097
|
+
# errors.
|
|
3098
|
+
#
|
|
3099
|
+
# source://byebug//lib/byebug/settings/stack_on_error.rb#10
|
|
1284
3100
|
class Byebug::StackOnErrorSetting < ::Byebug::Setting
|
|
3101
|
+
# source://byebug//lib/byebug/settings/stack_on_error.rb#11
|
|
1285
3102
|
def banner; end
|
|
1286
3103
|
end
|
|
1287
3104
|
|
|
3105
|
+
# Implements the step functionality.
|
|
3106
|
+
#
|
|
3107
|
+
# Allows the user the continue execution until the next instruction, possibily
|
|
3108
|
+
# in a different frame. Use step to step into method calls or blocks.
|
|
3109
|
+
#
|
|
3110
|
+
# source://byebug//lib/byebug/commands/step.rb#13
|
|
1288
3111
|
class Byebug::StepCommand < ::Byebug::Command
|
|
1289
3112
|
include ::Byebug::Helpers::ParseHelper
|
|
1290
3113
|
|
|
3114
|
+
# source://byebug//lib/byebug/commands/step.rb#32
|
|
1291
3115
|
def execute; end
|
|
1292
3116
|
|
|
1293
3117
|
class << self
|
|
3118
|
+
# source://byebug//lib/byebug/commands/step.rb#20
|
|
1294
3119
|
def description; end
|
|
3120
|
+
|
|
3121
|
+
# source://byebug//lib/byebug/commands/step.rb#16
|
|
1295
3122
|
def regexp; end
|
|
3123
|
+
|
|
3124
|
+
# source://byebug//lib/byebug/commands/step.rb#28
|
|
1296
3125
|
def short_description; end
|
|
1297
3126
|
end
|
|
1298
3127
|
end
|
|
1299
3128
|
|
|
3129
|
+
# Subcommand additions.
|
|
3130
|
+
#
|
|
3131
|
+
# source://byebug//lib/byebug/subcommands.rb#12
|
|
1300
3132
|
module Byebug::Subcommands
|
|
1301
3133
|
extend ::Forwardable
|
|
1302
3134
|
|
|
1303
3135
|
mixes_in_class_methods ::Byebug::Subcommands::ClassMethods
|
|
1304
3136
|
|
|
3137
|
+
# Delegates to subcommands or prints help if no subcommand specified.
|
|
3138
|
+
#
|
|
3139
|
+
# @raise [CommandNotFound]
|
|
3140
|
+
#
|
|
3141
|
+
# source://byebug//lib/byebug/subcommands.rb#23
|
|
1305
3142
|
def execute; end
|
|
1306
|
-
|
|
3143
|
+
|
|
3144
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
|
3145
|
+
def subcommand_list(*args, **_arg1, &block); end
|
|
1307
3146
|
|
|
1308
3147
|
class << self
|
|
3148
|
+
# @private
|
|
3149
|
+
#
|
|
3150
|
+
# source://byebug//lib/byebug/subcommands.rb#13
|
|
1309
3151
|
def included(command); end
|
|
1310
3152
|
end
|
|
1311
3153
|
end
|
|
1312
3154
|
|
|
3155
|
+
# Class methods added to subcommands
|
|
3156
|
+
#
|
|
3157
|
+
# source://byebug//lib/byebug/subcommands.rb#36
|
|
1313
3158
|
module Byebug::Subcommands::ClassMethods
|
|
1314
3159
|
include ::Byebug::Helpers::ReflectionHelper
|
|
1315
3160
|
|
|
3161
|
+
# Default help text for a command with subcommands
|
|
3162
|
+
#
|
|
3163
|
+
# source://byebug//lib/byebug/subcommands.rb#42
|
|
1316
3164
|
def help; end
|
|
3165
|
+
|
|
3166
|
+
# Command's subcommands.
|
|
3167
|
+
#
|
|
3168
|
+
# source://byebug//lib/byebug/subcommands.rb#49
|
|
1317
3169
|
def subcommand_list; end
|
|
1318
3170
|
end
|
|
1319
3171
|
|
|
3172
|
+
# Manipulation of Ruby threads
|
|
3173
|
+
#
|
|
3174
|
+
# source://byebug//lib/byebug/commands/thread/current.rb#9
|
|
1320
3175
|
class Byebug::ThreadCommand < ::Byebug::Command
|
|
1321
3176
|
include ::Byebug::Subcommands
|
|
1322
3177
|
extend ::Byebug::Helpers::ReflectionHelper
|
|
1323
3178
|
extend ::Byebug::Subcommands::ClassMethods
|
|
1324
3179
|
|
|
1325
3180
|
class << self
|
|
3181
|
+
# source://byebug//lib/byebug/commands/thread.rb#22
|
|
1326
3182
|
def description; end
|
|
3183
|
+
|
|
3184
|
+
# source://byebug//lib/byebug/commands/thread.rb#18
|
|
1327
3185
|
def regexp; end
|
|
3186
|
+
|
|
3187
|
+
# source://byebug//lib/byebug/commands/thread.rb#30
|
|
1328
3188
|
def short_description; end
|
|
1329
3189
|
end
|
|
1330
3190
|
end
|
|
1331
3191
|
|
|
3192
|
+
# Information about the current thread
|
|
3193
|
+
#
|
|
3194
|
+
# source://byebug//lib/byebug/commands/thread/current.rb#13
|
|
1332
3195
|
class Byebug::ThreadCommand::CurrentCommand < ::Byebug::Command
|
|
1333
3196
|
include ::Byebug::Helpers::ThreadHelper
|
|
1334
3197
|
|
|
3198
|
+
# source://byebug//lib/byebug/commands/thread/current.rb#32
|
|
1335
3199
|
def execute; end
|
|
1336
3200
|
|
|
1337
3201
|
class << self
|
|
3202
|
+
# source://byebug//lib/byebug/commands/thread/current.rb#20
|
|
1338
3203
|
def description; end
|
|
3204
|
+
|
|
3205
|
+
# source://byebug//lib/byebug/commands/thread/current.rb#16
|
|
1339
3206
|
def regexp; end
|
|
3207
|
+
|
|
3208
|
+
# source://byebug//lib/byebug/commands/thread/current.rb#28
|
|
1340
3209
|
def short_description; end
|
|
1341
3210
|
end
|
|
1342
3211
|
end
|
|
1343
3212
|
|
|
3213
|
+
# Information about threads
|
|
3214
|
+
#
|
|
3215
|
+
# source://byebug//lib/byebug/commands/thread/list.rb#13
|
|
1344
3216
|
class Byebug::ThreadCommand::ListCommand < ::Byebug::Command
|
|
1345
3217
|
include ::Byebug::Helpers::ThreadHelper
|
|
1346
3218
|
|
|
3219
|
+
# source://byebug//lib/byebug/commands/thread/list.rb#32
|
|
1347
3220
|
def execute; end
|
|
1348
3221
|
|
|
1349
3222
|
class << self
|
|
3223
|
+
# source://byebug//lib/byebug/commands/thread/list.rb#20
|
|
1350
3224
|
def description; end
|
|
3225
|
+
|
|
3226
|
+
# source://byebug//lib/byebug/commands/thread/list.rb#16
|
|
1351
3227
|
def regexp; end
|
|
3228
|
+
|
|
3229
|
+
# source://byebug//lib/byebug/commands/thread/list.rb#28
|
|
1352
3230
|
def short_description; end
|
|
1353
3231
|
end
|
|
1354
3232
|
end
|
|
1355
3233
|
|
|
3234
|
+
# Resumes the specified thread
|
|
3235
|
+
#
|
|
3236
|
+
# source://byebug//lib/byebug/commands/thread/resume.rb#13
|
|
1356
3237
|
class Byebug::ThreadCommand::ResumeCommand < ::Byebug::Command
|
|
1357
3238
|
include ::Byebug::Helpers::ThreadHelper
|
|
1358
3239
|
|
|
3240
|
+
# source://byebug//lib/byebug/commands/thread/resume.rb#32
|
|
1359
3241
|
def execute; end
|
|
1360
3242
|
|
|
1361
3243
|
class << self
|
|
3244
|
+
# source://byebug//lib/byebug/commands/thread/resume.rb#20
|
|
1362
3245
|
def description; end
|
|
3246
|
+
|
|
3247
|
+
# source://byebug//lib/byebug/commands/thread/resume.rb#16
|
|
1363
3248
|
def regexp; end
|
|
3249
|
+
|
|
3250
|
+
# source://byebug//lib/byebug/commands/thread/resume.rb#28
|
|
1364
3251
|
def short_description; end
|
|
1365
3252
|
end
|
|
1366
3253
|
end
|
|
1367
3254
|
|
|
3255
|
+
# Stops the specified thread
|
|
3256
|
+
#
|
|
3257
|
+
# source://byebug//lib/byebug/commands/thread/stop.rb#13
|
|
1368
3258
|
class Byebug::ThreadCommand::StopCommand < ::Byebug::Command
|
|
1369
3259
|
include ::Byebug::Helpers::ThreadHelper
|
|
1370
3260
|
|
|
3261
|
+
# source://byebug//lib/byebug/commands/thread/stop.rb#32
|
|
1371
3262
|
def execute; end
|
|
1372
3263
|
|
|
1373
3264
|
class << self
|
|
3265
|
+
# source://byebug//lib/byebug/commands/thread/stop.rb#20
|
|
1374
3266
|
def description; end
|
|
3267
|
+
|
|
3268
|
+
# source://byebug//lib/byebug/commands/thread/stop.rb#16
|
|
1375
3269
|
def regexp; end
|
|
3270
|
+
|
|
3271
|
+
# source://byebug//lib/byebug/commands/thread/stop.rb#28
|
|
1376
3272
|
def short_description; end
|
|
1377
3273
|
end
|
|
1378
3274
|
end
|
|
1379
3275
|
|
|
3276
|
+
# Switches to the specified thread
|
|
3277
|
+
#
|
|
3278
|
+
# source://byebug//lib/byebug/commands/thread/switch.rb#13
|
|
1380
3279
|
class Byebug::ThreadCommand::SwitchCommand < ::Byebug::Command
|
|
1381
3280
|
include ::Byebug::Helpers::ThreadHelper
|
|
1382
3281
|
|
|
3282
|
+
# source://byebug//lib/byebug/commands/thread/switch.rb#32
|
|
1383
3283
|
def execute; end
|
|
1384
3284
|
|
|
1385
3285
|
class << self
|
|
3286
|
+
# source://byebug//lib/byebug/commands/thread/switch.rb#20
|
|
1386
3287
|
def description; end
|
|
3288
|
+
|
|
3289
|
+
# source://byebug//lib/byebug/commands/thread/switch.rb#16
|
|
1387
3290
|
def regexp; end
|
|
3291
|
+
|
|
3292
|
+
# source://byebug//lib/byebug/commands/thread/switch.rb#28
|
|
1388
3293
|
def short_description; end
|
|
1389
3294
|
end
|
|
1390
3295
|
end
|
|
1391
3296
|
|
|
1392
3297
|
class Byebug::ThreadsTable; end
|
|
1393
3298
|
|
|
3299
|
+
# Show (and possibily stop) at every line that changes a global variable.
|
|
3300
|
+
#
|
|
3301
|
+
# source://byebug//lib/byebug/commands/tracevar.rb#9
|
|
1394
3302
|
class Byebug::TracevarCommand < ::Byebug::Command
|
|
3303
|
+
# source://byebug//lib/byebug/commands/tracevar.rb#32
|
|
1395
3304
|
def execute; end
|
|
1396
3305
|
|
|
1397
3306
|
private
|
|
1398
3307
|
|
|
3308
|
+
# source://byebug//lib/byebug/commands/tracevar.rb#48
|
|
1399
3309
|
def on_change(name, value, stop); end
|
|
1400
3310
|
|
|
1401
3311
|
class << self
|
|
3312
|
+
# source://byebug//lib/byebug/commands/tracevar.rb#16
|
|
1402
3313
|
def description; end
|
|
3314
|
+
|
|
3315
|
+
# source://byebug//lib/byebug/commands/tracevar.rb#10
|
|
1403
3316
|
def regexp; end
|
|
3317
|
+
|
|
3318
|
+
# source://byebug//lib/byebug/commands/tracevar.rb#28
|
|
1404
3319
|
def short_description; end
|
|
1405
3320
|
end
|
|
1406
3321
|
end
|
|
1407
3322
|
|
|
3323
|
+
# Remove expressions from display list.
|
|
3324
|
+
#
|
|
3325
|
+
# source://byebug//lib/byebug/commands/undisplay.rb#10
|
|
1408
3326
|
class Byebug::UndisplayCommand < ::Byebug::Command
|
|
1409
3327
|
include ::Byebug::Helpers::ParseHelper
|
|
1410
3328
|
|
|
3329
|
+
# source://byebug//lib/byebug/commands/undisplay.rb#35
|
|
1411
3330
|
def execute; end
|
|
1412
3331
|
|
|
1413
3332
|
class << self
|
|
3333
|
+
# source://byebug//lib/byebug/commands/undisplay.rb#19
|
|
1414
3334
|
def description; end
|
|
3335
|
+
|
|
3336
|
+
# source://byebug//lib/byebug/commands/undisplay.rb#15
|
|
1415
3337
|
def regexp; end
|
|
3338
|
+
|
|
3339
|
+
# source://byebug//lib/byebug/commands/undisplay.rb#31
|
|
1416
3340
|
def short_description; end
|
|
1417
3341
|
end
|
|
1418
3342
|
end
|
|
1419
3343
|
|
|
3344
|
+
# Stop tracing a global variable.
|
|
3345
|
+
#
|
|
3346
|
+
# source://byebug//lib/byebug/commands/untracevar.rb#9
|
|
1420
3347
|
class Byebug::UntracevarCommand < ::Byebug::Command
|
|
3348
|
+
# source://byebug//lib/byebug/commands/untracevar.rb#26
|
|
1421
3349
|
def execute; end
|
|
1422
3350
|
|
|
1423
3351
|
class << self
|
|
3352
|
+
# source://byebug//lib/byebug/commands/untracevar.rb#14
|
|
1424
3353
|
def description; end
|
|
3354
|
+
|
|
3355
|
+
# source://byebug//lib/byebug/commands/untracevar.rb#10
|
|
1425
3356
|
def regexp; end
|
|
3357
|
+
|
|
3358
|
+
# source://byebug//lib/byebug/commands/untracevar.rb#22
|
|
1426
3359
|
def short_description; end
|
|
1427
3360
|
end
|
|
1428
3361
|
end
|
|
1429
3362
|
|
|
3363
|
+
# Move the current frame up in the backtrace.
|
|
3364
|
+
#
|
|
3365
|
+
# source://byebug//lib/byebug/commands/up.rb#12
|
|
1430
3366
|
class Byebug::UpCommand < ::Byebug::Command
|
|
1431
3367
|
include ::Byebug::Helpers::FrameHelper
|
|
1432
3368
|
include ::Byebug::Helpers::ParseHelper
|
|
1433
3369
|
|
|
3370
|
+
# source://byebug//lib/byebug/commands/up.rb#36
|
|
1434
3371
|
def execute; end
|
|
1435
3372
|
|
|
1436
3373
|
class << self
|
|
3374
|
+
# source://byebug//lib/byebug/commands/up.rb#22
|
|
1437
3375
|
def description; end
|
|
3376
|
+
|
|
3377
|
+
# source://byebug//lib/byebug/commands/up.rb#18
|
|
1438
3378
|
def regexp; end
|
|
3379
|
+
|
|
3380
|
+
# source://byebug//lib/byebug/commands/up.rb#32
|
|
1439
3381
|
def short_description; end
|
|
1440
3382
|
end
|
|
1441
3383
|
end
|
|
1442
3384
|
|
|
3385
|
+
# Shows variables and its values
|
|
3386
|
+
#
|
|
3387
|
+
# source://byebug//lib/byebug/commands/var/all.rb#9
|
|
1443
3388
|
class Byebug::VarCommand < ::Byebug::Command
|
|
1444
3389
|
include ::Byebug::Subcommands
|
|
1445
3390
|
extend ::Byebug::Helpers::ReflectionHelper
|
|
1446
3391
|
extend ::Byebug::Subcommands::ClassMethods
|
|
1447
3392
|
|
|
1448
3393
|
class << self
|
|
3394
|
+
# source://byebug//lib/byebug/commands/var.rb#25
|
|
1449
3395
|
def description; end
|
|
3396
|
+
|
|
3397
|
+
# source://byebug//lib/byebug/commands/var.rb#21
|
|
1450
3398
|
def regexp; end
|
|
3399
|
+
|
|
3400
|
+
# source://byebug//lib/byebug/commands/var.rb#33
|
|
1451
3401
|
def short_description; end
|
|
1452
3402
|
end
|
|
1453
3403
|
end
|
|
1454
3404
|
|
|
3405
|
+
# Shows global, instance and local variables
|
|
3406
|
+
#
|
|
3407
|
+
# source://byebug//lib/byebug/commands/var/all.rb#13
|
|
1455
3408
|
class Byebug::VarCommand::AllCommand < ::Byebug::Command
|
|
1456
3409
|
include ::Byebug::Helpers::EvalHelper
|
|
1457
3410
|
include ::Byebug::Helpers::VarHelper
|
|
1458
3411
|
|
|
3412
|
+
# source://byebug//lib/byebug/commands/var/all.rb#34
|
|
1459
3413
|
def execute; end
|
|
1460
3414
|
|
|
1461
3415
|
class << self
|
|
3416
|
+
# source://byebug//lib/byebug/commands/var/all.rb#22
|
|
1462
3417
|
def description; end
|
|
3418
|
+
|
|
3419
|
+
# source://byebug//lib/byebug/commands/var/all.rb#18
|
|
1463
3420
|
def regexp; end
|
|
3421
|
+
|
|
3422
|
+
# source://byebug//lib/byebug/commands/var/all.rb#30
|
|
1464
3423
|
def short_description; end
|
|
1465
3424
|
end
|
|
1466
3425
|
end
|
|
1467
3426
|
|
|
3427
|
+
# Information about arguments of the current method/block
|
|
3428
|
+
#
|
|
3429
|
+
# source://byebug//lib/byebug/commands/var/args.rb#13
|
|
1468
3430
|
class Byebug::VarCommand::ArgsCommand < ::Byebug::Command
|
|
1469
3431
|
include ::Byebug::Helpers::EvalHelper
|
|
1470
3432
|
include ::Byebug::Helpers::VarHelper
|
|
1471
3433
|
|
|
3434
|
+
# source://byebug//lib/byebug/commands/var/args.rb#34
|
|
1472
3435
|
def execute; end
|
|
1473
3436
|
|
|
1474
3437
|
class << self
|
|
3438
|
+
# source://byebug//lib/byebug/commands/var/args.rb#22
|
|
1475
3439
|
def description; end
|
|
3440
|
+
|
|
3441
|
+
# source://byebug//lib/byebug/commands/var/args.rb#18
|
|
1476
3442
|
def regexp; end
|
|
3443
|
+
|
|
3444
|
+
# source://byebug//lib/byebug/commands/var/args.rb#30
|
|
1477
3445
|
def short_description; end
|
|
1478
3446
|
end
|
|
1479
3447
|
end
|
|
1480
3448
|
|
|
3449
|
+
# Shows constants
|
|
3450
|
+
#
|
|
3451
|
+
# source://byebug//lib/byebug/commands/var/const.rb#13
|
|
1481
3452
|
class Byebug::VarCommand::ConstCommand < ::Byebug::Command
|
|
1482
3453
|
include ::Byebug::Helpers::EvalHelper
|
|
1483
3454
|
|
|
3455
|
+
# source://byebug//lib/byebug/commands/var/const.rb#34
|
|
1484
3456
|
def execute; end
|
|
1485
3457
|
|
|
1486
3458
|
private
|
|
1487
3459
|
|
|
3460
|
+
# source://byebug//lib/byebug/commands/var/const.rb#44
|
|
1488
3461
|
def str_obj; end
|
|
1489
3462
|
|
|
1490
3463
|
class << self
|
|
3464
|
+
# source://byebug//lib/byebug/commands/var/const.rb#22
|
|
1491
3465
|
def description; end
|
|
3466
|
+
|
|
3467
|
+
# source://byebug//lib/byebug/commands/var/const.rb#18
|
|
1492
3468
|
def regexp; end
|
|
3469
|
+
|
|
3470
|
+
# source://byebug//lib/byebug/commands/var/const.rb#30
|
|
1493
3471
|
def short_description; end
|
|
1494
3472
|
end
|
|
1495
3473
|
end
|
|
1496
3474
|
|
|
3475
|
+
# Shows global variables
|
|
3476
|
+
#
|
|
3477
|
+
# source://byebug//lib/byebug/commands/var/global.rb#11
|
|
1497
3478
|
class Byebug::VarCommand::GlobalCommand < ::Byebug::Command
|
|
1498
3479
|
include ::Byebug::Helpers::EvalHelper
|
|
1499
3480
|
include ::Byebug::Helpers::VarHelper
|
|
1500
3481
|
|
|
3482
|
+
# source://byebug//lib/byebug/commands/var/global.rb#32
|
|
1501
3483
|
def execute; end
|
|
1502
3484
|
|
|
1503
3485
|
class << self
|
|
3486
|
+
# source://byebug//lib/byebug/commands/var/global.rb#20
|
|
1504
3487
|
def description; end
|
|
3488
|
+
|
|
3489
|
+
# source://byebug//lib/byebug/commands/var/global.rb#16
|
|
1505
3490
|
def regexp; end
|
|
3491
|
+
|
|
3492
|
+
# source://byebug//lib/byebug/commands/var/global.rb#28
|
|
1506
3493
|
def short_description; end
|
|
1507
3494
|
end
|
|
1508
3495
|
end
|
|
1509
3496
|
|
|
3497
|
+
# Shows instance variables
|
|
3498
|
+
#
|
|
3499
|
+
# source://byebug//lib/byebug/commands/var/instance.rb#13
|
|
1510
3500
|
class Byebug::VarCommand::InstanceCommand < ::Byebug::Command
|
|
1511
3501
|
include ::Byebug::Helpers::EvalHelper
|
|
1512
3502
|
include ::Byebug::Helpers::VarHelper
|
|
1513
3503
|
|
|
3504
|
+
# source://byebug//lib/byebug/commands/var/instance.rb#34
|
|
1514
3505
|
def execute; end
|
|
1515
3506
|
|
|
1516
3507
|
class << self
|
|
3508
|
+
# source://byebug//lib/byebug/commands/var/instance.rb#22
|
|
1517
3509
|
def description; end
|
|
3510
|
+
|
|
3511
|
+
# source://byebug//lib/byebug/commands/var/instance.rb#18
|
|
1518
3512
|
def regexp; end
|
|
3513
|
+
|
|
3514
|
+
# source://byebug//lib/byebug/commands/var/instance.rb#30
|
|
1519
3515
|
def short_description; end
|
|
1520
3516
|
end
|
|
1521
3517
|
end
|
|
1522
3518
|
|
|
3519
|
+
# Shows local variables in current scope
|
|
3520
|
+
#
|
|
3521
|
+
# source://byebug//lib/byebug/commands/var/local.rb#13
|
|
1523
3522
|
class Byebug::VarCommand::LocalCommand < ::Byebug::Command
|
|
1524
3523
|
include ::Byebug::Helpers::EvalHelper
|
|
1525
3524
|
include ::Byebug::Helpers::VarHelper
|
|
1526
3525
|
|
|
3526
|
+
# source://byebug//lib/byebug/commands/var/local.rb#34
|
|
1527
3527
|
def execute; end
|
|
1528
3528
|
|
|
1529
3529
|
class << self
|
|
3530
|
+
# source://byebug//lib/byebug/commands/var/local.rb#22
|
|
1530
3531
|
def description; end
|
|
3532
|
+
|
|
3533
|
+
# source://byebug//lib/byebug/commands/var/local.rb#18
|
|
1531
3534
|
def regexp; end
|
|
3535
|
+
|
|
3536
|
+
# source://byebug//lib/byebug/commands/var/local.rb#30
|
|
1532
3537
|
def short_description; end
|
|
1533
3538
|
end
|
|
1534
3539
|
end
|
|
1535
3540
|
|
|
3541
|
+
# Show current backtrace.
|
|
3542
|
+
#
|
|
3543
|
+
# source://byebug//lib/byebug/commands/where.rb#11
|
|
1536
3544
|
class Byebug::WhereCommand < ::Byebug::Command
|
|
1537
3545
|
include ::Byebug::Helpers::FrameHelper
|
|
1538
3546
|
|
|
3547
|
+
# source://byebug//lib/byebug/commands/where.rb#39
|
|
1539
3548
|
def execute; end
|
|
1540
3549
|
|
|
1541
3550
|
private
|
|
1542
3551
|
|
|
3552
|
+
# source://byebug//lib/byebug/commands/where.rb#45
|
|
1543
3553
|
def print_backtrace; end
|
|
1544
3554
|
|
|
1545
3555
|
class << self
|
|
3556
|
+
# source://byebug//lib/byebug/commands/where.rb#20
|
|
1546
3557
|
def description; end
|
|
3558
|
+
|
|
3559
|
+
# source://byebug//lib/byebug/commands/where.rb#16
|
|
1547
3560
|
def regexp; end
|
|
3561
|
+
|
|
3562
|
+
# source://byebug//lib/byebug/commands/where.rb#35
|
|
1548
3563
|
def short_description; end
|
|
1549
3564
|
end
|
|
1550
3565
|
end
|
|
1551
3566
|
|
|
3567
|
+
# Setting to customize the maximum width of byebug's output.
|
|
3568
|
+
#
|
|
3569
|
+
# source://byebug//lib/byebug/settings/width.rb#9
|
|
1552
3570
|
class Byebug::WidthSetting < ::Byebug::Setting
|
|
3571
|
+
# source://byebug//lib/byebug/settings/width.rb#12
|
|
1553
3572
|
def banner; end
|
|
3573
|
+
|
|
3574
|
+
# source://byebug//lib/byebug/settings/width.rb#16
|
|
1554
3575
|
def to_s; end
|
|
1555
3576
|
end
|
|
1556
3577
|
|
|
3578
|
+
# source://byebug//lib/byebug/settings/width.rb#10
|
|
1557
3579
|
Byebug::WidthSetting::DEFAULT = T.let(T.unsafe(nil), Integer)
|
|
1558
3580
|
|
|
3581
|
+
# Extends the extension class to be able to pass information about the
|
|
3582
|
+
# debugging environment from the c-extension to the user.
|
|
3583
|
+
#
|
|
3584
|
+
# source://byebug//lib/byebug/core.rb#113
|
|
1559
3585
|
class Exception
|
|
1560
|
-
|
|
1561
|
-
|
|
3586
|
+
# Returns the value of attribute __bb_context.
|
|
3587
|
+
#
|
|
3588
|
+
# source://byebug//lib/byebug/core.rb#114
|
|
1562
3589
|
def __bb_context; end
|
|
1563
3590
|
end
|
|
1564
3591
|
|
|
3592
|
+
# Adds a `byebug` method to the Kernel module.
|
|
3593
|
+
#
|
|
3594
|
+
# Dropping a `byebug` call anywhere in your code, you get a debug prompt.
|
|
3595
|
+
#
|
|
3596
|
+
# source://byebug//lib/byebug/attacher.rb#34
|
|
1565
3597
|
module Kernel
|
|
3598
|
+
# source://byebug//lib/byebug/attacher.rb#35
|
|
1566
3599
|
def byebug; end
|
|
3600
|
+
|
|
3601
|
+
# source://byebug//lib/byebug/attacher.rb#35
|
|
1567
3602
|
def debugger; end
|
|
3603
|
+
|
|
3604
|
+
# source://byebug//lib/byebug/attacher.rb#41
|
|
1568
3605
|
def remote_byebug(host = T.unsafe(nil), port = T.unsafe(nil)); end
|
|
1569
3606
|
end
|