stripe 10.9.0.pre.beta.1 → 10.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (216) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +51 -275
  3. data/Gemfile +3 -0
  4. data/Makefile +7 -0
  5. data/OPENAPI_VERSION +1 -1
  6. data/README.md +0 -11
  7. data/VERSION +1 -1
  8. data/bin/tapioca +27 -0
  9. data/lib/stripe/api_operations/request.rb +1 -2
  10. data/lib/stripe/api_resource.rb +10 -1
  11. data/lib/stripe/api_resource_test_helpers.rb +6 -2
  12. data/lib/stripe/api_version.rb +0 -1
  13. data/lib/stripe/list_object.rb +3 -0
  14. data/lib/stripe/object_types.rb +120 -141
  15. data/lib/stripe/resources/account.rb +6 -4
  16. data/lib/stripe/resources/account_link.rb +3 -0
  17. data/lib/stripe/resources/account_session.rb +3 -0
  18. data/lib/stripe/resources/apple_pay_domain.rb +3 -0
  19. data/lib/stripe/resources/application_fee.rb +3 -0
  20. data/lib/stripe/resources/application_fee_refund.rb +3 -0
  21. data/lib/stripe/resources/apps/secret.rb +3 -0
  22. data/lib/stripe/resources/balance.rb +3 -0
  23. data/lib/stripe/resources/balance_transaction.rb +3 -0
  24. data/lib/stripe/resources/bank_account.rb +3 -0
  25. data/lib/stripe/resources/billing_portal/configuration.rb +3 -0
  26. data/lib/stripe/resources/billing_portal/session.rb +3 -0
  27. data/lib/stripe/resources/capability.rb +3 -0
  28. data/lib/stripe/resources/card.rb +3 -0
  29. data/lib/stripe/resources/cash_balance.rb +3 -0
  30. data/lib/stripe/resources/charge.rb +3 -0
  31. data/lib/stripe/resources/checkout/session.rb +3 -0
  32. data/lib/stripe/resources/climate/order.rb +3 -0
  33. data/lib/stripe/resources/climate/product.rb +3 -0
  34. data/lib/stripe/resources/climate/supplier.rb +3 -0
  35. data/lib/stripe/resources/country_spec.rb +3 -0
  36. data/lib/stripe/resources/coupon.rb +3 -0
  37. data/lib/stripe/resources/credit_note.rb +3 -0
  38. data/lib/stripe/resources/credit_note_line_item.rb +3 -0
  39. data/lib/stripe/resources/customer.rb +7 -13
  40. data/lib/stripe/resources/customer_balance_transaction.rb +3 -0
  41. data/lib/stripe/resources/customer_cash_balance_transaction.rb +3 -0
  42. data/lib/stripe/resources/customer_session.rb +3 -0
  43. data/lib/stripe/resources/discount.rb +3 -0
  44. data/lib/stripe/resources/dispute.rb +3 -0
  45. data/lib/stripe/resources/ephemeral_key.rb +3 -0
  46. data/lib/stripe/resources/event.rb +3 -0
  47. data/lib/stripe/resources/exchange_rate.rb +3 -0
  48. data/lib/stripe/resources/file.rb +6 -0
  49. data/lib/stripe/resources/file_link.rb +3 -0
  50. data/lib/stripe/resources/financial_connections/account.rb +3 -3
  51. data/lib/stripe/resources/financial_connections/account_owner.rb +3 -0
  52. data/lib/stripe/resources/financial_connections/account_ownership.rb +3 -0
  53. data/lib/stripe/resources/financial_connections/session.rb +3 -0
  54. data/lib/stripe/resources/financial_connections/transaction.rb +3 -0
  55. data/lib/stripe/resources/funding_instructions.rb +3 -0
  56. data/lib/stripe/resources/identity/verification_report.rb +3 -0
  57. data/lib/stripe/resources/identity/verification_session.rb +3 -0
  58. data/lib/stripe/resources/invoice.rb +2 -52
  59. data/lib/stripe/resources/invoice_item.rb +3 -0
  60. data/lib/stripe/resources/invoice_line_item.rb +3 -0
  61. data/lib/stripe/resources/issuing/authorization.rb +6 -0
  62. data/lib/stripe/resources/issuing/card.rb +6 -0
  63. data/lib/stripe/resources/issuing/cardholder.rb +3 -0
  64. data/lib/stripe/resources/issuing/dispute.rb +3 -0
  65. data/lib/stripe/resources/issuing/token.rb +3 -0
  66. data/lib/stripe/resources/issuing/transaction.rb +6 -0
  67. data/lib/stripe/resources/line_item.rb +3 -0
  68. data/lib/stripe/resources/login_link.rb +3 -0
  69. data/lib/stripe/resources/mandate.rb +3 -0
  70. data/lib/stripe/resources/payment_intent.rb +5 -4
  71. data/lib/stripe/resources/payment_link.rb +3 -0
  72. data/lib/stripe/resources/payment_method.rb +3 -0
  73. data/lib/stripe/resources/payment_method_configuration.rb +3 -0
  74. data/lib/stripe/resources/payment_method_domain.rb +3 -0
  75. data/lib/stripe/resources/payout.rb +3 -0
  76. data/lib/stripe/resources/person.rb +3 -0
  77. data/lib/stripe/resources/plan.rb +3 -0
  78. data/lib/stripe/resources/price.rb +3 -0
  79. data/lib/stripe/resources/product.rb +3 -0
  80. data/lib/stripe/resources/promotion_code.rb +3 -0
  81. data/lib/stripe/resources/quote.rb +3 -104
  82. data/lib/stripe/resources/radar/early_fraud_warning.rb +3 -0
  83. data/lib/stripe/resources/radar/value_list.rb +3 -0
  84. data/lib/stripe/resources/radar/value_list_item.rb +3 -0
  85. data/lib/stripe/resources/refund.rb +6 -0
  86. data/lib/stripe/resources/reporting/report_run.rb +3 -0
  87. data/lib/stripe/resources/reporting/report_type.rb +3 -0
  88. data/lib/stripe/resources/reversal.rb +3 -0
  89. data/lib/stripe/resources/review.rb +3 -0
  90. data/lib/stripe/resources/setup_attempt.rb +3 -0
  91. data/lib/stripe/resources/setup_intent.rb +3 -0
  92. data/lib/stripe/resources/shipping_rate.rb +3 -0
  93. data/lib/stripe/resources/sigma/scheduled_query_run.rb +3 -0
  94. data/lib/stripe/resources/source.rb +3 -0
  95. data/lib/stripe/resources/source_transaction.rb +3 -0
  96. data/lib/stripe/resources/subscription.rb +3 -0
  97. data/lib/stripe/resources/subscription_item.rb +3 -0
  98. data/lib/stripe/resources/subscription_schedule.rb +2 -19
  99. data/lib/stripe/resources/tax/calculation.rb +3 -0
  100. data/lib/stripe/resources/tax/calculation_line_item.rb +3 -0
  101. data/lib/stripe/resources/tax/registration.rb +3 -0
  102. data/lib/stripe/resources/tax/settings.rb +3 -0
  103. data/lib/stripe/resources/tax/transaction.rb +3 -0
  104. data/lib/stripe/resources/tax/transaction_line_item.rb +3 -0
  105. data/lib/stripe/resources/tax_code.rb +3 -0
  106. data/lib/stripe/resources/tax_id.rb +5 -4
  107. data/lib/stripe/resources/tax_rate.rb +3 -0
  108. data/lib/stripe/resources/terminal/configuration.rb +3 -0
  109. data/lib/stripe/resources/terminal/connection_token.rb +3 -0
  110. data/lib/stripe/resources/terminal/location.rb +3 -0
  111. data/lib/stripe/resources/terminal/reader.rb +6 -60
  112. data/lib/stripe/resources/test_helpers/test_clock.rb +3 -0
  113. data/lib/stripe/resources/token.rb +3 -0
  114. data/lib/stripe/resources/topup.rb +3 -0
  115. data/lib/stripe/resources/transfer.rb +3 -0
  116. data/lib/stripe/resources/treasury/credit_reversal.rb +3 -0
  117. data/lib/stripe/resources/treasury/debit_reversal.rb +3 -0
  118. data/lib/stripe/resources/treasury/financial_account.rb +3 -0
  119. data/lib/stripe/resources/treasury/financial_account_features.rb +3 -0
  120. data/lib/stripe/resources/treasury/inbound_transfer.rb +6 -0
  121. data/lib/stripe/resources/treasury/outbound_payment.rb +6 -0
  122. data/lib/stripe/resources/treasury/outbound_transfer.rb +6 -0
  123. data/lib/stripe/resources/treasury/received_credit.rb +6 -0
  124. data/lib/stripe/resources/treasury/received_debit.rb +6 -0
  125. data/lib/stripe/resources/treasury/transaction.rb +3 -0
  126. data/lib/stripe/resources/treasury/transaction_entry.rb +3 -0
  127. data/lib/stripe/resources/usage_record.rb +3 -0
  128. data/lib/stripe/resources/usage_record_summary.rb +3 -0
  129. data/lib/stripe/resources/webhook_endpoint.rb +3 -0
  130. data/lib/stripe/resources.rb +0 -22
  131. data/lib/stripe/search_result_object.rb +3 -0
  132. data/lib/stripe/singleton_api_resource.rb +1 -1
  133. data/lib/stripe/stripe_client.rb +28 -62
  134. data/lib/stripe/stripe_configuration.rb +1 -2
  135. data/lib/stripe/util.rb +1 -8
  136. data/lib/stripe/version.rb +1 -1
  137. data/lib/stripe.rb +0 -46
  138. data/sorbet/config +4 -0
  139. data/sorbet/rbi/annotations/.gitattributes +1 -0
  140. data/sorbet/rbi/annotations/coveralls_reborn.rbi +3 -0
  141. data/sorbet/rbi/gems/.gitattributes +1 -0
  142. data/sorbet/rbi/gems/addressable@2.8.6.rbi +1993 -0
  143. data/sorbet/rbi/gems/ast@2.4.2.rbi +584 -0
  144. data/sorbet/rbi/gems/byebug@11.1.3.rbi +3606 -0
  145. data/sorbet/rbi/gems/coderay@1.1.3.rbi +3437 -0
  146. data/sorbet/rbi/gems/coveralls_reborn@0.25.0.rbi +8 -0
  147. data/sorbet/rbi/gems/crack@0.4.5.rbi +144 -0
  148. data/sorbet/rbi/gems/docile@1.4.0.rbi +8 -0
  149. data/sorbet/rbi/gems/erubi@1.12.0.rbi +146 -0
  150. data/sorbet/rbi/gems/hashdiff@1.1.0.rbi +352 -0
  151. data/sorbet/rbi/gems/jaro_winkler@1.5.4.rbi +19 -0
  152. data/sorbet/rbi/gems/json@2.7.1.rbi +1561 -0
  153. data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +14237 -0
  154. data/sorbet/rbi/gems/method_source@1.0.0.rbi +272 -0
  155. data/sorbet/rbi/gems/mocha@1.16.1.rbi +11 -0
  156. data/sorbet/rbi/gems/netrc@0.11.0.rbi +161 -0
  157. data/sorbet/rbi/gems/parallel@1.24.0.rbi +280 -0
  158. data/sorbet/rbi/gems/parser@3.2.2.4.rbi +9454 -0
  159. data/sorbet/rbi/gems/power_assert@2.0.3.rbi +414 -0
  160. data/sorbet/rbi/gems/prettier_print@1.2.1.rbi +951 -0
  161. data/sorbet/rbi/gems/prism@0.19.0.rbi +29883 -0
  162. data/sorbet/rbi/gems/pry-byebug@3.10.1.rbi +1150 -0
  163. data/sorbet/rbi/gems/pry@0.14.2.rbi +10085 -0
  164. data/sorbet/rbi/gems/public_suffix@5.0.4.rbi +931 -0
  165. data/sorbet/rbi/gems/racc@1.7.3.rbi +161 -0
  166. data/sorbet/rbi/gems/rack@3.0.8.rbi +5193 -0
  167. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +402 -0
  168. data/sorbet/rbi/gems/rake@13.1.0.rbi +2884 -0
  169. data/sorbet/rbi/gems/rbi@0.1.6.rbi +2922 -0
  170. data/sorbet/rbi/gems/regexp_parser@2.8.3.rbi +3766 -0
  171. data/sorbet/rbi/gems/rexml@3.2.6.rbi +4887 -0
  172. data/sorbet/rbi/gems/rubocop-ast@1.30.0.rbi +7004 -0
  173. data/sorbet/rbi/gems/rubocop@1.57.2.rbi +56919 -0
  174. data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +1317 -0
  175. data/sorbet/rbi/gems/shoulda-context@2.0.0.rbi +555 -0
  176. data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +8 -0
  177. data/sorbet/rbi/gems/simplecov@0.21.2.rbi +8 -0
  178. data/sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi +8 -0
  179. data/sorbet/rbi/gems/spoom@1.2.4.rbi +3777 -0
  180. data/sorbet/rbi/gems/sync@0.5.0.rbi +8 -0
  181. data/sorbet/rbi/gems/syntax_tree@6.2.0.rbi +23136 -0
  182. data/sorbet/rbi/gems/tapioca@0.11.17.rbi +3503 -0
  183. data/sorbet/rbi/gems/term-ansicolor@1.7.1.rbi +8 -0
  184. data/sorbet/rbi/gems/test-unit@3.6.1.rbi +4403 -0
  185. data/sorbet/rbi/gems/thor@1.3.0.rbi +4345 -0
  186. data/sorbet/rbi/gems/tins@1.32.1.rbi +8 -0
  187. data/sorbet/rbi/gems/unicode-display_width@2.5.0.rbi +65 -0
  188. data/sorbet/rbi/gems/webmock@3.19.1.rbi +1740 -0
  189. data/sorbet/rbi/gems/yard-sorbet@0.8.1.rbi +428 -0
  190. data/sorbet/rbi/gems/yard@0.9.34.rbi +18219 -0
  191. data/sorbet/tapioca/config.yml +13 -0
  192. data/sorbet/tapioca/require.rb +4 -0
  193. metadata +61 -27
  194. data/lib/stripe/request_signing_authenticator.rb +0 -79
  195. data/lib/stripe/resources/account_notice.rb +0 -29
  196. data/lib/stripe/resources/capital/financing_offer.rb +0 -46
  197. data/lib/stripe/resources/capital/financing_summary.rb +0 -12
  198. data/lib/stripe/resources/capital/financing_transaction.rb +0 -24
  199. data/lib/stripe/resources/confirmation_token.rb +0 -13
  200. data/lib/stripe/resources/customer_entitlement.rb +0 -9
  201. data/lib/stripe/resources/customer_entitlement_summary.rb +0 -9
  202. data/lib/stripe/resources/entitlements/event.rb +0 -23
  203. data/lib/stripe/resources/entitlements/feature.rb +0 -35
  204. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -11
  205. data/lib/stripe/resources/gift_cards/card.rb +0 -56
  206. data/lib/stripe/resources/gift_cards/transaction.rb +0 -90
  207. data/lib/stripe/resources/invoice_payment.rb +0 -9
  208. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -85
  209. data/lib/stripe/resources/issuing/personalization_design.rb +0 -113
  210. data/lib/stripe/resources/issuing/physical_bundle.rb +0 -23
  211. data/lib/stripe/resources/margin.rb +0 -34
  212. data/lib/stripe/resources/order.rb +0 -117
  213. data/lib/stripe/resources/quote_phase.rb +0 -36
  214. data/lib/stripe/resources/quote_preview_invoice.rb +0 -40
  215. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -8
  216. data/lib/stripe/resources/tax/form.rb +0 -46
