active_cached_resource 0.1.0 → 0.1.2

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