byebug 11.0.1 → 11.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (103) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +38 -1
  3. data/CONTRIBUTING.md +2 -2
  4. data/README.md +17 -17
  5. data/ext/byebug/byebug.c +4 -9
  6. data/ext/byebug/byebug.h +4 -2
  7. data/ext/byebug/context.c +15 -2
  8. data/lib/byebug/attacher.rb +2 -2
  9. data/lib/byebug/command.rb +2 -2
  10. data/lib/byebug/command_list.rb +1 -1
  11. data/lib/byebug/commands/break.rb +5 -5
  12. data/lib/byebug/commands/catch.rb +2 -2
  13. data/lib/byebug/commands/condition.rb +2 -2
  14. data/lib/byebug/commands/continue.rb +2 -2
  15. data/lib/byebug/commands/debug.rb +2 -2
  16. data/lib/byebug/commands/delete.rb +2 -2
  17. data/lib/byebug/commands/disable/breakpoints.rb +1 -1
  18. data/lib/byebug/commands/disable/display.rb +1 -1
  19. data/lib/byebug/commands/disable.rb +3 -3
  20. data/lib/byebug/commands/display.rb +2 -2
  21. data/lib/byebug/commands/down.rb +3 -3
  22. data/lib/byebug/commands/edit.rb +1 -1
  23. data/lib/byebug/commands/enable/breakpoints.rb +1 -1
  24. data/lib/byebug/commands/enable/display.rb +1 -1
  25. data/lib/byebug/commands/enable.rb +3 -3
  26. data/lib/byebug/commands/finish.rb +2 -2
  27. data/lib/byebug/commands/frame.rb +3 -3
  28. data/lib/byebug/commands/help.rb +2 -2
  29. data/lib/byebug/commands/history.rb +2 -2
  30. data/lib/byebug/commands/info/file.rb +1 -1
  31. data/lib/byebug/commands/info.rb +6 -6
  32. data/lib/byebug/commands/interrupt.rb +1 -1
  33. data/lib/byebug/commands/irb.rb +1 -1
  34. data/lib/byebug/commands/kill.rb +1 -1
  35. data/lib/byebug/commands/list.rb +4 -4
  36. data/lib/byebug/commands/method.rb +2 -2
  37. data/lib/byebug/commands/next.rb +2 -2
  38. data/lib/byebug/commands/pry.rb +2 -2
  39. data/lib/byebug/commands/quit.rb +1 -1
  40. data/lib/byebug/commands/restart.rb +3 -3
  41. data/lib/byebug/commands/save.rb +1 -1
  42. data/lib/byebug/commands/set.rb +3 -3
  43. data/lib/byebug/commands/show.rb +1 -1
  44. data/lib/byebug/commands/skip.rb +2 -2
  45. data/lib/byebug/commands/source.rb +1 -1
  46. data/lib/byebug/commands/step.rb +2 -2
  47. data/lib/byebug/commands/thread/current.rb +1 -1
  48. data/lib/byebug/commands/thread/list.rb +1 -1
  49. data/lib/byebug/commands/thread/resume.rb +1 -1
  50. data/lib/byebug/commands/thread/stop.rb +1 -1
  51. data/lib/byebug/commands/thread/switch.rb +1 -1
  52. data/lib/byebug/commands/thread.rb +6 -6
  53. data/lib/byebug/commands/tracevar.rb +1 -1
  54. data/lib/byebug/commands/undisplay.rb +2 -2
  55. data/lib/byebug/commands/untracevar.rb +1 -1
  56. data/lib/byebug/commands/up.rb +3 -3
  57. data/lib/byebug/commands/var/all.rb +1 -1
  58. data/lib/byebug/commands/var/args.rb +1 -1
  59. data/lib/byebug/commands/var/const.rb +1 -1
  60. data/lib/byebug/commands/var/instance.rb +1 -1
  61. data/lib/byebug/commands/var/local.rb +1 -1
  62. data/lib/byebug/commands/var.rb +8 -8
  63. data/lib/byebug/commands/where.rb +2 -2
  64. data/lib/byebug/commands.rb +38 -38
  65. data/lib/byebug/context.rb +4 -4
  66. data/lib/byebug/core.rb +9 -9
  67. data/lib/byebug/frame.rb +2 -2
  68. data/lib/byebug/helpers/parse.rb +1 -1
  69. data/lib/byebug/helpers/toggle.rb +1 -1
  70. data/lib/byebug/helpers/var.rb +1 -1
  71. data/lib/byebug/history.rb +1 -1
  72. data/lib/byebug/interface.rb +6 -6
  73. data/lib/byebug/interfaces/local_interface.rb +20 -1
  74. data/lib/byebug/interfaces/remote_interface.rb +1 -1
  75. data/lib/byebug/interfaces/script_interface.rb +1 -1
  76. data/lib/byebug/printers/plain.rb +1 -1
  77. data/lib/byebug/processors/command_processor.rb +2 -2
  78. data/lib/byebug/processors/control_processor.rb +1 -1
  79. data/lib/byebug/processors/post_mortem_processor.rb +1 -1
  80. data/lib/byebug/processors/script_processor.rb +1 -1
  81. data/lib/byebug/remote.rb +3 -3
  82. data/lib/byebug/runner.rb +7 -7
  83. data/lib/byebug/setting.rb +2 -2
  84. data/lib/byebug/settings/autoirb.rb +2 -2
  85. data/lib/byebug/settings/autolist.rb +2 -2
  86. data/lib/byebug/settings/autopry.rb +2 -2
  87. data/lib/byebug/settings/autosave.rb +1 -1
  88. data/lib/byebug/settings/basename.rb +1 -1
  89. data/lib/byebug/settings/callstyle.rb +1 -1
  90. data/lib/byebug/settings/fullpath.rb +1 -1
  91. data/lib/byebug/settings/histfile.rb +1 -1
  92. data/lib/byebug/settings/histsize.rb +1 -1
  93. data/lib/byebug/settings/linetrace.rb +1 -1
  94. data/lib/byebug/settings/listsize.rb +1 -1
  95. data/lib/byebug/settings/post_mortem.rb +1 -1
  96. data/lib/byebug/settings/savefile.rb +1 -1
  97. data/lib/byebug/settings/stack_on_error.rb +1 -1
  98. data/lib/byebug/settings/width.rb +1 -1
  99. data/lib/byebug/source_file_formatter.rb +2 -2
  100. data/lib/byebug/subcommands.rb +2 -2
  101. data/lib/byebug/version.rb +1 -1
  102. data/lib/byebug.rb +1 -1
  103. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e0977c7550ab065319699ac26a4bbf84eda25ff1da43e1c2ab2d14ef3be67f8f