@@ -0,0 +1,3606 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `byebug` gem.
5
+ # Please instead update this file by running `bin/tapioca gem byebug`.
6
+
7
+ # Main Container for all of Byebug's code
8
+ #
9
+ # source://byebug//lib/byebug/attacher.rb#6
10
+ module Byebug
11
+ include ::Byebug::Helpers::ReflectionHelper
12
+ extend ::Byebug::Helpers::ReflectionHelper
13
+ extend ::Byebug
14
+
15
+ # Debugger's display expressions
16
+ #
17
+ # source://byebug//lib/byebug/core.rb#31
18
+ def displays; end
19
+
20
+ # Debugger's display expressions
21
+ #
22
+ # source://byebug//lib/byebug/core.rb#31
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
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
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
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
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
62
+ def run_init_script; end
63
+
64
+ private
65
+
66
+ def add_catchpoint(_arg0); end
67
+ def breakpoints; end
68
+ def catchpoints; end
69
+ def contexts; end
70
+ def current_context; end
71
+ def debug_load(*_arg0); end
72
+ def lock; end
73
+ def post_mortem=(_arg0); end
74
+ def post_mortem?; end
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
82
+ def rc_dirs; end
83
+
84
+ # Runs a initialization script file
85
+ #
86
+ # source://byebug//lib/byebug/core.rb#91
87
+ def run_rc_file(rc_file); end
88
+
89
+ def start; end
90
+ def started?; end
91
+ def stop; end
92
+ def stoppable?; end
93
+ def thread_context(_arg0); end
94
+ def tracing=(_arg0); end
95
+ def tracing?; end
96
+ def unlock; end
97
+ def verbose=(_arg0); end
98
+ def verbose?; end
99
+
100
+ class << self
101
+ # The actual port that the control server is started at
102
+ #
103
+ # source://byebug//lib/byebug/remote.rb#25
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
109
+ def actual_port; end
110
+
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
116
+ def attach; end
117
+
118
+ def breakpoints; end
119
+ def catchpoints; end
120
+ def contexts; end
121
+ def current_context; end
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
128
+ def handle_post_mortem; end
129
+
130
+ # Interrupts the current thread
131
+ #
132
+ # source://byebug//lib/byebug/remote.rb#32
133
+ def interrupt; end
134
+
135
+ # source://byebug//lib/byebug/core.rb#61
136
+ def load_settings; end
137
+
138
+ def lock; end
139
+
140
+ # source://byebug//lib/byebug/remote.rb#59
141
+ def parse_host_and_port(host_port_spec); end
142
+
143
+ def post_mortem=(_arg0); end
144
+ def post_mortem?; end
145
+ def raised_exception; end
146
+
147
+ # source://byebug//lib/byebug/attacher.rb#21
148
+ def spawn(host = T.unsafe(nil), port = T.unsafe(nil)); end
149
+
150
+ def start; end
151
+
152
+ # Connects to the remote byebug
153
+ #
154
+ # source://byebug//lib/byebug/remote.rb#55
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
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
165
+ def start_server(host = T.unsafe(nil), port = T.unsafe(nil)); end
166
+
167
+ def started?; end
168
+ def stop; end
169
+ def stoppable?; end
170
+ def thread_context(_arg0); end
171
+ def tracing=(_arg0); end
172
+ def tracing?; end
173
+ def unlock; end
174
+ def verbose=(_arg0); end
175
+ def verbose?; end
176
+
177
+ # If in remote mode, wait for the remote connection
178
+ #
179
+ # source://byebug//lib/byebug/remote.rb#17
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
185
+ def wait_connection=(_arg0); end
186
+
187
+ private
188
+
189
+ # source://byebug//lib/byebug/remote.rb#66
190
+ def client; end
191
+
192
+ # source://byebug//lib/byebug/remote.rb#76
193
+ def control; end
194
+
195
+ # source://byebug//lib/byebug/remote.rb#70
196
+ def server; end
197
+ end
198
+ end
199
+
200
+ # Setting for automatically invoking IRB on every stop.
201
+ #
202
+ # source://byebug//lib/byebug/settings/autoirb.rb#10
203
+ class Byebug::AutoirbSetting < ::Byebug::Setting
204
+ # @return [AutoirbSetting] a new instance of AutoirbSetting
205
+ #
206
+ # source://byebug//lib/byebug/settings/autoirb.rb#13
207
+ def initialize; end
208
+
209
+ # source://byebug//lib/byebug/settings/autoirb.rb#17
210
+ def banner; end
211
+
212
+ # source://byebug//lib/byebug/settings/autoirb.rb#25
213
+ def value; end
214
+
215
+ # source://byebug//lib/byebug/settings/autoirb.rb#21
216
+ def value=(val); end
217
+ end
218
+
219
+ # source://byebug//lib/byebug/settings/autoirb.rb#11
220
+ Byebug::AutoirbSetting::DEFAULT = T.let(T.unsafe(nil), Integer)
221
+
222
+ # Setting for automatically listing source code on every stop.
223
+ #
224
+ # source://byebug//lib/byebug/settings/autolist.rb#10
225
+ class Byebug::AutolistSetting < ::Byebug::Setting
226
+ # @return [AutolistSetting] a new instance of AutolistSetting
227
+ #
228
+ # source://byebug//lib/byebug/settings/autolist.rb#13
229
+ def initialize; end
230
+
231
+ # source://byebug//lib/byebug/settings/autolist.rb#17
232
+ def banner; end
233
+
234
+ # source://byebug//lib/byebug/settings/autolist.rb#25
235
+ def value; end
236
+
237
+ # source://byebug//lib/byebug/settings/autolist.rb#21
238
+ def value=(val); end
239
+ end
240
+
241
+ # source://byebug//lib/byebug/settings/autolist.rb#11
242
+ Byebug::AutolistSetting::DEFAULT = T.let(T.unsafe(nil), Integer)
243
+
244
+ # Setting for automatically invoking Pry on every stop.
245
+ #
246
+ # source://byebug//lib/byebug/settings/autopry.rb#10
247
+ class Byebug::AutoprySetting < ::Byebug::Setting
248
+ # @return [AutoprySetting] a new instance of AutoprySetting
249
+ #
250
+ # source://byebug//lib/byebug/settings/autopry.rb#13
251
+ def initialize; end
252
+
253
+ # source://byebug//lib/byebug/settings/autopry.rb#17
254
+ def banner; end
255
+
256
+ # source://byebug//lib/byebug/settings/autopry.rb#25
257
+ def value; end
258
+
259
+ # source://byebug//lib/byebug/settings/autopry.rb#21
260
+ def value=(val); end
261
+ end
262
+
263
+ # source://byebug//lib/byebug/settings/autopry.rb#11
264
+ Byebug::AutoprySetting::DEFAULT = T.let(T.unsafe(nil), Integer)
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
270
+ class Byebug::AutosaveSetting < ::Byebug::Setting
271
+ # source://byebug//lib/byebug/settings/autosave.rb#13
272
+ def banner; end
273
+ end
274
+
275
+ # source://byebug//lib/byebug/settings/autosave.rb#11
276
+ Byebug::AutosaveSetting::DEFAULT = T.let(T.unsafe(nil), TrueClass)
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
283
+ class Byebug::BasenameSetting < ::Byebug::Setting
284
+ # source://byebug//lib/byebug/settings/basename.rb#12
285
+ def banner; end
286
+ end
287
+
288
+ # Implements breakpoint functionality
289
+ #
290
+ # source://byebug//lib/byebug/commands/break.rb#13
291
+ class Byebug::BreakCommand < ::Byebug::Command
292
+ include ::Byebug::Helpers::EvalHelper
293
+ include ::Byebug::Helpers::FileHelper
294
+ include ::Byebug::Helpers::ParseHelper
295
+
296
+ # source://byebug//lib/byebug/commands/break.rb#40
297
+ def execute; end
298
+
299
+ private
300
+
301
+ # source://byebug//lib/byebug/commands/break.rb#83
302
+ def add_line_breakpoint(file, line); end
303
+
304
+ # source://byebug//lib/byebug/commands/break.rb#54
305
+ def line_breakpoint(location); end
306
+
307
+ # source://byebug//lib/byebug/commands/break.rb#65
308
+ def method_breakpoint(location); end
309
+
310
+ # source://byebug//lib/byebug/commands/break.rb#74
311
+ def target_object(str); end
312
+
313
+ # source://byebug//lib/byebug/commands/break.rb#104
314
+ def valid_breakpoints_for(path, line); end
315
+
316
+ class << self
317
+ # source://byebug//lib/byebug/commands/break.rb#24
318
+ def description; end
319
+
320
+ # source://byebug//lib/byebug/commands/break.rb#20
321
+ def regexp; end
322
+
323
+ # source://byebug//lib/byebug/commands/break.rb#36
324
+ def short_description; end
325
+ end
326
+ end
327
+
328
+ # Implements breakpoints
329
+ #
330
+ # source://byebug//lib/byebug/breakpoint.rb#7
331
+ class Byebug::Breakpoint
332
+ def initialize(_arg0, _arg1, _arg2); end
333
+
334
+ def enabled=(_arg0); end
335
+ def enabled?; end
336
+ def expr; end
337
+ def expr=(_arg0); end
338
+ def hit_condition; end
339
+ def hit_condition=(_arg0); end
340
+ def hit_count; end
341
+ def hit_value; end
342
+ def hit_value=(_arg0); end
343
+ def id; end
344
+
345
+ # Prints all information associated to the breakpoint
346
+ #
347
+ # source://byebug//lib/byebug/breakpoint.rb#105
348
+ def inspect; end
349
+
350
+ def pos; end
351
+ def source; end
352
+
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
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
366
+ def first; end
367
+
368
+ # Last breakpoint, in order of creation
369
+ #
370
+ # source://byebug//lib/byebug/breakpoint.rb#18
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
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
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
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
403
+ def remove(id); end
404
+
405
+ private
406
+
407
+ # source://byebug//lib/byebug/breakpoint.rb#63
408
+ def potential_lines_with_trace_points(iseq, lines); end
409
+
410
+ # source://byebug//lib/byebug/breakpoint.rb#74
411
+ def potential_lines_without_trace_points(iseq, lines); end
412
+ end
413
+ end
414
+
415
+ # Setting to customize the verbosity level for stack frames.
416
+ #
417
+ # source://byebug//lib/byebug/settings/callstyle.rb#9
418
+ class Byebug::CallstyleSetting < ::Byebug::Setting
419
+ # source://byebug//lib/byebug/settings/callstyle.rb#12
420
+ def banner; end
421
+
422
+ # source://byebug//lib/byebug/settings/callstyle.rb#16
423
+ def to_s; end
424
+ end
425
+
426
+ # source://byebug//lib/byebug/settings/callstyle.rb#10
427
+ Byebug::CallstyleSetting::DEFAULT = T.let(T.unsafe(nil), String)
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
434
+ class Byebug::CatchCommand < ::Byebug::Command
435
+ include ::Byebug::Helpers::EvalHelper
436
+
437
+ # source://byebug//lib/byebug/commands/catch.rb#38
438
+ def execute; end
439
+
440
+ private
441
+
442
+ # source://byebug//lib/byebug/commands/catch.rb#57
443
+ def add(exception); end
444
+
445
+ # source://byebug//lib/byebug/commands/catch.rb#64
446
+ def clear; end
447
+
448
+ # source://byebug//lib/byebug/commands/catch.rb#68
449
+ def info; end
450
+
451
+ # source://byebug//lib/byebug/commands/catch.rb#50
452
+ def remove(exception); end
453
+
454
+ class << self
455
+ # source://byebug//lib/byebug/commands/catch.rb#21
456
+ def description; end
457
+
458
+ # source://byebug//lib/byebug/commands/catch.rb#17
459
+ def regexp; end
460
+
461
+ # source://byebug//lib/byebug/commands/catch.rb#34
462
+ def short_description; end
463
+ end
464
+ end
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
492
+ class Byebug::Command
493
+ extend ::Forwardable
494
+ extend ::Byebug::Helpers::StringHelper
495
+
496
+ # @return [Command] a new instance of Command
497
+ #
498
+ # source://byebug//lib/byebug/command.rb#38
499
+ def initialize(processor, input = T.unsafe(nil)); end
500
+
501
+ # source://byebug//lib/byebug/command.rb#51
502
+ def arguments; end
503
+
504
+ # source://forwardable/1.3.1/forwardable.rb#226
505
+ def confirm(*args, &block); end
506
+
507
+ # source://byebug//lib/byebug/command.rb#43
508
+ def context; end
509
+
510
+ # source://forwardable/1.3.1/forwardable.rb#226
511
+ def errmsg(*args, &block); end
512
+
513
+ # source://byebug//lib/byebug/command.rb#47
514
+ def frame; end
515
+
516
+ # source://forwardable/1.3.1/forwardable.rb#226
517
+ def help(*args, &block); end
518
+
519
+ # source://forwardable/1.3.1/forwardable.rb#226
520
+ def match(*args, &block); end
521
+
522
+ # source://forwardable/1.3.1/forwardable.rb#226
523
+ def pr(*args, &block); end
524
+
525
+ # source://forwardable/1.3.1/forwardable.rb#226
526
+ def prc(*args, &block); end
527
+
528
+ # source://forwardable/1.3.1/forwardable.rb#226
529
+ def print(*args, &block); end
530
+
531
+ # Returns the value of attribute processor.
532
+ #
533
+ # source://byebug//lib/byebug/command.rb#36
534
+ def processor; end
535
+
536
+ # source://forwardable/1.3.1/forwardable.rb#226
537
+ def prv(*args, &block); end
538
+
539
+ # source://forwardable/1.3.1/forwardable.rb#226
540
+ def puts(*args, &block); end
541
+
542
+ class << self
543
+ # Special methods to allow command filtering in processors
544
+ #
545
+ # source://byebug//lib/byebug/command.rb#69
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
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
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
561
+ def allow_in_post_mortem=(_arg0); end
562
+
563
+ # source://byebug//lib/byebug/command.rb#73
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
571
+ def always_run=(_arg0); end
572
+
573
+ # source://byebug//lib/byebug/command.rb#88
574
+ def columnize(width); end
575
+
576
+ # Default help text for a command.
577
+ #
578
+ # source://byebug//lib/byebug/command.rb#99
579
+ def help; end
580
+
581
+ # Command's regexp match against an input
582
+ #
583
+ # source://byebug//lib/byebug/command.rb#106
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
589
+ def to_s; end
590
+ end
591
+ end
592
+
593
+ # Holds an array of subcommands for a command
594
+ #
595
+ # source://byebug//lib/byebug/command_list.rb#9
596
+ class Byebug::CommandList
597
+ include ::Enumerable
598
+
599
+ # @return [CommandList] a new instance of CommandList
600
+ #
601
+ # source://byebug//lib/byebug/command_list.rb#12
602
+ def initialize(commands); end
603
+
604
+ # source://byebug//lib/byebug/command_list.rb#20
605
+ def each; end
606
+
607
+ # source://byebug//lib/byebug/command_list.rb#16
608
+ def match(input); end
609
+
610
+ # source://byebug//lib/byebug/command_list.rb#24
611
+ def to_s; end
612
+
613
+ private
614
+
615
+ # source://byebug//lib/byebug/command_list.rb#30
616
+ def width; end
617
+ end
618
+
619
+ # Custom exception exception to signal "command not found" errors
620
+ #
621
+ # source://byebug//lib/byebug/errors.rb#7
622
+ class Byebug::CommandNotFound < ::NoMethodError
623
+ # @return [CommandNotFound] a new instance of CommandNotFound
624
+ #
625
+ # source://byebug//lib/byebug/errors.rb#8
626
+ def initialize(input, parent = T.unsafe(nil)); end
627
+
628
+ private
629
+
630
+ # source://byebug//lib/byebug/errors.rb#25
631
+ def build_cmd(*args); end
632
+
633
+ # source://byebug//lib/byebug/errors.rb#21
634
+ def help; end
635
+
636
+ # source://byebug//lib/byebug/errors.rb#17
637
+ def name; end
638
+ end
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
648
+ class Byebug::CommandProcessor
649
+ include ::Byebug::Helpers::EvalHelper
650
+ extend ::Forwardable
651
+
652
+ # @return [CommandProcessor] a new instance of CommandProcessor
653
+ #
654
+ # source://byebug//lib/byebug/processors/command_processor.rb#23
655
+ def initialize(context, interface = T.unsafe(nil)); end
656
+
657
+ # source://byebug//lib/byebug/processors/command_processor.rb#64
658
+ def at_breakpoint(brkpt); end
659
+
660
+ # source://byebug//lib/byebug/processors/command_processor.rb#70
661
+ def at_catchpoint(exception); end
662
+
663
+ # source://byebug//lib/byebug/processors/command_processor.rb#80
664
+ def at_end; end
665
+
666
+ # source://byebug//lib/byebug/processors/command_processor.rb#54
667
+ def at_line; end
668
+
669
+ # source://byebug//lib/byebug/processors/command_processor.rb#74
670
+ def at_return(return_value); end
671
+
672
+ # source://byebug//lib/byebug/processors/command_processor.rb#58
673
+ def at_tracing; end
674
+
675
+ # Available commands
676
+ #
677
+ # source://byebug//lib/byebug/processors/command_processor.rb#50
678
+ def command_list; end
679
+
680
+ # source://forwardable/1.3.1/forwardable.rb#226
681
+ def commands(*args, &block); end
682
+
683
+ # source://forwardable/1.3.1/forwardable.rb#226
684
+ def confirm(*args, &block); end
685
+
686
+ # Returns the value of attribute context.
687
+ #
688
+ # source://byebug//lib/byebug/processors/command_processor.rb#21
689
+ def context; end
690
+
691
+ # source://forwardable/1.3.1/forwardable.rb#226
692
+ def errmsg(*args, &block); end
693
+
694
+ # source://forwardable/1.3.1/forwardable.rb#226
695
+ def frame(*args, &block); end
696
+
697
+ # Returns the value of attribute interface.
698
+ #
699
+ # source://byebug//lib/byebug/processors/command_processor.rb#21
700
+ def interface; end
701
+
702
+ # source://forwardable/1.3.1/forwardable.rb#226
703
+ def pr(*args, &block); end
704
+
705
+ # source://forwardable/1.3.1/forwardable.rb#226
706
+ def prc(*args, &block); end
707
+
708
+ # Returns the value of attribute prev_line.
709
+ #
710
+ # source://byebug//lib/byebug/processors/command_processor.rb#20
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
718
+ def prev_line=(_arg0); end
719
+
720
+ # source://byebug//lib/byebug/processors/command_processor.rb#31
721
+ def printer; end
722
+
723
+ # Let the execution continue
724
+ #
725
+ # source://byebug//lib/byebug/processors/command_processor.rb#87
726
+ def proceed!; end
727
+
728
+ # Handle byebug commands.
729
+ #
730
+ # source://byebug//lib/byebug/processors/command_processor.rb#94
731
+ def process_commands; end
732
+
733
+ # source://forwardable/1.3.1/forwardable.rb#226
734
+ def prv(*args, &block); end
735
+
736
+ # source://forwardable/1.3.1/forwardable.rb#226
737
+ def puts(*args, &block); end
738
+
739
+ protected
740
+
741
+ # source://byebug//lib/byebug/processors/command_processor.rb#119
742
+ def after_repl; end
743
+
744
+ # source://byebug//lib/byebug/processors/command_processor.rb#111
745
+ def before_repl; end
746
+
747
+ # Prompt shown before reading a command.
748
+ #
749
+ # source://byebug//lib/byebug/processors/command_processor.rb#107
750
+ def prompt; end
751
+
752
+ # Main byebug's REPL
753
+ #
754
+ # source://byebug//lib/byebug/processors/command_processor.rb#126
755
+ def repl; end
756
+
757
+ private
758
+
759
+ # source://byebug//lib/byebug/processors/command_processor.rb#139
760
+ def auto_cmds_for(run_level); end
761
+
762
+ # Run permanent commands.
763
+ #
764
+ # source://byebug//lib/byebug/processors/command_processor.rb#146
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
773
+ def run_cmd(input); end
774
+
775
+ # source://byebug//lib/byebug/processors/command_processor.rb#167
776
+ def safely; end
777
+ end
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
784
+ class Byebug::ConditionCommand < ::Byebug::Command
785
+ include ::Byebug::Helpers::ParseHelper
786
+
787
+ # source://byebug//lib/byebug/commands/condition.rb#38
788
+ def execute; end
789
+
790
+ class << self
791
+ # source://byebug//lib/byebug/commands/condition.rb#21
792
+ def description; end
793
+
794
+ # source://byebug//lib/byebug/commands/condition.rb#17
795
+ def regexp; end
796
+
797
+ # source://byebug//lib/byebug/commands/condition.rb#34
798
+ def short_description; end
799
+ end
800
+ end
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
807
+ class Byebug::Context
808
+ include ::Byebug::Helpers::FileHelper
809
+ extend ::Byebug::Helpers::PathHelper
810
+ extend ::Forwardable
811
+
812
+ # Breakpoint handler
813
+ #
814
+ # source://byebug//lib/byebug/context.rb#113
815
+ def at_breakpoint(breakpoint); end
816
+
817
+ # Catchpoint handler
818
+ #
819
+ # source://byebug//lib/byebug/context.rb#120
820
+ def at_catchpoint(exception); end
821
+
822
+ # End of class definition handler
823
+ #
824
+ # source://byebug//lib/byebug/context.rb#136
825
+ def at_end; end
826
+
827
+ # Line handler
828
+ #
829
+ # source://byebug//lib/byebug/context.rb#94
830
+ def at_line; end
831
+
832
+ # Return handler
833
+ #
834
+ # source://byebug//lib/byebug/context.rb#127
835
+ def at_return(return_value); end
836
+
837
+ # Tracing handler
838
+ #
839
+ # source://byebug//lib/byebug/context.rb#104
840
+ def at_tracing; end
841
+
842
+ def backtrace; end
843
+ def dead?; end
844
+
845
+ # source://forwardable/1.3.1/forwardable.rb#226
846
+ def file(*args, &block); end
847
+
848
+ # Reader for the current frame
849
+ #
850
+ # source://byebug//lib/byebug/context.rb#46
851
+ def frame; end
852
+
853
+ # Writer for the current frame
854
+ #
855
+ # source://byebug//lib/byebug/context.rb#53
856
+ def frame=(pos); end
857
+
858
+ def frame_binding(*_arg0); end
859
+ def frame_class(*_arg0); end
860
+ def frame_file(*_arg0); end
861
+ def frame_line(*_arg0); end
862
+ def frame_method(*_arg0); end
863
+ def frame_self(*_arg0); end
864
+
865
+ # Current file, line and source code information
866
+ #
867
+ # source://byebug//lib/byebug/context.rb#70
868
+ def full_location; end
869
+
870
+ def ignored?; end
871
+
872
+ # source://byebug//lib/byebug/context.rb#87
873
+ def interrupt; end
874
+
875
+ # source://forwardable/1.3.1/forwardable.rb#226
876
+ def line(*args, &block); end
877
+
878
+ # Current file & line information
879
+ #
880
+ # source://byebug//lib/byebug/context.rb#63
881
+ def location; end
882
+
883
+ def resume; end
884
+
885
+ # Context's stack size
886
+ #
887
+ # source://byebug//lib/byebug/context.rb#79
888
+ def stack_size; end
889
+
890
+ def step_into(*_arg0); end
891
+ def step_out(*_arg0); end
892
+ def step_over(*_arg0); end
893
+ def stop_reason; end
894
+ def suspend; end
895
+ def suspended?; end
896
+ def switch; end
897
+ def thnum; end
898
+ def thread; end
899
+ def tracing; end
900
+ def tracing=(_arg0); end
901
+
902
+ private
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
910
+ def ignored_file?(path); end
911
+
912
+ # source://byebug//lib/byebug/context.rb#144
913
+ def processor; end
914
+
915
+ class << self
916
+ # List of files byebug will ignore while debugging
917
+ #
918
+ # source://byebug//lib/byebug/context.rb#25
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
926
+ def ignored_files=(_arg0); end
927
+
928
+ # source://byebug//lib/byebug/context.rb#32
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
936
+ def interface=(_arg0); end
937
+
938
+ # source://byebug//lib/byebug/context.rb#38
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
946
+ def processor=(_arg0); end
947
+ end
948
+ end
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
956
+ class Byebug::ContinueCommand < ::Byebug::Command
957
+ include ::Byebug::Helpers::ParseHelper
958
+
959
+ # source://byebug//lib/byebug/commands/continue.rb#37
960
+ def execute; end
961
+
962
+ private
963
+
964
+ # source://byebug//lib/byebug/commands/continue.rb#64
965
+ def modifier; end
966
+
967
+ # @return [Boolean]
968
+ #
969
+ # source://byebug//lib/byebug/commands/continue.rb#60
970
+ def unconditionally?; end
971
+
972
+ # @return [Boolean]
973
+ #
974
+ # source://byebug//lib/byebug/commands/continue.rb#56
975
+ def until_line?; end
976
+
977
+ class << self
978
+ # source://byebug//lib/byebug/commands/continue.rb#20
979
+ def description; end
980
+
981
+ # source://byebug//lib/byebug/commands/continue.rb#16
982
+ def regexp; end
983
+
984
+ # source://byebug//lib/byebug/commands/continue.rb#33
985
+ def short_description; end
986
+ end
987
+ end
988
+
989
+ # Processes commands when there's not program running
990
+ #
991
+ # source://byebug//lib/byebug/processors/control_processor.rb#12
992
+ class Byebug::ControlProcessor < ::Byebug::CommandProcessor
993
+ # Available commands
994
+ #
995
+ # source://byebug//lib/byebug/processors/control_processor.rb#13
996
+ def commands; end
997
+
998
+ # Prompt shown before reading a command.
999
+ #
1000
+ # source://byebug//lib/byebug/processors/control_processor.rb#20
1001
+ def prompt; end
1002
+ end
1003
+
1004
+ # Spawns a subdebugger and evaluates the given expression
1005
+ #
1006
+ # source://byebug//lib/byebug/commands/debug.rb#10
1007
+ class Byebug::DebugCommand < ::Byebug::Command
1008
+ include ::Byebug::Helpers::EvalHelper
1009
+
1010
+ # source://byebug//lib/byebug/commands/debug.rb#32
1011
+ def execute; end
1012
+
1013
+ class << self
1014
+ # source://byebug//lib/byebug/commands/debug.rb#17
1015
+ def description; end
1016
+
1017
+ # source://byebug//lib/byebug/commands/debug.rb#13
1018
+ def regexp; end
1019
+
1020
+ # source://byebug//lib/byebug/commands/debug.rb#28
1021
+ def short_description; end
1022
+ end
1023
+ end
1024
+
1025
+ class Byebug::DebugThread < ::Thread
1026
+ class << self
1027
+ def inherited; end
1028
+ end
1029
+ end
1030
+
1031
+ # Implements breakpoint deletion.
1032
+ #
1033
+ # source://byebug//lib/byebug/commands/delete.rb#10
1034
+ class Byebug::DeleteCommand < ::Byebug::Command
1035
+ include ::Byebug::Helpers::ParseHelper
1036
+
1037
+ # source://byebug//lib/byebug/commands/delete.rb#35
1038
+ def execute; end
1039
+
1040
+ class << self
1041
+ # source://byebug//lib/byebug/commands/delete.rb#20
1042
+ def description; end
1043
+
1044
+ # source://byebug//lib/byebug/commands/delete.rb#16
1045
+ def regexp; end
1046
+
1047
+ # source://byebug//lib/byebug/commands/delete.rb#31
1048
+ def short_description; end
1049
+ end
1050
+ end
1051
+
1052
+ # Disabling custom display expressions or breakpoints.
1053
+ #
1054
+ # source://byebug//lib/byebug/commands/disable/breakpoints.rb#12
1055
+ class Byebug::DisableCommand < ::Byebug::Command
1056
+ include ::Byebug::Subcommands
1057
+ extend ::Byebug::Helpers::ReflectionHelper
1058
+ extend ::Byebug::Subcommands::ClassMethods
1059
+
1060
+ class << self
1061
+ # source://byebug//lib/byebug/commands/disable.rb#21
1062
+ def description; end
1063
+
1064
+ # source://byebug//lib/byebug/commands/disable.rb#17
1065
+ def regexp; end
1066
+
1067
+ # source://byebug//lib/byebug/commands/disable.rb#29
1068
+ def short_description; end
1069
+ end
1070
+ end
1071
+
1072
+ # Disables all or specific breakpoints
1073
+ #
1074
+ # source://byebug//lib/byebug/commands/disable/breakpoints.rb#13
1075
+ class Byebug::DisableCommand::BreakpointsCommand < ::Byebug::Command
1076
+ include ::Byebug::Helpers::ParseHelper
1077
+ include ::Byebug::Helpers::ToggleHelper
1078
+
1079
+ # source://byebug//lib/byebug/commands/disable/breakpoints.rb#37
1080
+ def execute; end
1081
+
1082
+ class << self
1083
+ # source://byebug//lib/byebug/commands/disable/breakpoints.rb#22
1084
+ def description; end
1085
+
1086
+ # source://byebug//lib/byebug/commands/disable/breakpoints.rb#18
1087
+ def regexp; end
1088
+
1089
+ # source://byebug//lib/byebug/commands/disable/breakpoints.rb#33
1090
+ def short_description; end
1091
+ end
1092
+ end
1093
+
1094
+ # Enables all or specific displays
1095
+ #
1096
+ # source://byebug//lib/byebug/commands/disable/display.rb#13
1097
+ class Byebug::DisableCommand::DisplayCommand < ::Byebug::Command
1098
+ include ::Byebug::Helpers::ParseHelper
1099
+ include ::Byebug::Helpers::ToggleHelper
1100
+
1101
+ # source://byebug//lib/byebug/commands/disable/display.rb#38
1102
+ def execute; end
1103
+
1104
+ class << self
1105
+ # source://byebug//lib/byebug/commands/disable/display.rb#22
1106
+ def description; end
1107
+
1108
+ # source://byebug//lib/byebug/commands/disable/display.rb#18
1109
+ def regexp; end
1110
+
1111
+ # source://byebug//lib/byebug/commands/disable/display.rb#34
1112
+ def short_description; end
1113
+ end
1114
+ end
1115
+
1116
+ # Custom expressions to be displayed every time the debugger stops.
1117
+ #
1118
+ # source://byebug//lib/byebug/commands/display.rb#10
1119
+ class Byebug::DisplayCommand < ::Byebug::Command
1120
+ include ::Byebug::Helpers::EvalHelper
1121
+
1122
+ # source://byebug//lib/byebug/commands/display.rb#35
1123
+ def execute; end
1124
+
1125
+ private
1126
+
1127
+ # source://byebug//lib/byebug/commands/display.rb#44
1128
+ def display_expression(exp); end
1129
+
1130
+ # source://byebug//lib/byebug/commands/display.rb#60
1131
+ def eval_expr(expression); end
1132
+
1133
+ # source://byebug//lib/byebug/commands/display.rb#50
1134
+ def print_display_expressions; end
1135
+
1136
+ class << self
1137
+ # source://byebug//lib/byebug/commands/display.rb#20
1138
+ def description; end
1139
+
1140
+ # source://byebug//lib/byebug/commands/display.rb#16
1141
+ def regexp; end
1142
+
1143
+ # source://byebug//lib/byebug/commands/display.rb#31
1144
+ def short_description; end
1145
+ end
1146
+ end
1147
+
1148
+ # Move the current frame down in the backtrace.
1149
+ #
1150
+ # source://byebug//lib/byebug/commands/down.rb#12
1151
+ class Byebug::DownCommand < ::Byebug::Command
1152
+ include ::Byebug::Helpers::FrameHelper
1153
+ include ::Byebug::Helpers::ParseHelper
1154
+
1155
+ # source://byebug//lib/byebug/commands/down.rb#36
1156
+ def execute; end
1157
+
1158
+ class << self
1159
+ # source://byebug//lib/byebug/commands/down.rb#22
1160
+ def description; end
1161
+
1162
+ # source://byebug//lib/byebug/commands/down.rb#18
1163
+ def regexp; end
1164
+
1165
+ # source://byebug//lib/byebug/commands/down.rb#32
1166
+ def short_description; end
1167
+ end
1168
+ end
1169
+
1170
+ # Edit a file from byebug's prompt.
1171
+ #
1172
+ # source://byebug//lib/byebug/commands/edit.rb#9
1173
+ class Byebug::EditCommand < ::Byebug::Command
1174
+ # source://byebug//lib/byebug/commands/edit.rb#33
1175
+ def execute; end
1176
+
1177
+ private
1178
+
1179
+ # source://byebug//lib/byebug/commands/edit.rb#65
1180
+ def edit_error(type, file); end
1181
+
1182
+ # source://byebug//lib/byebug/commands/edit.rb#61
1183
+ def editor; end
1184
+
1185
+ # source://byebug//lib/byebug/commands/edit.rb#45
1186
+ def location(matched); end
1187
+
1188
+ class << self
1189
+ # source://byebug//lib/byebug/commands/edit.rb#17
1190
+ def description; end
1191
+
1192
+ # source://byebug//lib/byebug/commands/edit.rb#13
1193
+ def regexp; end
1194
+
1195
+ # source://byebug//lib/byebug/commands/edit.rb#29
1196
+ def short_description; end
1197
+ end
1198
+ end
1199
+
1200
+ # Enabling custom display expressions or breakpoints.
1201
+ #
1202
+ # source://byebug//lib/byebug/commands/enable/breakpoints.rb#12
1203
+ class Byebug::EnableCommand < ::Byebug::Command
1204
+ include ::Byebug::Subcommands
1205
+ extend ::Byebug::Helpers::ReflectionHelper
1206
+ extend ::Byebug::Subcommands::ClassMethods
1207
+
1208
+ class << self
1209
+ # source://byebug//lib/byebug/commands/enable.rb#21
1210
+ def description; end
1211
+
1212
+ # source://byebug//lib/byebug/commands/enable.rb#17
1213
+ def regexp; end
1214
+
1215
+ # source://byebug//lib/byebug/commands/enable.rb#29
1216
+ def short_description; end
1217
+ end
1218
+ end
1219
+
1220
+ # Enables all or specific breakpoints
1221
+ #
1222
+ # source://byebug//lib/byebug/commands/enable/breakpoints.rb#13
1223
+ class Byebug::EnableCommand::BreakpointsCommand < ::Byebug::Command
1224
+ include ::Byebug::Helpers::ParseHelper
1225
+ include ::Byebug::Helpers::ToggleHelper
1226
+
1227
+ # source://byebug//lib/byebug/commands/enable/breakpoints.rb#37
1228
+ def execute; end
1229
+
1230
+ class << self
1231
+ # source://byebug//lib/byebug/commands/enable/breakpoints.rb#22
1232
+ def description; end
1233
+
1234
+ # source://byebug//lib/byebug/commands/enable/breakpoints.rb#18
1235
+ def regexp; end
1236
+
1237
+ # source://byebug//lib/byebug/commands/enable/breakpoints.rb#33
1238
+ def short_description; end
1239
+ end
1240
+ end
1241
+
1242
+ # Enables all or specific displays
1243
+ #
1244
+ # source://byebug//lib/byebug/commands/enable/display.rb#13
1245
+ class Byebug::EnableCommand::DisplayCommand < ::Byebug::Command
1246
+ include ::Byebug::Helpers::ParseHelper
1247
+ include ::Byebug::Helpers::ToggleHelper
1248
+
1249
+ # source://byebug//lib/byebug/commands/enable/display.rb#38
1250
+ def execute; end
1251
+
1252
+ class << self
1253
+ # source://byebug//lib/byebug/commands/enable/display.rb#22
1254
+ def description; end
1255
+
1256
+ # source://byebug//lib/byebug/commands/enable/display.rb#18
1257
+ def regexp; end
1258
+
1259
+ # source://byebug//lib/byebug/commands/enable/display.rb#34
1260
+ def short_description; end
1261
+ end
1262
+ end
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
1269
+ class Byebug::FinishCommand < ::Byebug::Command
1270
+ include ::Byebug::Helpers::ParseHelper
1271
+
1272
+ # source://byebug//lib/byebug/commands/finish.rb#37
1273
+ def execute; end
1274
+
1275
+ private
1276
+
1277
+ # source://byebug//lib/byebug/commands/finish.rb#53
1278
+ def max_frames; end
1279
+
1280
+ class << self
1281
+ # source://byebug//lib/byebug/commands/finish.rb#21
1282
+ def description; end
1283
+
1284
+ # source://byebug//lib/byebug/commands/finish.rb#17
1285
+ def regexp; end
1286
+
1287
+ # source://byebug//lib/byebug/commands/finish.rb#33
1288
+ def short_description; end
1289
+ end
1290
+ end
1291
+
1292
+ # Represents a frame in the stack trace
1293
+ #
1294
+ # source://byebug//lib/byebug/frame.rb#9
1295
+ class Byebug::Frame
1296
+ include ::Byebug::Helpers::FileHelper
1297
+
1298
+ # @return [Frame] a new instance of Frame
1299
+ #
1300
+ # source://byebug//lib/byebug/frame.rb#14
1301
+ def initialize(context, pos); end
1302
+
1303
+ # source://byebug//lib/byebug/frame.rb#31
1304
+ def _binding; end
1305
+
1306
+ # source://byebug//lib/byebug/frame.rb#35
1307
+ def _class; end
1308
+
1309
+ # source://byebug//lib/byebug/frame.rb#39
1310
+ def _method; end
1311
+
1312
+ # source://byebug//lib/byebug/frame.rb#27
1313
+ def _self; end
1314
+
1315
+ # Gets current method arguments for the frame.
1316
+ #
1317
+ # source://byebug//lib/byebug/frame.rb#62
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
1325
+ def c_frame?; end
1326
+
1327
+ # @return [Boolean]
1328
+ #
1329
+ # source://byebug//lib/byebug/frame.rb#43
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
1337
+ def deco_args; end
1338
+
1339
+ # source://byebug//lib/byebug/frame.rb#76
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
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
1351
+ def deco_class; end
1352
+
1353
+ # Formatted filename in frame
1354
+ #
1355
+ # source://byebug//lib/byebug/frame.rb#113
1356
+ def deco_file; end
1357
+
1358
+ # source://byebug//lib/byebug/frame.rb#80
1359
+ def deco_method; end
1360
+
1361
+ # Properly formatted frame number of frame
1362
+ #
1363
+ # source://byebug//lib/byebug/frame.rb#120
1364
+ def deco_pos; end
1365
+
1366
+ # source://byebug//lib/byebug/frame.rb#19
1367
+ def file; end
1368
+
1369
+ # source://byebug//lib/byebug/frame.rb#23
1370
+ def line; end
1371
+
1372
+ # Gets local variables for the frame.
1373
+ #
1374
+ # source://byebug//lib/byebug/frame.rb#50
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
1384
+ def mark; end
1385
+
1386
+ # Returns the value of attribute pos.
1387
+ #
1388
+ # source://byebug//lib/byebug/frame.rb#12
1389
+ def pos; end
1390
+
1391
+ # source://byebug//lib/byebug/frame.rb#145
1392
+ def to_hash; end
1393
+
1394
+ private
1395
+
1396
+ # source://byebug//lib/byebug/frame.rb#158
1397
+ def c_args; end
1398
+
1399
+ # source://byebug//lib/byebug/frame.rb#178
1400
+ def prefix_and_default(arg_type); end
1401
+
1402
+ # source://byebug//lib/byebug/frame.rb#164
1403
+ def ruby_args; end
1404
+
1405
+ # @return [Boolean]
1406
+ #
1407
+ # source://byebug//lib/byebug/frame.rb#174
1408
+ def use_short_style?(arg); end
1409
+ end
1410
+
1411
+ # Move to specific frames in the backtrace.
1412
+ #
1413
+ # source://byebug//lib/byebug/commands/frame.rb#12
1414
+ class Byebug::FrameCommand < ::Byebug::Command
1415
+ include ::Byebug::Helpers::FrameHelper
1416
+ include ::Byebug::Helpers::ParseHelper
1417
+
1418
+ # source://byebug//lib/byebug/commands/frame.rb#46
1419
+ def execute; end
1420
+
1421
+ class << self
1422
+ # source://byebug//lib/byebug/commands/frame.rb#22
1423
+ def description; end
1424
+
1425
+ # source://byebug//lib/byebug/commands/frame.rb#18
1426
+ def regexp; end
1427
+
1428
+ # source://byebug//lib/byebug/commands/frame.rb#42
1429
+ def short_description; end
1430
+ end
1431
+ end
1432
+
1433
+ # Setting to display full paths in backtraces.
1434
+ #
1435
+ # source://byebug//lib/byebug/settings/fullpath.rb#9
1436
+ class Byebug::FullpathSetting < ::Byebug::Setting
1437
+ # source://byebug//lib/byebug/settings/fullpath.rb#12
1438
+ def banner; end
1439
+ end
1440
+
1441
+ # source://byebug//lib/byebug/settings/fullpath.rb#10
1442
+ Byebug::FullpathSetting::DEFAULT = T.let(T.unsafe(nil), TrueClass)
1443
+
1444
+ # Ask for help from byebug's prompt.
1445
+ #
1446
+ # source://byebug//lib/byebug/commands/help.rb#10
1447
+ class Byebug::HelpCommand < ::Byebug::Command
1448
+ # source://byebug//lib/byebug/commands/help.rb#34
1449
+ def execute; end
1450
+
1451
+ private
1452
+
1453
+ # source://byebug//lib/byebug/commands/help.rb#54
1454
+ def command; end
1455
+
1456
+ # @raise [CommandNotFound]
1457
+ #
1458
+ # source://byebug//lib/byebug/commands/help.rb#48
1459
+ def help_for(input, cmd); end
1460
+
1461
+ # source://byebug//lib/byebug/commands/help.rb#44
1462
+ def help_for_all; end
1463
+
1464
+ # source://byebug//lib/byebug/commands/help.rb#58
1465
+ def subcommand; end
1466
+
1467
+ class << self
1468
+ # source://byebug//lib/byebug/commands/help.rb#18
1469
+ def description; end
1470
+
1471
+ # source://byebug//lib/byebug/commands/help.rb#14
1472
+ def regexp; end
1473
+
1474
+ # source://byebug//lib/byebug/commands/help.rb#30
1475
+ def short_description; end
1476
+ end
1477
+ end
1478
+
1479
+ # source://byebug//lib/byebug/helpers/reflection.rb#4
1480
+ module Byebug::Helpers; end
1481
+
1482
+ # Utilities for interaction with executables
1483
+ #
1484
+ # source://byebug//lib/byebug/helpers/bin.rb#8
1485
+ module Byebug::Helpers::BinHelper
1486
+ # source://byebug//lib/byebug/helpers/bin.rb#38
1487
+ def executable_file_extensions; end
1488
+
1489
+ # source://byebug//lib/byebug/helpers/bin.rb#24
1490
+ def find_executable(path, cmd); end
1491
+
1492
+ # @return [Boolean]
1493
+ #
1494
+ # source://byebug//lib/byebug/helpers/bin.rb#42
1495
+ def real_executable?(file); end
1496
+
1497
+ # source://byebug//lib/byebug/helpers/bin.rb#34
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
1504
+ def which(cmd); end
1505
+ end
1506
+
1507
+ # Utilities to assist evaluation of code strings
1508
+ #
1509
+ # source://byebug//lib/byebug/helpers/eval.rb#8
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
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
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
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
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
1546
+ def warning_eval(str, binding = T.unsafe(nil)); end
1547
+
1548
+ private
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
1557
+ def allowing_other_threads; end
1558
+
1559
+ # source://byebug//lib/byebug/helpers/eval.rb#72
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
1566
+ def in_new_thread; end
1567
+
1568
+ # source://byebug//lib/byebug/helpers/eval.rb#66
1569
+ def msg(exception); end
1570
+
1571
+ # source://byebug//lib/byebug/helpers/eval.rb#60
1572
+ def safe_eval(str, binding); end
1573
+
1574
+ # source://byebug//lib/byebug/helpers/eval.rb#113
1575
+ def safe_inspect(var); end
1576
+
1577
+ # source://byebug//lib/byebug/helpers/eval.rb#119
1578
+ def safe_to_s(var); end
1579
+
1580
+ # source://byebug//lib/byebug/helpers/eval.rb#80
1581
+ def warning_msg(exception); end
1582
+ end
1583
+
1584
+ # Utilities for interaction with files
1585
+ #
1586
+ # source://byebug//lib/byebug/helpers/file.rb#8
1587
+ module Byebug::Helpers::FileHelper
1588
+ # Reads line number +lineno+ from file named +filename+
1589
+ #
1590
+ # source://byebug//lib/byebug/helpers/file.rb#19
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
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
1602
+ def n_lines(filename); end
1603
+
1604
+ # Regularize file name.
1605
+ #
1606
+ # source://byebug//lib/byebug/helpers/file.rb#37
1607
+ def normalize(filename); end
1608
+
1609
+ # A short version of a long path
1610
+ #
1611
+ # source://byebug//lib/byebug/helpers/file.rb#48
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
1619
+ def virtual_file?(name); end
1620
+ end
1621
+
1622
+ # Utilities to assist frame navigation
1623
+ #
1624
+ # source://byebug//lib/byebug/helpers/frame.rb#8
1625
+ module Byebug::Helpers::FrameHelper
1626
+ # source://byebug//lib/byebug/helpers/frame.rb#16
1627
+ def jump_frames(steps); end
1628
+
1629
+ # source://byebug//lib/byebug/helpers/frame.rb#9
1630
+ def switch_to_frame(frame); end
1631
+
1632
+ private
1633
+
1634
+ # source://byebug//lib/byebug/helpers/frame.rb#22
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
1641
+ def direction(step); end
1642
+
1643
+ # source://byebug//lib/byebug/helpers/frame.rb#51
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
1652
+ def index_from_start(index); end
1653
+
1654
+ # source://byebug//lib/byebug/helpers/frame.rb#30
1655
+ def navigate_to_frame(jump_no); end
1656
+
1657
+ # @return [Boolean]
1658
+ #
1659
+ # source://byebug//lib/byebug/helpers/frame.rb#47
1660
+ def out_of_bounds?(pos); end
1661
+ end
1662
+
1663
+ # Utilities to assist command parsing
1664
+ #
1665
+ # source://byebug//lib/byebug/helpers/parse.rb#8
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
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
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
1686
+ def syntax_valid?(code); end
1687
+
1688
+ private
1689
+
1690
+ # Temporarily disable output to $stderr
1691
+ #
1692
+ # source://byebug//lib/byebug/helpers/parse.rb#65
1693
+ def without_stderr; end
1694
+ end
1695
+
1696
+ # Utilities for managing gem paths
1697
+ #
1698
+ # source://byebug//lib/byebug/helpers/path.rb#8
1699
+ module Byebug::Helpers::PathHelper
1700
+ # source://byebug//lib/byebug/helpers/path.rb#29
1701
+ def all_files; end
1702
+
1703
+ # source://byebug//lib/byebug/helpers/path.rb#9
1704
+ def bin_file; end
1705
+
1706
+ # source://byebug//lib/byebug/helpers/path.rb#25
1707
+ def gem_files; end
1708
+
1709
+ # source://byebug//lib/byebug/helpers/path.rb#17
1710
+ def lib_files; end
1711
+
1712
+ # source://byebug//lib/byebug/helpers/path.rb#13
1713
+ def root_path; end
1714
+
1715
+ # source://byebug//lib/byebug/helpers/path.rb#21
1716
+ def test_files; end
1717
+
1718
+ private
1719
+
1720
+ # source://byebug//lib/byebug/helpers/path.rb#35
1721
+ def glob_for(dir); end
1722
+ end
1723
+
1724
+ # Reflection utilitie
1725
+ #
1726
+ # source://byebug//lib/byebug/helpers/reflection.rb#8
1727
+ module Byebug::Helpers::ReflectionHelper
1728
+ # List of "command" classes in the including module
1729
+ #
1730
+ # source://byebug//lib/byebug/helpers/reflection.rb#12
1731
+ def commands; end
1732
+ end
1733
+
1734
+ # Utilities for interaction with strings
1735
+ #
1736
+ # source://byebug//lib/byebug/helpers/string.rb#8
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
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
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
1753
+ def prettify(str); end
1754
+ end
1755
+
1756
+ # Utilities for thread subcommands
1757
+ #
1758
+ # source://byebug//lib/byebug/helpers/thread.rb#8
1759
+ module Byebug::Helpers::ThreadHelper
1760
+ # source://byebug//lib/byebug/helpers/thread.rb#30
1761
+ def context_from_thread(thnum); end
1762
+
1763
+ # @return [Boolean]
1764
+ #
1765
+ # source://byebug//lib/byebug/helpers/thread.rb#26
1766
+ def current_thread?(ctx); end
1767
+
1768
+ # source://byebug//lib/byebug/helpers/thread.rb#9
1769
+ def display_context(ctx); end
1770
+
1771
+ # source://byebug//lib/byebug/helpers/thread.rb#13
1772
+ def thread_arguments(ctx); end
1773
+
1774
+ private
1775
+
1776
+ # source://byebug//lib/byebug/helpers/thread.rb#62
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
1782
+ def location(ctx); end
1783
+
1784
+ # source://byebug//lib/byebug/helpers/thread.rb#56
1785
+ def status_flag(ctx); end
1786
+ end
1787
+
1788
+ # Utilities to assist breakpoint/display enabling/disabling.
1789
+ #
1790
+ # source://byebug//lib/byebug/helpers/toggle.rb#10
1791
+ module Byebug::Helpers::ToggleHelper
1792
+ include ::Byebug::Helpers::ParseHelper
1793
+
1794
+ # source://byebug//lib/byebug/helpers/toggle.rb#13
1795
+ def enable_disable_breakpoints(is_enable, args); end
1796
+
1797
+ # source://byebug//lib/byebug/helpers/toggle.rb#26
1798
+ def enable_disable_display(is_enable, args); end
1799
+
1800
+ private
1801
+
1802
+ # source://byebug//lib/byebug/helpers/toggle.rb#57
1803
+ def n_displays; end
1804
+
1805
+ # source://byebug//lib/byebug/helpers/toggle.rb#41
1806
+ def select_breakpoints(is_enable, args); end
1807
+ end
1808
+
1809
+ # Utilities for variable subcommands
1810
+ #
1811
+ # source://byebug//lib/byebug/helpers/var.rb#10
1812
+ module Byebug::Helpers::VarHelper
1813
+ include ::Byebug::Helpers::EvalHelper
1814
+
1815
+ # source://byebug//lib/byebug/helpers/var.rb#42
1816
+ def var_args; end
1817
+
1818
+ # source://byebug//lib/byebug/helpers/var.rb#21
1819
+ def var_global; end
1820
+
1821
+ # source://byebug//lib/byebug/helpers/var.rb#29
1822
+ def var_instance(str); end
1823
+
1824
+ # source://byebug//lib/byebug/helpers/var.rb#13
1825
+ def var_list(ary, binding = T.unsafe(nil)); end
1826
+
1827
+ # source://byebug//lib/byebug/helpers/var.rb#35
1828
+ def var_local; end
1829
+ end
1830
+
1831
+ # Setting to customize the file where byebug's history is saved.
1832
+ #
1833
+ # source://byebug//lib/byebug/settings/histfile.rb#9
1834
+ class Byebug::HistfileSetting < ::Byebug::Setting
1835
+ # source://byebug//lib/byebug/settings/histfile.rb#12
1836
+ def banner; end
1837
+
1838
+ # source://byebug//lib/byebug/settings/histfile.rb#16
1839
+ def to_s; end
1840
+ end
1841
+
1842
+ # source://byebug//lib/byebug/settings/histfile.rb#10
1843
+ Byebug::HistfileSetting::DEFAULT = T.let(T.unsafe(nil), String)
1844
+
1845
+ # Handles byebug's history of commands.
1846
+ #
1847
+ # source://byebug//lib/byebug/history.rb#19
1848
+ class Byebug::History
1849
+ # @return [History] a new instance of History
1850
+ #
1851
+ # source://byebug//lib/byebug/history.rb#22
1852
+ def initialize; end
1853
+
1854
+ # Array holding the list of commands in history
1855
+ #
1856
+ # source://byebug//lib/byebug/history.rb#29
1857
+ def buffer; end
1858
+
1859
+ # Discards history.
1860
+ #
1861
+ # source://byebug//lib/byebug/history.rb#58
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
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
1878
+ def ignore?(buf); end
1879
+
1880
+ # Array of ids of the last +number+ commands.
1881
+ #
1882
+ # source://byebug//lib/byebug/history.rb#96
1883
+ def last_ids(number); end
1884
+
1885
+ # Removes a command from Readline's history.
1886
+ #
1887
+ # source://byebug//lib/byebug/history.rb#75
1888
+ def pop; end
1889
+
1890
+ # Adds a new command to Readline's history.
1891
+ #
1892
+ # source://byebug//lib/byebug/history.rb#65
1893
+ def push(cmd); end
1894
+
1895
+ # Restores history from disk.
1896
+ #
1897
+ # source://byebug//lib/byebug/history.rb#36
1898
+ def restore; end
1899
+
1900
+ # Saves history to disk.
1901
+ #
1902
+ # source://byebug//lib/byebug/history.rb#45
1903
+ def save; end
1904
+
1905
+ # Returns the value of attribute size.
1906
+ #
1907
+ # source://byebug//lib/byebug/history.rb#20
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
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
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
1927
+ def to_s(n_cmds); end
1928
+ end
1929
+
1930
+ # Show history of byebug commands.
1931
+ #
1932
+ # source://byebug//lib/byebug/commands/history.rb#10
1933
+ class Byebug::HistoryCommand < ::Byebug::Command
1934
+ include ::Byebug::Helpers::ParseHelper
1935
+
1936
+ # source://byebug//lib/byebug/commands/history.rb#31
1937
+ def execute; end
1938
+
1939
+ class << self
1940
+ # source://byebug//lib/byebug/commands/history.rb#19
1941
+ def description; end
1942
+
1943
+ # source://byebug//lib/byebug/commands/history.rb#15
1944
+ def regexp; end
1945
+
1946
+ # source://byebug//lib/byebug/commands/history.rb#27
1947
+ def short_description; end
1948
+ end
1949
+ end
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
1954
+ class Byebug::HistsizeSetting < ::Byebug::Setting
1955
+ # source://byebug//lib/byebug/settings/histsize.rb#12
1956
+ def banner; end
1957
+
1958
+ # source://byebug//lib/byebug/settings/histsize.rb#16
1959
+ def to_s; end
1960
+ end
1961
+
1962
+ # source://byebug//lib/byebug/settings/histsize.rb#10
1963
+ Byebug::HistsizeSetting::DEFAULT = T.let(T.unsafe(nil), Integer)
1964
+
1965
+ # Reopens the +info+ command to define the +line+ subcommand
1966
+ #
1967
+ # source://byebug//lib/byebug/commands/info/breakpoints.rb#10
1968
+ class Byebug::InfoCommand < ::Byebug::Command
1969
+ include ::Byebug::Subcommands
1970
+ extend ::Byebug::Helpers::ReflectionHelper
1971
+ extend ::Byebug::Subcommands::ClassMethods
1972
+
1973
+ class << self
1974
+ # source://byebug//lib/byebug/commands/info.rb#25
1975
+ def description; end
1976
+
1977
+ # source://byebug//lib/byebug/commands/info.rb#21
1978
+ def regexp; end
1979
+
1980
+ # source://byebug//lib/byebug/commands/info.rb#33
1981
+ def short_description; end
1982
+ end
1983
+ end
1984
+
1985
+ # Information about current breakpoints
1986
+ #
1987
+ # source://byebug//lib/byebug/commands/info/breakpoints.rb#11
1988
+ class Byebug::InfoCommand::BreakpointsCommand < ::Byebug::Command
1989
+ # source://byebug//lib/byebug/commands/info/breakpoints.rb#30
1990
+ def execute; end
1991
+
1992
+ private
1993
+
1994
+ # source://byebug//lib/byebug/commands/info/breakpoints.rb#47
1995
+ def info_breakpoint(brkpt); end
1996
+
1997
+ class << self
1998
+ # source://byebug//lib/byebug/commands/info/breakpoints.rb#18
1999
+ def description; end
2000
+
2001
+ # source://byebug//lib/byebug/commands/info/breakpoints.rb#14
2002
+ def regexp; end
2003
+
2004
+ # source://byebug//lib/byebug/commands/info/breakpoints.rb#26
2005
+ def short_description; end
2006
+ end
2007
+ end
2008
+
2009
+ # Information about display expressions
2010
+ #
2011
+ # source://byebug//lib/byebug/commands/info/display.rb#11
2012
+ class Byebug::InfoCommand::DisplayCommand < ::Byebug::Command
2013
+ # source://byebug//lib/byebug/commands/info/display.rb#30
2014
+ def execute; end
2015
+
2016
+ class << self
2017
+ # source://byebug//lib/byebug/commands/info/display.rb#18
2018
+ def description; end
2019
+
2020
+ # source://byebug//lib/byebug/commands/info/display.rb#14
2021
+ def regexp; end
2022
+
2023
+ # source://byebug//lib/byebug/commands/info/display.rb#26
2024
+ def short_description; end
2025
+ end
2026
+ end
2027
+
2028
+ # Information about a particular source file
2029
+ #
2030
+ # source://byebug//lib/byebug/commands/info/file.rb#13
2031
+ class Byebug::InfoCommand::FileCommand < ::Byebug::Command
2032
+ include ::Byebug::Helpers::FileHelper
2033
+ include ::Byebug::Helpers::StringHelper
2034
+
2035
+ # source://byebug//lib/byebug/commands/info/file.rb#38
2036
+ def execute; end
2037
+
2038
+ private
2039
+
2040
+ # source://byebug//lib/byebug/commands/info/file.rb#55
2041
+ def info_file_basic(file); end
2042
+
2043
+ # source://byebug//lib/byebug/commands/info/file.rb#63
2044
+ def info_file_breakpoints(file); end
2045
+
2046
+ # source://byebug//lib/byebug/commands/info/file.rb#70
2047
+ def info_file_mtime(file); end
2048
+
2049
+ # source://byebug//lib/byebug/commands/info/file.rb#74
2050
+ def info_file_sha1(file); end
2051
+
2052
+ class << self
2053
+ # source://byebug//lib/byebug/commands/info/file.rb#23
2054
+ def description; end
2055
+
2056
+ # source://byebug//lib/byebug/commands/info/file.rb#19
2057
+ def regexp; end
2058
+
2059
+ # source://byebug//lib/byebug/commands/info/file.rb#34
2060
+ def short_description; end
2061
+ end
2062
+ end
2063
+
2064
+ # Information about current location
2065
+ #
2066
+ # source://byebug//lib/byebug/commands/info/line.rb#11
2067
+ class Byebug::InfoCommand::LineCommand < ::Byebug::Command
2068
+ # source://byebug//lib/byebug/commands/info/line.rb#30
2069
+ def execute; end
2070
+
2071
+ class << self
2072
+ # source://byebug//lib/byebug/commands/info/line.rb#18
2073
+ def description; end
2074
+
2075
+ # source://byebug//lib/byebug/commands/info/line.rb#14
2076
+ def regexp; end
2077
+
2078
+ # source://byebug//lib/byebug/commands/info/line.rb#26
2079
+ def short_description; end
2080
+ end
2081
+ end
2082
+
2083
+ # Information about arguments of the current method/block
2084
+ #
2085
+ # source://byebug//lib/byebug/commands/info/program.rb#11
2086
+ class Byebug::InfoCommand::ProgramCommand < ::Byebug::Command
2087
+ # source://byebug//lib/byebug/commands/info/program.rb#30
2088
+ def execute; end
2089
+
2090
+ private
2091
+
2092
+ # source://byebug//lib/byebug/commands/info/program.rb#37
2093
+ def format_stop_reason(stop_reason); end
2094
+
2095
+ class << self
2096
+ # source://byebug//lib/byebug/commands/info/program.rb#18
2097
+ def description; end
2098
+
2099
+ # source://byebug//lib/byebug/commands/info/program.rb#14
2100
+ def regexp; end
2101
+
2102
+ # source://byebug//lib/byebug/commands/info/program.rb#26
2103
+ def short_description; end
2104
+ end
2105
+ end
2106
+
2107
+ # Main Interface class
2108
+ #
2109
+ # Contains common functionality to all implemented interfaces.
2110
+ #
2111
+ # source://byebug//lib/byebug/interface.rb#16
2112
+ class Byebug::Interface
2113
+ include ::Byebug::Helpers::FileHelper
2114
+
2115
+ # @return [Interface] a new instance of Interface
2116
+ #
2117
+ # source://byebug//lib/byebug/interface.rb#22
2118
+ def initialize; end
2119
+
2120
+ # Restores history according to +autosave+ setting.
2121
+ #
2122
+ # source://byebug//lib/byebug/interface.rb#118
2123
+ def autorestore; end
2124
+
2125
+ # Saves or clears history according to +autosave+ setting.
2126
+ #
2127
+ # source://byebug//lib/byebug/interface.rb#111
2128
+ def autosave; end
2129
+
2130
+ # source://byebug//lib/byebug/interface.rb#105
2131
+ def close; end
2132
+
2133
+ # Returns the value of attribute command_queue.
2134
+ #
2135
+ # source://byebug//lib/byebug/interface.rb#19
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
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
2148
+ def confirm(prompt); end
2149
+
2150
+ # Prints an error message to the error stream.
2151
+ #
2152
+ # source://byebug//lib/byebug/interface.rb#80
2153
+ def errmsg(message); end
2154
+
2155
+ # Returns the value of attribute error.
2156
+ #
2157
+ # source://byebug//lib/byebug/interface.rb#20
2158
+ def error; end
2159
+
2160
+ # Returns the value of attribute history.
2161
+ #
2162
+ # source://byebug//lib/byebug/interface.rb#19
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
2170
+ def history=(_arg0); end
2171
+
2172
+ # Returns the value of attribute input.
2173
+ #
2174
+ # source://byebug//lib/byebug/interface.rb#20
2175
+ def input; end
2176
+
2177
+ # source://byebug//lib/byebug/interface.rb#28
2178
+ def last_if_empty(input); end
2179
+
2180
+ # Returns the value of attribute output.
2181
+ #
2182
+ # source://byebug//lib/byebug/interface.rb#20
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
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
2197
+ def print(message); end
2198
+
2199
+ # Prints an output message to the output stream.
2200
+ #
2201
+ # source://byebug//lib/byebug/interface.rb#87
2202
+ def puts(message); end
2203
+
2204
+ # Pops a command from the input stream.
2205
+ #
2206
+ # source://byebug//lib/byebug/interface.rb#35
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
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
2220
+ def read_input(prompt, save_hist = T.unsafe(nil)); end
2221
+
2222
+ private
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
2228
+ def split_commands(cmd_line); end
2229
+ end
2230
+
2231
+ # Interrupting execution of current thread.
2232
+ #
2233
+ # source://byebug//lib/byebug/commands/interrupt.rb#9
2234
+ class Byebug::InterruptCommand < ::Byebug::Command
2235
+ # source://byebug//lib/byebug/commands/interrupt.rb#28
2236
+ def execute; end
2237
+
2238
+ class << self
2239
+ # source://byebug//lib/byebug/commands/interrupt.rb#16
2240
+ def description; end
2241
+
2242
+ # source://byebug//lib/byebug/commands/interrupt.rb#12
2243
+ def regexp; end
2244
+
2245
+ # source://byebug//lib/byebug/commands/interrupt.rb#24
2246
+ def short_description; end
2247
+ end
2248
+ end
2249
+
2250
+ # Enter IRB from byebug's prompt
2251
+ #
2252
+ # source://byebug//lib/byebug/commands/irb.rb#11
2253
+ class Byebug::IrbCommand < ::Byebug::Command
2254
+ # source://byebug//lib/byebug/commands/irb.rb#30
2255
+ def execute; end
2256
+
2257
+ private
2258
+
2259
+ # source://byebug//lib/byebug/commands/irb.rb#40
2260
+ def with_clean_argv; end
2261
+
2262
+ class << self
2263
+ # source://byebug//lib/byebug/commands/irb.rb#18
2264
+ def description; end
2265
+
2266
+ # source://byebug//lib/byebug/commands/irb.rb#14
2267
+ def regexp; end
2268
+
2269
+ # source://byebug//lib/byebug/commands/irb.rb#26
2270
+ def short_description; end
2271
+ end
2272
+ end
2273
+
2274
+ # Send custom signals to the debugged program.
2275
+ #
2276
+ # source://byebug//lib/byebug/commands/kill.rb#9
2277
+ class Byebug::KillCommand < ::Byebug::Command
2278
+ # source://byebug//lib/byebug/commands/kill.rb#30
2279
+ def execute; end
2280
+
2281
+ class << self
2282
+ # source://byebug//lib/byebug/commands/kill.rb#16
2283
+ def description; end
2284
+
2285
+ # source://byebug//lib/byebug/commands/kill.rb#12
2286
+ def regexp; end
2287
+
2288
+ # source://byebug//lib/byebug/commands/kill.rb#26
2289
+ def short_description; end
2290
+ end
2291
+ end
2292
+
2293
+ # Setting to enable/disable linetracing.
2294
+ #
2295
+ # source://byebug//lib/byebug/settings/linetrace.rb#9
2296
+ class Byebug::LinetraceSetting < ::Byebug::Setting
2297
+ # source://byebug//lib/byebug/settings/linetrace.rb#10
2298
+ def banner; end
2299
+
2300
+ # source://byebug//lib/byebug/settings/linetrace.rb#18
2301
+ def value; end
2302
+
2303
+ # source://byebug//lib/byebug/settings/linetrace.rb#14
2304
+ def value=(val); end
2305
+ end
2306
+
2307
+ # List parts of the source code.
2308
+ #
2309
+ # source://byebug//lib/byebug/commands/list.rb#12
2310
+ class Byebug::ListCommand < ::Byebug::Command
2311
+ include ::Byebug::Helpers::FileHelper
2312
+ include ::Byebug::Helpers::ParseHelper
2313
+
2314
+ # source://forwardable/1.3.1/forwardable.rb#226
2315
+ def amend_final(*args, &block); end
2316
+
2317
+ # source://byebug//lib/byebug/commands/list.rb#40
2318
+ def execute; end
2319
+
2320
+ # source://forwardable/1.3.1/forwardable.rb#226
2321
+ def max_line(*args, &block); end
2322
+
2323
+ # source://forwardable/1.3.1/forwardable.rb#226
2324
+ def size(*args, &block); end
2325
+
2326
+ private
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
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
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
2348
+ def lower_bound(range); end
2349
+
2350
+ # source://byebug//lib/byebug/commands/list.rb#105
2351
+ def move(line, size, direction = T.unsafe(nil)); end
2352
+
2353
+ # source://byebug//lib/byebug/commands/list.rb#89
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
2363
+ def range(input); end
2364
+
2365
+ # source://byebug//lib/byebug/commands/list.rb#152
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
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
2378
+ def upper_bound(range); end
2379
+
2380
+ # @return [Boolean]
2381
+ #
2382
+ # source://byebug//lib/byebug/commands/list.rb#69
2383
+ def valid_range?(first, last); end
2384
+
2385
+ class << self
2386
+ # source://byebug//lib/byebug/commands/list.rb#22
2387
+ def description; end
2388
+
2389
+ # source://byebug//lib/byebug/commands/list.rb#18
2390
+ def regexp; end
2391
+
2392
+ # source://byebug//lib/byebug/commands/list.rb#36
2393
+ def short_description; end
2394
+ end
2395
+ end
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
2401
+ class Byebug::ListsizeSetting < ::Byebug::Setting
2402
+ # source://byebug//lib/byebug/settings/listsize.rb#13
2403
+ def banner; end
2404
+
2405
+ # source://byebug//lib/byebug/settings/listsize.rb#17
2406
+ def to_s; end
2407
+ end
2408
+
2409
+ # source://byebug//lib/byebug/settings/listsize.rb#11
2410
+ Byebug::ListsizeSetting::DEFAULT = T.let(T.unsafe(nil), Integer)
2411
+
2412
+ # Interface class for standard byebug use.
2413
+ #
2414
+ # source://byebug//lib/byebug/interfaces/local_interface.rb#7
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
2419
+ def initialize; end
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
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
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
2445
+ def without_readline_completion; end
2446
+ end
2447
+
2448
+ # source://byebug//lib/byebug/interfaces/local_interface.rb#8
2449
+ Byebug::LocalInterface::EOF_ALIAS = T.let(T.unsafe(nil), String)
2450
+
2451
+ # Show methods of specific classes/modules/objects.
2452
+ #
2453
+ # source://byebug//lib/byebug/commands/method.rb#10
2454
+ class Byebug::MethodCommand < ::Byebug::Command
2455
+ include ::Byebug::Helpers::EvalHelper
2456
+
2457
+ # source://byebug//lib/byebug/commands/method.rb#37
2458
+ def execute; end
2459
+
2460
+ class << self
2461
+ # source://byebug//lib/byebug/commands/method.rb#19
2462
+ def description; end
2463
+
2464
+ # source://byebug//lib/byebug/commands/method.rb#15
2465
+ def regexp; end
2466
+
2467
+ # source://byebug//lib/byebug/commands/method.rb#33
2468
+ def short_description; end
2469
+ end
2470
+ end
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
2478
+ class Byebug::NextCommand < ::Byebug::Command
2479
+ include ::Byebug::Helpers::ParseHelper
2480
+
2481
+ # source://byebug//lib/byebug/commands/next.rb#32
2482
+ def execute; end
2483
+
2484
+ class << self
2485
+ # source://byebug//lib/byebug/commands/next.rb#20
2486
+ def description; end
2487
+
2488
+ # source://byebug//lib/byebug/commands/next.rb#16
2489
+ def regexp; end
2490
+
2491
+ # source://byebug//lib/byebug/commands/next.rb#28
2492
+ def short_description; end
2493
+ end
2494
+ end
2495
+
2496
+ # Port number used for remote debugging
2497
+ #
2498
+ # source://byebug//lib/byebug/remote.rb#13
2499
+ Byebug::PORT = T.let(T.unsafe(nil), Integer)
2500
+
2501
+ # Processes commands in post_mortem mode
2502
+ #
2503
+ # source://byebug//lib/byebug/processors/post_mortem_processor.rb#9
2504
+ class Byebug::PostMortemProcessor < ::Byebug::CommandProcessor
2505
+ # source://byebug//lib/byebug/processors/post_mortem_processor.rb#10
2506
+ def commands; end
2507
+
2508
+ # source://byebug//lib/byebug/processors/post_mortem_processor.rb#14
2509
+ def prompt; end
2510
+ end
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
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
2520
+ def initialize; end
2521
+
2522
+ # source://byebug//lib/byebug/settings/post_mortem.rb#15
2523
+ def banner; end
2524
+
2525
+ # source://byebug//lib/byebug/settings/post_mortem.rb#23
2526
+ def value; end
2527
+
2528
+ # source://byebug//lib/byebug/settings/post_mortem.rb#19
2529
+ def value=(val); end
2530
+ end
2531
+
2532
+ # source://byebug//lib/byebug/printers/base.rb#6
2533
+ module Byebug::Printers; end
2534
+
2535
+ # Base printer
2536
+ #
2537
+ # source://byebug//lib/byebug/printers/base.rb#10
2538
+ class Byebug::Printers::Base
2539
+ # source://byebug//lib/byebug/printers/base.rb#16
2540
+ def type; end
2541
+
2542
+ private
2543
+
2544
+ # source://byebug//lib/byebug/printers/base.rb#55
2545
+ def array_of_args(collection, &_block); end
2546
+
2547
+ # source://byebug//lib/byebug/printers/base.rb#49
2548
+ def contents; end
2549
+
2550
+ # source://byebug//lib/byebug/printers/base.rb#63
2551
+ def contents_files; end
2552
+
2553
+ # @raise [MissedPath]
2554
+ #
2555
+ # source://byebug//lib/byebug/printers/base.rb#22
2556
+ def locate(path); end
2557
+
2558
+ # source://byebug//lib/byebug/printers/base.rb#45
2559
+ def parts(path); end
2560
+
2561
+ # source://byebug//lib/byebug/printers/base.rb#35
2562
+ def translate(string, args = T.unsafe(nil)); end
2563
+ end
2564
+
2565
+ # source://byebug//lib/byebug/printers/base.rb#12
2566
+ class Byebug::Printers::Base::MissedArgument < ::StandardError; end
2567
+
2568
+ # source://byebug//lib/byebug/printers/base.rb#11
2569
+ class Byebug::Printers::Base::MissedPath < ::StandardError; end
2570
+
2571
+ # source://byebug//lib/byebug/printers/base.rb#14
2572
+ Byebug::Printers::Base::SEPARATOR = T.let(T.unsafe(nil), String)
2573
+
2574
+ # Plain text printer
2575
+ #
2576
+ # source://byebug//lib/byebug/printers/plain.rb#10
2577
+ class Byebug::Printers::Plain < ::Byebug::Printers::Base
2578
+ # source://byebug//lib/byebug/printers/plain.rb#11
2579
+ def print(path, args = T.unsafe(nil)); end
2580
+
2581
+ # source://byebug//lib/byebug/printers/plain.rb#17
2582
+ def print_collection(path, collection, &block); end
2583
+
2584
+ # source://byebug//lib/byebug/printers/plain.rb#25
2585
+ def print_variables(variables, *_unused); end
2586
+
2587
+ private
2588
+
2589
+ # source://byebug//lib/byebug/printers/plain.rb#39
2590
+ def contents_files; end
2591
+ end
2592
+
2593
+ # Enter Pry from byebug's prompt
2594
+ #
2595
+ # source://byebug//lib/byebug/commands/pry.rb#10
2596
+ class Byebug::PryCommand < ::Byebug::Command
2597
+ # source://byebug//lib/byebug/commands/pry.rb#29
2598
+ def execute; end
2599
+
2600
+ class << self
2601
+ # source://byebug//lib/byebug/commands/pry.rb#17
2602
+ def description; end
2603
+
2604
+ # source://byebug//lib/byebug/commands/pry.rb#13
2605
+ def regexp; end
2606
+
2607
+ # source://byebug//lib/byebug/commands/pry.rb#25
2608
+ def short_description; end
2609
+ end
2610
+ end
2611
+
2612
+ # Exit from byebug.
2613
+ #
2614
+ # source://byebug//lib/byebug/commands/quit.rb#9
2615
+ class Byebug::QuitCommand < ::Byebug::Command
2616
+ # source://byebug//lib/byebug/commands/quit.rb#33
2617
+ def execute; end
2618
+
2619
+ class << self
2620
+ # source://byebug//lib/byebug/commands/quit.rb#17
2621
+ def description; end
2622
+
2623
+ # source://byebug//lib/byebug/commands/quit.rb#13
2624
+ def regexp; end
2625
+
2626
+ # source://byebug//lib/byebug/commands/quit.rb#29
2627
+ def short_description; end
2628
+ end
2629
+ end
2630
+
2631
+ # source://byebug//lib/byebug/remote/server.rb#6
2632
+ module Byebug::Remote; end
2633
+
2634
+ # Client for remote debugging
2635
+ #
2636
+ # source://byebug//lib/byebug/remote/client.rb#10
2637
+ class Byebug::Remote::Client
2638
+ # @return [Client] a new instance of Client
2639
+ #
2640
+ # source://byebug//lib/byebug/remote/client.rb#13
2641
+ def initialize(interface); end
2642
+
2643
+ # Returns the value of attribute interface.
2644
+ #
2645
+ # source://byebug//lib/byebug/remote/client.rb#11
2646
+ def interface; end
2647
+
2648
+ # Returns the value of attribute socket.
2649
+ #
2650
+ # source://byebug//lib/byebug/remote/client.rb#11
2651
+ def socket; end
2652
+
2653
+ # Connects to the remote byebug
2654
+ #
2655
+ # source://byebug//lib/byebug/remote/client.rb#21
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
2661
+ def started?; end
2662
+
2663
+ private
2664
+
2665
+ # source://byebug//lib/byebug/remote/client.rb#50
2666
+ def connect_at(host, port); end
2667
+ end
2668
+
2669
+ # Server for remote debugging
2670
+ #
2671
+ # source://byebug//lib/byebug/remote/server.rb#10
2672
+ class Byebug::Remote::Server
2673
+ # @return [Server] a new instance of Server
2674
+ #
2675
+ # source://byebug//lib/byebug/remote/server.rb#13
2676
+ def initialize(wait_connection:, &block); end
2677
+
2678
+ # Returns the value of attribute actual_port.
2679
+ #
2680
+ # source://byebug//lib/byebug/remote/server.rb#11
2681
+ def actual_port; end
2682
+
2683
+ # Start the remote debugging server
2684
+ #
2685
+ # source://byebug//lib/byebug/remote/server.rb#22
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
2691
+ def wait_connection; end
2692
+ end
2693
+
2694
+ # Interface class for remote use of byebug.
2695
+ #
2696
+ # source://byebug//lib/byebug/interfaces/remote_interface.rb#9
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
2701
+ def initialize(socket); end
2702
+
2703
+ # source://byebug//lib/byebug/interfaces/remote_interface.rb#41
2704
+ def close; end
2705
+
2706
+ # source://byebug//lib/byebug/interfaces/remote_interface.rb#23
2707
+ def confirm(prompt); end
2708
+
2709
+ # source://byebug//lib/byebug/interfaces/remote_interface.rb#29
2710
+ def print(message); end
2711
+
2712
+ # source://byebug//lib/byebug/interfaces/remote_interface.rb#35
2713
+ def puts(message); end
2714
+
2715
+ # source://byebug//lib/byebug/interfaces/remote_interface.rb#17
2716
+ def read_command(prompt); end
2717
+
2718
+ # source://byebug//lib/byebug/interfaces/remote_interface.rb#45
2719
+ def readline(prompt); end
2720
+ end
2721
+
2722
+ # Restart debugged program from within byebug.
2723
+ #
2724
+ # source://byebug//lib/byebug/commands/restart.rb#14
2725
+ class Byebug::RestartCommand < ::Byebug::Command
2726
+ include ::Byebug::Helpers::BinHelper
2727
+ include ::Byebug::Helpers::PathHelper
2728
+
2729
+ # source://byebug//lib/byebug/commands/restart.rb#40
2730
+ def execute; end
2731
+
2732
+ private
2733
+
2734
+ # source://byebug//lib/byebug/commands/restart.rb#54
2735
+ def prepend_byebug_bin(cmd); end
2736
+
2737
+ # source://byebug//lib/byebug/commands/restart.rb#59
2738
+ def prepend_ruby_bin(cmd); end
2739
+
2740
+ class << self
2741
+ # source://byebug//lib/byebug/commands/restart.rb#25
2742
+ def description; end
2743
+
2744
+ # source://byebug//lib/byebug/commands/restart.rb#21
2745
+ def regexp; end
2746
+
2747
+ # source://byebug//lib/byebug/commands/restart.rb#36
2748
+ def short_description; end
2749
+ end
2750
+ end
2751
+
2752
+ # Save current settings to use them in another debug session.
2753
+ #
2754
+ # source://byebug//lib/byebug/commands/save.rb#9
2755
+ class Byebug::SaveCommand < ::Byebug::Command
2756
+ # source://byebug//lib/byebug/commands/save.rb#36
2757
+ def execute; end
2758
+
2759
+ private
2760
+
2761
+ # source://byebug//lib/byebug/commands/save.rb#50
2762
+ def save_breakpoints(file); end
2763
+
2764
+ # source://byebug//lib/byebug/commands/save.rb#56
2765
+ def save_catchpoints(file); end
2766
+
2767
+ # source://byebug//lib/byebug/commands/save.rb#62
2768
+ def save_displays(file); end
2769
+
2770
+ # source://byebug//lib/byebug/commands/save.rb#66
2771
+ def save_settings(file); end
2772
+
2773
+ class << self
2774
+ # source://byebug//lib/byebug/commands/save.rb#17
2775
+ def description; end
2776
+
2777
+ # source://byebug//lib/byebug/commands/save.rb#13
2778
+ def regexp; end
2779
+
2780
+ # source://byebug//lib/byebug/commands/save.rb#32
2781
+ def short_description; end
2782
+ end
2783
+ end
2784
+
2785
+ # Setting to customize the file where byebug's history is saved.
2786
+ #
2787
+ # source://byebug//lib/byebug/settings/savefile.rb#9
2788
+ class Byebug::SavefileSetting < ::Byebug::Setting
2789
+ # source://byebug//lib/byebug/settings/savefile.rb#12
2790
+ def banner; end
2791
+
2792
+ # source://byebug//lib/byebug/settings/savefile.rb#16
2793
+ def to_s; end
2794
+ end
2795
+
2796
+ # source://byebug//lib/byebug/settings/savefile.rb#10
2797
+ Byebug::SavefileSetting::DEFAULT = T.let(T.unsafe(nil), String)
2798
+
2799
+ # Interface class for command execution from script files.
2800
+ #
2801
+ # source://byebug//lib/byebug/interfaces/script_interface.rb#7
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
2806
+ def initialize(file, verbose = T.unsafe(nil)); end
2807
+
2808
+ # source://byebug//lib/byebug/interfaces/script_interface.rb#20
2809
+ def close; end
2810
+
2811
+ # source://byebug//lib/byebug/interfaces/script_interface.rb#16
2812
+ def read_command(prompt); end
2813
+
2814
+ # source://byebug//lib/byebug/interfaces/script_interface.rb#24
2815
+ def readline(*_arg0); end
2816
+ end
2817
+
2818
+ # Processes commands from a file
2819
+ #
2820
+ # source://byebug//lib/byebug/processors/script_processor.rb#12
2821
+ class Byebug::ScriptProcessor < ::Byebug::CommandProcessor
2822
+ # source://byebug//lib/byebug/processors/script_processor.rb#28
2823
+ def after_repl; end
2824
+
2825
+ # Available commands
2826
+ #
2827
+ # source://byebug//lib/byebug/processors/script_processor.rb#13
2828
+ def commands; end
2829
+
2830
+ # Prompt shown before reading a command.
2831
+ #
2832
+ # source://byebug//lib/byebug/processors/script_processor.rb#37
2833
+ def prompt; end
2834
+
2835
+ # source://byebug//lib/byebug/processors/script_processor.rb#17
2836
+ def repl; end
2837
+
2838
+ private
2839
+
2840
+ # source://byebug//lib/byebug/processors/script_processor.rb#43
2841
+ def without_exceptions; end
2842
+ end
2843
+
2844
+ # Change byebug settings.
2845
+ #
2846
+ # source://byebug//lib/byebug/commands/set.rb#10
2847
+ class Byebug::SetCommand < ::Byebug::Command
2848
+ include ::Byebug::Helpers::ParseHelper
2849
+
2850
+ # source://byebug//lib/byebug/commands/set.rb#42
2851
+ def execute; end
2852
+
2853
+ private
2854
+
2855
+ # source://byebug//lib/byebug/commands/set.rb#66
2856
+ def get_onoff(arg, default); end
2857
+
2858
+ class << self
2859
+ # source://byebug//lib/byebug/commands/set.rb#20
2860
+ def description; end
2861
+
2862
+ # source://byebug//lib/byebug/commands/set.rb#38
2863
+ def help; end
2864
+
2865
+ # source://byebug//lib/byebug/commands/set.rb#16
2866
+ def regexp; end
2867
+
2868
+ # source://byebug//lib/byebug/commands/set.rb#34
2869
+ def short_description; end
2870
+ end
2871
+ end
2872
+
2873
+ # Parent class for all byebug settings.
2874
+ #
2875
+ # source://byebug//lib/byebug/setting.rb#9
2876
+ class Byebug::Setting
2877
+ # @return [Setting] a new instance of Setting
2878
+ #
2879
+ # source://byebug//lib/byebug/setting.rb#14
2880
+ def initialize; end
2881
+
2882
+ # @return [Boolean]
2883
+ #
2884
+ # source://byebug//lib/byebug/setting.rb#18
2885
+ def boolean?; end
2886
+
2887
+ # source://byebug//lib/byebug/setting.rb#28
2888
+ def help; end
2889
+
2890
+ # @return [Boolean]
2891
+ #
2892
+ # source://byebug//lib/byebug/setting.rb#22
2893
+ def integer?; end
2894
+
2895
+ # source://byebug//lib/byebug/setting.rb#37
2896
+ def to_s; end
2897
+
2898
+ # source://byebug//lib/byebug/setting.rb#32
2899
+ def to_sym; end
2900
+
2901
+ # Returns the value of attribute value.
2902
+ #
2903
+ # source://byebug//lib/byebug/setting.rb#10
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
2911
+ def value=(_arg0); end
2912
+
2913
+ class << self
2914
+ # source://byebug//lib/byebug/setting.rb#46
2915
+ def [](name); end
2916
+
2917
+ # source://byebug//lib/byebug/setting.rb#50
2918
+ def []=(name, value); end
2919
+
2920
+ # source://byebug//lib/byebug/setting.rb#54
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
2926
+ def help_all; end
2927
+
2928
+ # source://byebug//lib/byebug/setting.rb#42
2929
+ def settings; end
2930
+ end
2931
+ end
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
2939
+ class Byebug::ShowCommand < ::Byebug::Command
2940
+ # source://byebug//lib/byebug/commands/show.rb#35
2941
+ def execute; end
2942
+
2943
+ class << self
2944
+ # source://byebug//lib/byebug/commands/show.rb#17
2945
+ def description; end
2946
+
2947
+ # source://byebug//lib/byebug/commands/show.rb#31
2948
+ def help; end
2949
+
2950
+ # source://byebug//lib/byebug/commands/show.rb#13
2951
+ def regexp; end
2952
+
2953
+ # source://byebug//lib/byebug/commands/show.rb#27
2954
+ def short_description; end
2955
+ end
2956
+ end
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
2962
+ class Byebug::SkipCommand < ::Byebug::Command
2963
+ include ::Byebug::Helpers::ParseHelper
2964
+
2965
+ # source://byebug//lib/byebug/commands/skip.rb#70
2966
+ def auto_run; end
2967
+
2968
+ # source://byebug//lib/byebug/commands/skip.rb#77
2969
+ def execute; end
2970
+
2971
+ # source://byebug//lib/byebug/commands/skip.rb#53
2972
+ def initialize_attributes; end
2973
+
2974
+ # source://byebug//lib/byebug/commands/skip.rb#60
2975
+ def keep_execution; end
2976
+
2977
+ # source://byebug//lib/byebug/commands/skip.rb#64
2978
+ def reset_attributes; end
2979
+
2980
+ class << self
2981
+ # source://byebug//lib/byebug/commands/skip.rb#41
2982
+ def description; end
2983
+
2984
+ # source://byebug//lib/byebug/commands/skip.rb#18
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
2992
+ def file_line=(_arg0); end
2993
+
2994
+ # source://byebug//lib/byebug/commands/skip.rb#22
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
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
3007
+ def previous_autolist; end
3008
+
3009
+ # source://byebug//lib/byebug/commands/skip.rb#37
3010
+ def regexp; end
3011
+
3012
+ # source://byebug//lib/byebug/commands/skip.rb#31
3013
+ def restore_autolist; end
3014
+
3015
+ # source://byebug//lib/byebug/commands/skip.rb#26
3016
+ def setup_autolist(value); end
3017
+
3018
+ # source://byebug//lib/byebug/commands/skip.rb#49
3019
+ def short_description; end
3020
+ end
3021
+ end
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
3028
+ class Byebug::SourceCommand < ::Byebug::Command
3029
+ # source://byebug//lib/byebug/commands/source.rb#31
3030
+ def execute; end
3031
+
3032
+ class << self
3033
+ # source://byebug//lib/byebug/commands/source.rb#19
3034
+ def description; end
3035
+
3036
+ # source://byebug//lib/byebug/commands/source.rb#15
3037
+ def regexp; end
3038
+
3039
+ # source://byebug//lib/byebug/commands/source.rb#27
3040
+ def short_description; end
3041
+ end
3042
+ end
3043
+
3044
+ # Formats specific line ranges in a source file
3045
+ #
3046
+ # source://byebug//lib/byebug/source_file_formatter.rb#10
3047
+ class Byebug::SourceFileFormatter
3048
+ include ::Byebug::Helpers::FileHelper
3049
+
3050
+ # @return [SourceFileFormatter] a new instance of SourceFileFormatter
3051
+ #
3052
+ # source://byebug//lib/byebug/source_file_formatter.rb#15
3053
+ def initialize(file, annotator); end
3054
+
3055
+ # source://byebug//lib/byebug/source_file_formatter.rb#67
3056
+ def amend(line, ceiling); end
3057
+
3058
+ # source://byebug//lib/byebug/source_file_formatter.rb#51
3059
+ def amend_final(line); end
3060
+
3061
+ # source://byebug//lib/byebug/source_file_formatter.rb#47
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
3067
+ def annotator; end
3068
+
3069
+ # Returns the value of attribute file.
3070
+ #
3071
+ # source://byebug//lib/byebug/source_file_formatter.rb#13
3072
+ def file; end
3073
+
3074
+ # source://byebug//lib/byebug/source_file_formatter.rb#20
3075
+ def lines(min, max); end
3076
+
3077
+ # source://byebug//lib/byebug/source_file_formatter.rb#33
3078
+ def lines_around(center); end
3079
+
3080
+ # source://byebug//lib/byebug/source_file_formatter.rb#55
3081
+ def max_initial_line; end
3082
+
3083
+ # source://byebug//lib/byebug/source_file_formatter.rb#59
3084
+ def max_line; end
3085
+
3086
+ # source://byebug//lib/byebug/source_file_formatter.rb#37
3087
+ def range_around(center); end
3088
+
3089
+ # source://byebug//lib/byebug/source_file_formatter.rb#41
3090
+ def range_from(min); end
3091
+
3092
+ # source://byebug//lib/byebug/source_file_formatter.rb#63
3093
+ def size; end
3094
+ end
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
3100
+ class Byebug::StackOnErrorSetting < ::Byebug::Setting
3101
+ # source://byebug//lib/byebug/settings/stack_on_error.rb#11
3102
+ def banner; end
3103
+ end
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
3111
+ class Byebug::StepCommand < ::Byebug::Command
3112
+ include ::Byebug::Helpers::ParseHelper
3113
+
3114
+ # source://byebug//lib/byebug/commands/step.rb#32
3115
+ def execute; end
3116
+
3117
+ class << self
3118
+ # source://byebug//lib/byebug/commands/step.rb#20
3119
+ def description; end
3120
+
3121
+ # source://byebug//lib/byebug/commands/step.rb#16
3122
+ def regexp; end
3123
+
3124
+ # source://byebug//lib/byebug/commands/step.rb#28
3125
+ def short_description; end
3126
+ end
3127
+ end
3128
+
3129
+ # Subcommand additions.
3130
+ #
3131
+ # source://byebug//lib/byebug/subcommands.rb#12
3132
+ module Byebug::Subcommands
3133
+ extend ::Forwardable
3134
+
3135
+ mixes_in_class_methods ::Byebug::Subcommands::ClassMethods
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
3142
+ def execute; end
3143
+
3144
+ # source://forwardable/1.3.1/forwardable.rb#226
3145
+ def subcommand_list(*args, &block); end
3146
+
3147
+ class << self
3148
+ # @private
3149
+ #
3150
+ # source://byebug//lib/byebug/subcommands.rb#13
3151
+ def included(command); end
3152
+ end
3153
+ end
3154
+
3155
+ # Class methods added to subcommands
3156
+ #
3157
+ # source://byebug//lib/byebug/subcommands.rb#36
3158
+ module Byebug::Subcommands::ClassMethods
3159
+ include ::Byebug::Helpers::ReflectionHelper
3160
+
3161
+ # Default help text for a command with subcommands
3162
+ #
3163
+ # source://byebug//lib/byebug/subcommands.rb#42
3164
+ def help; end
3165
+
3166
+ # Command's subcommands.
3167
+ #
3168
+ # source://byebug//lib/byebug/subcommands.rb#49
3169
+ def subcommand_list; end
3170
+ end
3171
+
3172
+ # Reopens the +thread+ command to define the +resume+ subcommand
3173
+ #
3174
+ # source://byebug//lib/byebug/commands/thread/current.rb#12
3175
+ class Byebug::ThreadCommand < ::Byebug::Command
3176
+ include ::Byebug::Subcommands
3177
+ extend ::Byebug::Helpers::ReflectionHelper
3178
+ extend ::Byebug::Subcommands::ClassMethods
3179
+
3180
+ class << self
3181
+ # source://byebug//lib/byebug/commands/thread.rb#22
3182
+ def description; end
3183
+
3184
+ # source://byebug//lib/byebug/commands/thread.rb#18
3185
+ def regexp; end
3186
+
3187
+ # source://byebug//lib/byebug/commands/thread.rb#30
3188
+ def short_description; end
3189
+ end
3190
+ end
3191
+
3192
+ # Information about the current thread
3193
+ #
3194
+ # source://byebug//lib/byebug/commands/thread/current.rb#13
3195
+ class Byebug::ThreadCommand::CurrentCommand < ::Byebug::Command
3196
+ include ::Byebug::Helpers::ThreadHelper
3197
+
3198
+ # source://byebug//lib/byebug/commands/thread/current.rb#32
3199
+ def execute; end
3200
+
3201
+ class << self
3202
+ # source://byebug//lib/byebug/commands/thread/current.rb#20
3203
+ def description; end
3204
+
3205
+ # source://byebug//lib/byebug/commands/thread/current.rb#16
3206
+ def regexp; end
3207
+
3208
+ # source://byebug//lib/byebug/commands/thread/current.rb#28
3209
+ def short_description; end
3210
+ end
3211
+ end
3212
+
3213
+ # Information about threads
3214
+ #
3215
+ # source://byebug//lib/byebug/commands/thread/list.rb#13
3216
+ class Byebug::ThreadCommand::ListCommand < ::Byebug::Command
3217
+ include ::Byebug::Helpers::ThreadHelper
3218
+
3219
+ # source://byebug//lib/byebug/commands/thread/list.rb#32
3220
+ def execute; end
3221
+
3222
+ class << self
3223
+ # source://byebug//lib/byebug/commands/thread/list.rb#20
3224
+ def description; end
3225
+
3226
+ # source://byebug//lib/byebug/commands/thread/list.rb#16
3227
+ def regexp; end
3228
+
3229
+ # source://byebug//lib/byebug/commands/thread/list.rb#28
3230
+ def short_description; end
3231
+ end
3232
+ end
3233
+
3234
+ # Resumes the specified thread
3235
+ #
3236
+ # source://byebug//lib/byebug/commands/thread/resume.rb#13
3237
+ class Byebug::ThreadCommand::ResumeCommand < ::Byebug::Command
3238
+ include ::Byebug::Helpers::ThreadHelper
3239
+
3240
+ # source://byebug//lib/byebug/commands/thread/resume.rb#32
3241
+ def execute; end
3242
+
3243
+ class << self
3244
+ # source://byebug//lib/byebug/commands/thread/resume.rb#20
3245
+ def description; end
3246
+
3247
+ # source://byebug//lib/byebug/commands/thread/resume.rb#16
3248
+ def regexp; end
3249
+
3250
+ # source://byebug//lib/byebug/commands/thread/resume.rb#28
3251
+ def short_description; end
3252
+ end
3253
+ end
3254
+
3255
+ # Stops the specified thread
3256
+ #
3257
+ # source://byebug//lib/byebug/commands/thread/stop.rb#13
3258
+ class Byebug::ThreadCommand::StopCommand < ::Byebug::Command
3259
+ include ::Byebug::Helpers::ThreadHelper
3260
+
3261
+ # source://byebug//lib/byebug/commands/thread/stop.rb#32
3262
+ def execute; end
3263
+
3264
+ class << self
3265
+ # source://byebug//lib/byebug/commands/thread/stop.rb#20
3266
+ def description; end
3267
+
3268
+ # source://byebug//lib/byebug/commands/thread/stop.rb#16
3269
+ def regexp; end
3270
+
3271
+ # source://byebug//lib/byebug/commands/thread/stop.rb#28
3272
+ def short_description; end
3273
+ end
3274
+ end
3275
+
3276
+ # Switches to the specified thread
3277
+ #
3278
+ # source://byebug//lib/byebug/commands/thread/switch.rb#13
3279
+ class Byebug::ThreadCommand::SwitchCommand < ::Byebug::Command
3280
+ include ::Byebug::Helpers::ThreadHelper
3281
+
3282
+ # source://byebug//lib/byebug/commands/thread/switch.rb#32
3283
+ def execute; end
3284
+
3285
+ class << self
3286
+ # source://byebug//lib/byebug/commands/thread/switch.rb#20
3287
+ def description; end
3288
+
3289
+ # source://byebug//lib/byebug/commands/thread/switch.rb#16
3290
+ def regexp; end
3291
+
3292
+ # source://byebug//lib/byebug/commands/thread/switch.rb#28
3293
+ def short_description; end
3294
+ end
3295
+ end
3296
+
3297
+ class Byebug::ThreadsTable; end
3298
+
3299
+ # Show (and possibily stop) at every line that changes a global variable.
3300
+ #
3301
+ # source://byebug//lib/byebug/commands/tracevar.rb#9
3302
+ class Byebug::TracevarCommand < ::Byebug::Command
3303
+ # source://byebug//lib/byebug/commands/tracevar.rb#32
3304
+ def execute; end
3305
+
3306
+ private
3307
+
3308
+ # source://byebug//lib/byebug/commands/tracevar.rb#48
3309
+ def on_change(name, value, stop); end
3310
+
3311
+ class << self
3312
+ # source://byebug//lib/byebug/commands/tracevar.rb#16
3313
+ def description; end
3314
+
3315
+ # source://byebug//lib/byebug/commands/tracevar.rb#10
3316
+ def regexp; end
3317
+
3318
+ # source://byebug//lib/byebug/commands/tracevar.rb#28
3319
+ def short_description; end
3320
+ end
3321
+ end
3322
+
3323
+ # Remove expressions from display list.
3324
+ #
3325
+ # source://byebug//lib/byebug/commands/undisplay.rb#10
3326
+ class Byebug::UndisplayCommand < ::Byebug::Command
3327
+ include ::Byebug::Helpers::ParseHelper
3328
+
3329
+ # source://byebug//lib/byebug/commands/undisplay.rb#35
3330
+ def execute; end
3331
+
3332
+ class << self
3333
+ # source://byebug//lib/byebug/commands/undisplay.rb#19
3334
+ def description; end
3335
+
3336
+ # source://byebug//lib/byebug/commands/undisplay.rb#15
3337
+ def regexp; end
3338
+
3339
+ # source://byebug//lib/byebug/commands/undisplay.rb#31
3340
+ def short_description; end
3341
+ end
3342
+ end
3343
+
3344
+ # Stop tracing a global variable.
3345
+ #
3346
+ # source://byebug//lib/byebug/commands/untracevar.rb#9
3347
+ class Byebug::UntracevarCommand < ::Byebug::Command
3348
+ # source://byebug//lib/byebug/commands/untracevar.rb#26
3349
+ def execute; end
3350
+
3351
+ class << self
3352
+ # source://byebug//lib/byebug/commands/untracevar.rb#14
3353
+ def description; end
3354
+
3355
+ # source://byebug//lib/byebug/commands/untracevar.rb#10
3356
+ def regexp; end
3357
+
3358
+ # source://byebug//lib/byebug/commands/untracevar.rb#22
3359
+ def short_description; end
3360
+ end
3361
+ end
3362
+
3363
+ # Move the current frame up in the backtrace.
3364
+ #
3365
+ # source://byebug//lib/byebug/commands/up.rb#12
3366
+ class Byebug::UpCommand < ::Byebug::Command
3367
+ include ::Byebug::Helpers::FrameHelper
3368
+ include ::Byebug::Helpers::ParseHelper
3369
+
3370
+ # source://byebug//lib/byebug/commands/up.rb#36
3371
+ def execute; end
3372
+
3373
+ class << self
3374
+ # source://byebug//lib/byebug/commands/up.rb#22
3375
+ def description; end
3376
+
3377
+ # source://byebug//lib/byebug/commands/up.rb#18
3378
+ def regexp; end
3379
+
3380
+ # source://byebug//lib/byebug/commands/up.rb#32
3381
+ def short_description; end
3382
+ end
3383
+ end
3384
+
3385
+ # Shows variables and its values
3386
+ #
3387
+ # source://byebug//lib/byebug/commands/var/all.rb#12
3388
+ class Byebug::VarCommand < ::Byebug::Command
3389
+ include ::Byebug::Subcommands
3390
+ extend ::Byebug::Helpers::ReflectionHelper
3391
+ extend ::Byebug::Subcommands::ClassMethods
3392
+
3393
+ class << self
3394
+ # source://byebug//lib/byebug/commands/var.rb#25
3395
+ def description; end
3396
+
3397
+ # source://byebug//lib/byebug/commands/var.rb#21
3398
+ def regexp; end
3399
+
3400
+ # source://byebug//lib/byebug/commands/var.rb#33
3401
+ def short_description; end
3402
+ end
3403
+ end
3404
+
3405
+ # Shows global, instance and local variables
3406
+ #
3407
+ # source://byebug//lib/byebug/commands/var/all.rb#13
3408
+ class Byebug::VarCommand::AllCommand < ::Byebug::Command
3409
+ include ::Byebug::Helpers::EvalHelper
3410
+ include ::Byebug::Helpers::VarHelper
3411
+
3412
+ # source://byebug//lib/byebug/commands/var/all.rb#34
3413
+ def execute; end
3414
+
3415
+ class << self
3416
+ # source://byebug//lib/byebug/commands/var/all.rb#22
3417
+ def description; end
3418
+
3419
+ # source://byebug//lib/byebug/commands/var/all.rb#18
3420
+ def regexp; end
3421
+
3422
+ # source://byebug//lib/byebug/commands/var/all.rb#30
3423
+ def short_description; end
3424
+ end
3425
+ end
3426
+
3427
+ # Information about arguments of the current method/block
3428
+ #
3429
+ # source://byebug//lib/byebug/commands/var/args.rb#13
3430
+ class Byebug::VarCommand::ArgsCommand < ::Byebug::Command
3431
+ include ::Byebug::Helpers::EvalHelper
3432
+ include ::Byebug::Helpers::VarHelper
3433
+
3434
+ # source://byebug//lib/byebug/commands/var/args.rb#34
3435
+ def execute; end
3436
+
3437
+ class << self
3438
+ # source://byebug//lib/byebug/commands/var/args.rb#22
3439
+ def description; end
3440
+
3441
+ # source://byebug//lib/byebug/commands/var/args.rb#18
3442
+ def regexp; end
3443
+
3444
+ # source://byebug//lib/byebug/commands/var/args.rb#30
3445
+ def short_description; end
3446
+ end
3447
+ end
3448
+
3449
+ # Shows constants
3450
+ #
3451
+ # source://byebug//lib/byebug/commands/var/const.rb#13
3452
+ class Byebug::VarCommand::ConstCommand < ::Byebug::Command
3453
+ include ::Byebug::Helpers::EvalHelper
3454
+
3455
+ # source://byebug//lib/byebug/commands/var/const.rb#34
3456
+ def execute; end
3457
+
3458
+ private
3459
+
3460
+ # source://byebug//lib/byebug/commands/var/const.rb#44
3461
+ def str_obj; end
3462
+
3463
+ class << self
3464
+ # source://byebug//lib/byebug/commands/var/const.rb#22
3465
+ def description; end
3466
+
3467
+ # source://byebug//lib/byebug/commands/var/const.rb#18
3468
+ def regexp; end
3469
+
3470
+ # source://byebug//lib/byebug/commands/var/const.rb#30
3471
+ def short_description; end
3472
+ end
3473
+ end
3474
+
3475
+ # Shows global variables
3476
+ #
3477
+ # source://byebug//lib/byebug/commands/var/global.rb#11
3478
+ class Byebug::VarCommand::GlobalCommand < ::Byebug::Command
3479
+ include ::Byebug::Helpers::EvalHelper
3480
+ include ::Byebug::Helpers::VarHelper
3481
+
3482
+ # source://byebug//lib/byebug/commands/var/global.rb#32
3483
+ def execute; end
3484
+
3485
+ class << self
3486
+ # source://byebug//lib/byebug/commands/var/global.rb#20
3487
+ def description; end
3488
+
3489
+ # source://byebug//lib/byebug/commands/var/global.rb#16
3490
+ def regexp; end
3491
+
3492
+ # source://byebug//lib/byebug/commands/var/global.rb#28
3493
+ def short_description; end
3494
+ end
3495
+ end
3496
+
3497
+ # Shows instance variables
3498
+ #
3499
+ # source://byebug//lib/byebug/commands/var/instance.rb#13
3500
+ class Byebug::VarCommand::InstanceCommand < ::Byebug::Command
3501
+ include ::Byebug::Helpers::EvalHelper
3502
+ include ::Byebug::Helpers::VarHelper
3503
+
3504
+ # source://byebug//lib/byebug/commands/var/instance.rb#34
3505
+ def execute; end
3506
+
3507
+ class << self
3508
+ # source://byebug//lib/byebug/commands/var/instance.rb#22
3509
+ def description; end
3510
+
3511
+ # source://byebug//lib/byebug/commands/var/instance.rb#18
3512
+ def regexp; end
3513
+
3514
+ # source://byebug//lib/byebug/commands/var/instance.rb#30
3515
+ def short_description; end
3516
+ end
3517
+ end
3518
+
3519
+ # Shows local variables in current scope
3520
+ #
3521
+ # source://byebug//lib/byebug/commands/var/local.rb#13
3522
+ class Byebug::VarCommand::LocalCommand < ::Byebug::Command
3523
+ include ::Byebug::Helpers::EvalHelper
3524
+ include ::Byebug::Helpers::VarHelper
3525
+
3526
+ # source://byebug//lib/byebug/commands/var/local.rb#34
3527
+ def execute; end
3528
+
3529
+ class << self
3530
+ # source://byebug//lib/byebug/commands/var/local.rb#22
3531
+ def description; end
3532
+
3533
+ # source://byebug//lib/byebug/commands/var/local.rb#18
3534
+ def regexp; end
3535
+
3536
+ # source://byebug//lib/byebug/commands/var/local.rb#30
3537
+ def short_description; end
3538
+ end
3539
+ end
3540
+
3541
+ # Show current backtrace.
3542
+ #
3543
+ # source://byebug//lib/byebug/commands/where.rb#11
3544
+ class Byebug::WhereCommand < ::Byebug::Command
3545
+ include ::Byebug::Helpers::FrameHelper
3546
+
3547
+ # source://byebug//lib/byebug/commands/where.rb#39
3548
+ def execute; end
3549
+
3550
+ private
3551
+
3552
+ # source://byebug//lib/byebug/commands/where.rb#45
3553
+ def print_backtrace; end
3554
+
3555
+ class << self
3556
+ # source://byebug//lib/byebug/commands/where.rb#20
3557
+ def description; end
3558
+
3559
+ # source://byebug//lib/byebug/commands/where.rb#16
3560
+ def regexp; end
3561
+
3562
+ # source://byebug//lib/byebug/commands/where.rb#35
3563
+ def short_description; end
3564
+ end
3565
+ end
3566
+
3567
+ # Setting to customize the maximum width of byebug's output.
3568
+ #
3569
+ # source://byebug//lib/byebug/settings/width.rb#9
3570
+ class Byebug::WidthSetting < ::Byebug::Setting
3571
+ # source://byebug//lib/byebug/settings/width.rb#12
3572
+ def banner; end
3573
+
3574
+ # source://byebug//lib/byebug/settings/width.rb#16
3575
+ def to_s; end
3576
+ end
3577
+
3578
+ # source://byebug//lib/byebug/settings/width.rb#10
3579
+ Byebug::WidthSetting::DEFAULT = T.let(T.unsafe(nil), Integer)
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
3585
+ class Exception
3586
+ # Returns the value of attribute __bb_context.
3587
+ #
3588
+ # source://byebug//lib/byebug/core.rb#114
3589
+ def __bb_context; end
3590
+ end
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
3597
+ module Kernel
3598
+ # source://byebug//lib/byebug/attacher.rb#35
3599
+ def byebug; end
3600
+
3601
+ # source://byebug//lib/byebug/attacher.rb#35
3602
+ def debugger; end
3603
+
3604
+ # source://byebug//lib/byebug/attacher.rb#41
3605
+ def remote_byebug(host = T.unsafe(nil), port = T.unsafe(nil)); end
3606
+ end