4
- data.tar.gz: d89b05376496476d549165b1f885599412c9957cf9fe5ee75c069e910879b63f
3
+ metadata.gz: 756ca67151133e7afeea4be781e49bb948a7b8dc7b2ece045a29e6c549409abc
4
+ data.tar.gz: a301313d736ee29e15ec53d4e903359be8e4aa0b1bc1f6155d784937c636a0d6
5
5
  SHA512:
6
- metadata.gz: 15904b4b6f3c8734933a26fc55f79d3f13fe97061634dfed642e0638ae2ebbcdbff40ab1c9a85f9ab285e008c5a9b8bfe05d895281e5d51648981a00e463accf
7
- data.tar.gz: 4ba5fb7e27009f4eab22799fe22bd0c998a135cc0075c35471ece93e871e10ef70d4ba901f32093c4c4e87a423d9d3da5cfefeb1f661830ac95e6867cc1d57eb
6
+ metadata.gz: 03f857ddb22761e243a99660869b5c1bc4863c6c860e2827e2c6a2569009a7bba7ada3a79804ff6fadd5d556f1974feeee215c49696415733425f542fa78b52e
7
+ data.tar.gz: 585b54db0201a0ba6e1e23bceed21b7361064c56a1fa08d997e714d088a05e0ba74c1ffd4ed4fbcb763ad7719afb5a39118eacfad7e81c8e14fda850bc4b8265
data/CHANGELOG.md CHANGED
@@ -2,6 +2,38 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [11.1.3] - 2020-04-23
6
+
7
+ ### Fixed
8
+
9
+ * [#674](https://github.com/deivid-rodriguez/byebug/pull/674): crash when using byebug on ruby 2.7.0 on Windows.
10
+
11
+ ## [11.1.2] - 2020-04-17
12
+
13
+ ### Fixed
14
+
15
+ * [#657](https://github.com/deivid-rodriguez/byebug/pull/657): crash when hitting \<TAB\> due to IRB completion mechanism included in the default ruby 2.7 version of the `irb` gem ([@terceiro]).
16
+
17
+ ## [11.1.1] - 2020-01-24
18
+
19
+ ### Fixed
20
+
21
+ * [#635](https://github.com/deivid-rodriguez/byebug/pull/635): usage on Fedora 31 or any other `byebug` installation performed by a `rubygems` copy customized by setting `Gem.install_extension_in_lib` to false.
22
+
23
+ ## [11.1.0] - 2020-01-20
24
+
25
+ ### Added
26
+
27
+ * Official support for MRI 2.7 ([@yui-knk]).
28
+
29
+ ### Fixed
30
+
31
+ * [#562](https://github.com/deivid-rodriguez/byebug/pull/562): post mortem mode landing in the wrong line when coming from an exception inside a `Kernel.load` call.
32
+
33
+ ### Removed
34
+
35
+ * Support for MRI 2.3. Byebug no longer installs on this platform.
36
+
5
37
  ## [11.0.1] - 2019-03-18
6
38
 
7
39
  ### Fixed
@@ -788,7 +820,11 @@
788
820
 
789
821
  * Initial release.
790
822
 
791
- [Unreleased]: https://github.com/deivid-rodriguez/byebug/compare/v10.0.2...HEAD
823
+ [Unreleased]: https://github.com/deivid-rodriguez/byebug/compare/v11.1.3...HEAD
824
+ [11.1.3]: https://github.com/deivid-rodriguez/byebug/compare/v11.1.2...v11.1.3
825
+ [11.1.2]: https://github.com/deivid-rodriguez/byebug/compare/v11.1.1...v11.1.2
826
+ [11.1.1]: https://github.com/deivid-rodriguez/byebug/compare/v11.1.0...v11.1.1
827
+ [11.1.0]: https://github.com/deivid-rodriguez/byebug/compare/v11.0.1...v11.1.0
792
828
  [11.0.1]: https://github.com/deivid-rodriguez/byebug/compare/v11.0.0...v11.0.1
793
829
  [11.0.0]: https://github.com/deivid-rodriguez/byebug/compare/v10.0.2...v11.0.0
794
830
  [10.0.2]: https://github.com/deivid-rodriguez/byebug/compare/v10.0.1...v10.0.2
@@ -889,6 +925,7 @@
889
925
  [@sethk]: https://github.com/sethk
890
926
  [@shuky19]: https://github.com/shuky19
891
927
  [@tacnoman]: https://github.com/tacnoman
928
+ [@terceiro]: https://github.com/terceiro
892
929
  [@tzmfreedom]: https://github.com/tzmfreedom
893
930
  [@wallace]: https://github.com/wallace
894
931
  [@windwiny]: https://github.com/windwiny
data/CONTRIBUTING.md CHANGED
@@ -21,8 +21,8 @@ abide by its terms.
21
21
  always have the lastest patch level release installed.
22
22
  * The recommended tool to manage development dependencies is `bundler`. Run
23
23
  `gem install bundler` to install it.
24
- * Running `bin/bundle install` inside a local clone of `byebug` will get
25
- development dependencies installed.
24
+ * Running `bundle install` inside a local clone of `byebug` will get development
25
+ dependencies installed.
26
26
 
27
27
  ## Running the test suite
28
28
 
data/README.md CHANGED
@@ -2,17 +2,14 @@
2
2
 
3
3
  [![Version][gem]][gem_url]
4
4
  [![Tidelift][tid]][tid_url]
5
- [![Coverage][cov]][cov_url]
6
5
  [![Gitter][irc]][irc_url]
7
6
 
8
7
  [gem]: https://img.shields.io/gem/v/byebug.svg
9
- [tid]: https://tidelift.com/badges/github/deivid-rodriguez/byebug
10
- [cov]: https://api.codeclimate.com/v1/badges/f1a1bec582752c22da80/test_coverage
8
+ [tid]: https://tidelift.com/badges/package/rubygems/byebug
11
9
  [irc]: https://img.shields.io/badge/IRC%20(gitter)-devs%20%26%20users-brightgreen.svg
12
10
 
13
11
  [gem_url]: https://rubygems.org/gems/byebug
14
12
  [tid_url]: https://tidelift.com/subscription/pkg/rubygems-byebug?utm_source=rubygems-byebug&utm_medium=readme_badge
15
- [cov_url]: https://codeclimate.com/github/deivid-rodriguez/byebug/test_coverage
16
13
  [irc_url]: https://gitter.im/deivid-rodriguez/byebug
17
14
 
18
15
  Byebug is a simple to use and feature rich debugger for Ruby. It uses the
@@ -32,22 +29,21 @@ while it executes and offers many of the traditional debugging features such as:
32
29
  * Tracking: Keeping track of the different values of your variables or the
33
30
  different lines executed by your program.
34
31
 
35
- ## Build Status
32
+ ## For enterprise
36
33
 
37
- Linux [![Cir][cir]][cir_url]
38
- Windows [![Vey][vey]][vey_url]
34
+ Byebug for enterprise is available via the Tidelift Subscription. [Learn
35
+ more][Tidelift for enterprise].
39
36
 
40
- [cir]: https://circleci.com/gh/deivid-rodriguez/byebug/tree/master.svg?style=svg
41
- [tra]: https://api.travis-ci.org/deivid-rodriguez/byebug.svg?branch=master
42
- [vey]: https://ci.appveyor.com/api/projects/status/github/deivid-rodriguez/byebug?svg=true
37
+ ## Build Status
43
38
 
44
- [cir_url]: https://circleci.com/gh/deivid-rodriguez/byebug/tree/master
45
- [tra_url]: https://travis-ci.org/deivid-rodriguez/byebug
46
- [vey_url]: https://ci.appveyor.com/project/deivid-rodriguez/byebug
39
+ ![ubuntu](https://github.com/deivid-rodriguez/byebug/workflows/ubuntu/badge.svg)
40
+ ![windows](https://github.com/deivid-rodriguez/byebug/workflows/windows/badge.svg)
47
41
 
48
42
  ## Requirements
49
43
 
50
- MRI 2.3.0 or higher.
44
+ * _Required_: MRI 2.4.0 or higher.
45
+ * _Recommended_: MRI 2.6.4 or higher (MRI 2.6.0 to 2.6.3 contain a regression
46
+ causing unbalanced call/return events in some cases, breaking the `next` command).
51
47
 
52
48
  ## Install
53
49
 
@@ -101,6 +97,7 @@ Command | Aliases | Subcommands
101
97
  `catch` | `cat` |
102
98
  `condition` | `cond` |
103
99
  `continue` | `c` `cont` |
100
+ `continue!` | `c!` `cont!` |
104
101
  `debug` | |
105
102
  `delete` | `del` |
106
103
  `disable` | `dis` | `breakpoints` `display`
@@ -121,6 +118,7 @@ Command | Aliases | Subcommands
121
118
  `next` | `n` |
122
119
  `pry` | |
123
120
  `quit` | `q` |
121
+ `quit!` | `q!` |
124
122
  `restart` | |
125
123
  `save` | `sa` |
126
124
  `set` | | `autoirb` `autolist` `autopry` `autosave` `basename` `callstyle` `fullpath` `histfile` `histsize` `linetrace` `listsize` `post_mortem` `savefile` `stack_on_error` `width`
@@ -164,9 +162,9 @@ See [Getting Started with Development](CONTRIBUTING.md).
164
162
 
165
163
  ## Funding
166
164
 
167
- Subscribe to [Tidelift] to ensure byebug stays actively maintained, and at the
168
- same time get licensing assurances and timely security notifications for your
169
- open source dependencies.
165
+ Subscribe to [Tidelift][Tidelift support] to ensure byebug stays actively
166
+ maintained, and at the same time get licensing assurances and timely security
167
+ notifications for your open source dependencies.
170
168
 
171
169
  You can also help `byebug` by leaving a small (or big) tip through [Liberapay].
172
170
 
@@ -196,4 +194,6 @@ software, especially:
196
194
  [atom-byebug]: https://github.com/izaera/atom-byebug
197
195
  [Liberapay]: https://liberapay.com/byebug/donate
198
196
  [Tidelift]: https://tidelift.com/subscription/pkg/rubygems-byebug?utm_source=rubygems-byebug&utm_medium=readme_text
197
+ [Tidelift for enterprise]: https://tidelift.com/subscription/pkg/rubygems-byebug?utm_source=rubygems-byebug&utm_medium=referral&utm_campaign=github&utm_content=enterprise
198
+ [Tidelift support]: https://tidelift.com/subscription/pkg/rubygems-byebug?utm_source=rubygems-byebug&utm_medium=referral&utm_campaign=github&utm_content=support
199
199
  [report a security vulnerability]: https://tidelift.com/security
data/ext/byebug/byebug.c CHANGED
@@ -305,14 +305,7 @@ call_event(VALUE trace_point, void *data)
305
305
 
306
306
  CALL_EVENT_SETUP;
307
307
 
308
- /* nil method_id means we are at top level so there can't be a method
309
- * breakpoint here. Just leave then. */
310
308
  msym = rb_tracearg_method_id(trace_arg);
311
- if (NIL_P(msym))
312
- {
313
- EVENT_TEARDOWN;
314
- return;
315
- }
316
309
 
317
310
  mid = SYM2ID(msym);
318
311
  klass = rb_tracearg_defined_class(trace_arg);
@@ -367,7 +360,9 @@ return_event(VALUE trace_point, void *data)
367
360
  * [#7] b_return@/hort/core_ext/numeric/conversions.rb:133 BigDecimal#to_s
368
361
  * [#7] return@:0 Fixnum#to_s # => This guy...
369
362
  */
370
- if (!NIL_P(file))
363
+ if (NIL_P(file))
364
+ rb_warn("The TracePoint API emitted a return event without file information. It might be a bug, please report this.");
365
+ else
371
366
  {
372
367
  line = rb_tracearg_lineno(trace_arg);
373
368
  binding = rb_tracearg_binding(trace_arg);
@@ -436,7 +431,7 @@ raise_event(VALUE trace_point, void *data)
436
431
 
437
432
  raised_exception = rb_tracearg_raised_exception(trace_arg);
438
433
 
439
- if (post_mortem == Qtrue)
434
+ if (post_mortem == Qtrue && !rb_ivar_defined(raised_exception, rb_intern("@__bb_context")))
440
435
  {
441
436
  pm_context = context_dup(dc);
442
437
  rb_ivar_set(raised_exception, rb_intern("@__bb_context"), pm_context);
data/ext/byebug/byebug.h CHANGED
@@ -30,7 +30,8 @@
30
30
  } while (0)
31
31
 
32
32
  /* types */
33
- typedef enum {
33
+ typedef enum
34
+ {
34
35
  CTX_STOP_NONE,
35
36
  CTX_STOP_STEP,
36
37
  CTX_STOP_BREAKPOINT,
@@ -54,7 +55,8 @@ typedef struct
54
55
  VALUE backtrace; /* [[loc, self, klass, binding], ...] */
55
56
  } debug_context_t;
56
57
 
57
- typedef enum {
58
+ typedef enum
59
+ {
58
60
  LOCATION,
59
61
  SELF,
60
62
  CLASS,
data/ext/byebug/context.c CHANGED
@@ -177,6 +177,13 @@ open_debug_inspector(struct call_with_inspection_data *cwi)
177
177
  return rb_debug_inspector_open(open_debug_inspector_i, cwi);
178
178
  }
179
179
 
180
+ static VALUE
181
+ open_debug_inspector_ensure(VALUE v)
182
+ {
183
+ return open_debug_inspector((struct call_with_inspection_data *)v);
184
+ }
185
+
186
+
180
187
  static VALUE
181
188
  close_debug_inspector(struct call_with_inspection_data *cwi)
182
189
  {
@@ -184,10 +191,16 @@ close_debug_inspector(struct call_with_inspection_data *cwi)
184
191
  return Qnil;
185
192
  }
186
193
 
194
+ static VALUE
195
+ close_debug_inspector_ensure(VALUE v)
196
+ {
197
+ return close_debug_inspector((struct call_with_inspection_data *)v);
198
+ }
199
+
187
200
  extern VALUE
188
201
  call_with_debug_inspector(struct call_with_inspection_data *data)
189
202
  {
190
- return rb_ensure(open_debug_inspector, (VALUE)data, close_debug_inspector,
203
+ return rb_ensure(open_debug_inspector_ensure, (VALUE)data, close_debug_inspector_ensure,
191
204
  (VALUE)data);
192
205
  }
193
206
 
@@ -669,5 +682,5 @@ Init_byebug_context(VALUE mByebug)
669
682
  rb_define_method(cContext, "tracing=", Context_set_tracing, 1);
670
683
 
671
684
  cDebugThread = rb_define_class_under(mByebug, "DebugThread", rb_cThread);
672
- rb_define_singleton_method(cDebugThread, "inherited", dt_inherited, 1);
685
+ rb_define_singleton_method(cDebugThread, "inherited", dt_inherited, 0);
673
686
  }
@@ -19,7 +19,7 @@ module Byebug
19
19
  end
20
20
 
21
21
  def self.spawn(host = "localhost", port = nil)
22
- require "byebug/core"
22
+ require_relative "core"
23
23
 
24
24
  self.wait_connection = true
25
25
  start_server(host, port || PORT)
@@ -33,7 +33,7 @@ end
33
33
  #
34
34
  module Kernel
35
35
  def byebug
36
- require "byebug/core"
36
+ require_relative "core"
37
37
 
38
38
  Byebug.attach unless Byebug.mode == :off
39
39
  end
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require "forwardable"
4
- require "byebug/helpers/string"
4
+ require_relative "helpers/string"
5
5
 
6
6
  module Byebug
7
7
  #
@@ -80,7 +80,7 @@ module Byebug
80
80
  def to_s
81
81
  name
82
82
  .split("::")
83
- .map { |n| n.gsub(/Command$/, "").downcase if n =~ /Command$/ }
83
+ .map { |n| n.gsub(/Command$/, "").downcase if /Command$/.match?(n) }
84
84
  .compact
85
85
  .join(" ")
86
86
  end
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "byebug/errors"
3
+ require_relative "errors"
4
4
 
5
5
  module Byebug
6
6
  #
@@ -1,10 +1,10 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "byebug/command"
4
- require "byebug/helpers/eval"
5
- require "byebug/helpers/file"
6
- require "byebug/helpers/parse"
7
- require "byebug/source_file_formatter"
3
+ require_relative "../command"
4
+ require_relative "../helpers/eval"
5
+ require_relative "../helpers/file"
6
+ require_relative "../helpers/parse"
7
+ require_relative "../source_file_formatter"
8
8
 
9
9
  module Byebug
10
10
  #
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "byebug/command"
4
- require "byebug/helpers/eval"
3
+ require_relative "../command"
4
+ require_relative "../helpers/eval"
5
5
 
6
6
  module Byebug
7
7
  #
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "byebug/command"
4
- require "byebug/helpers/parse"
3
+ require_relative "../command"
4
+ require_relative "../helpers/parse"
5
5
 
6
6
  module Byebug
7
7
  #
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "byebug/command"
4
- require "byebug/helpers/parse"
3
+ require_relative "../command"
4
+ require_relative "../helpers/parse"
5
5
 
6
6
  module Byebug
7
7
  #
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "byebug/command"
4
- require "byebug/helpers/eval"
3
+ require_relative "../command"
4
+ require_relative "../helpers/eval"
5
5
 
6
6
  module Byebug
7
7
  #
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "byebug/command"
4
- require "byebug/helpers/parse"
3
+ require_relative "../command"
4
+ require_relative "../helpers/parse"
5
5
 
6
6
  module Byebug
7
7
  #
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "byebug/helpers/toggle"
3
+ require_relative "../../helpers/toggle"
4
4
 
5
5
  module Byebug
6
6
  #
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "byebug/helpers/toggle"
3
+ require_relative "../../helpers/toggle"
4
4
 
5
5
  module Byebug
6
6
  #
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "byebug/subcommands"
3
+ require_relative "../subcommands"
4
4
 
5
- require "byebug/commands/disable/breakpoints"
6
- require "byebug/commands/disable/display"
5
+ require_relative "../commands/disable/breakpoints"
6
+ require_relative "../commands/disable/display"
7
7
 
8
8
  module Byebug
9
9
  #
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "byebug/command"
4
- require "byebug/helpers/eval"
3
+ require_relative "../command"
4
+ require_relative "../helpers/eval"
5
5
 
6
6
  module Byebug
7
7
  #
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require "pathname"
4
- require "byebug/command"
5
- require "byebug/helpers/frame"
6
- require "byebug/helpers/parse"
4
+ require_relative "../command"
5
+ require_relative "../helpers/frame"
6
+ require_relative "../helpers/parse"
7
7
 
8
8
  module Byebug
9
9
  #
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "byebug/command"
3
+ require_relative "../command"
4
4
 
5
5
  module Byebug
6
6
  #
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "byebug/helpers/toggle"
3
+ require_relative "../../helpers/toggle"
4
4
 
5
5
  module Byebug
6
6
  #
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "byebug/helpers/toggle"
3
+ require_relative "../../helpers/toggle"
4
4
 
5
5
  module Byebug
6
6
  #
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "byebug/subcommands"
3
+ require_relative "../subcommands"
4
4
 
5
- require "byebug/commands/enable/breakpoints"
6
- require "byebug/commands/enable/display"
5
+ require_relative "../commands/enable/breakpoints"
6
+ require_relative "../commands/enable/display"
7
7
 
8
8
  module Byebug
9
9
  #
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "byebug/command"
4
- require "byebug/helpers/parse"
3
+ require_relative "../command"
4
+ require_relative "../helpers/parse"
5
5
 
6
6
  module Byebug
7
7
  #
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require "pathname"
4
- require "byebug/command"
5
- require "byebug/helpers/frame"
6
- require "byebug/helpers/parse"
4
+ require_relative "../command"
5
+ require_relative "../helpers/frame"
6
+ require_relative "../helpers/parse"
7
7
 
8
8
  module Byebug
9
9
  #
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "byebug/command"
4
- require "byebug/errors"
3
+ require_relative "../command"
4
+ require_relative "../errors"
5
5
 
6
6
  module Byebug
7
7
  #
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "byebug/command"
4
- require "byebug/helpers/parse"
3
+ require_relative "../command"
4
+ require_relative "../helpers/parse"
5
5
 
6
6
  module Byebug
7
7
  #
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "byebug/helpers/file"
3
+ require_relative "../../helpers/file"
4
4
 
5
5
  module Byebug
6
6
  #
@@ -1,12 +1,12 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "byebug/subcommands"
3
+ require_relative "../subcommands"
4
4
 
5
- require "byebug/commands/info/breakpoints"
6
- require "byebug/commands/info/display"
7
- require "byebug/commands/info/file"
8
- require "byebug/commands/info/line"
9
- require "byebug/commands/info/program"
5
+ require_relative "../commands/info/breakpoints"
6
+ require_relative "../commands/info/display"
7
+ require_relative "../commands/info/file"
8
+ require_relative "../commands/info/line"
9
+ require_relative "../commands/info/program"
10
10
 
11
11
  module Byebug
12
12
  #
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "byebug/command"
3
+ require_relative "../command"
4
4
 
5
5
  module Byebug
6
6
  #
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "byebug/command"
3
+ require_relative "../command"
4
4
  require "irb"
5
5
  require "English"
6
6
 
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "byebug/command"
3
+ require_relative "../command"
4
4
 
5
5
  module Byebug
6
6
  #
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "byebug/command"
4
- require "byebug/source_file_formatter"
5
- require "byebug/helpers/file"
6
- require "byebug/helpers/parse"
3
+ require_relative "../command"
4
+ require_relative "../source_file_formatter"
5
+ require_relative "../helpers/file"
6
+ require_relative "../helpers/parse"
7
7
 
8
8
  module Byebug
9
9
  #
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "byebug/command"
4
- require "byebug/helpers/eval"
3
+ require_relative "../command"
4
+ require_relative "../helpers/eval"
5
5
 
6
6
  module Byebug
7
7
  #
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "byebug/command"
4
- require "byebug/helpers/parse"
3
+ require_relative "../command"
4
+ require_relative "../helpers/parse"
5
5
 
6
6
  module Byebug
7
7
  #
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "byebug/command"
4
- require "byebug/helpers/eval"
3
+ require_relative "../command"
4
+ require_relative "../helpers/eval"
5
5
 
6
6
  module Byebug
7
7
  #
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "byebug/command"
3
+ require_relative "../command"
4
4
 
5
5
  module Byebug
6
6
  #