byebug 11.0.1 → 11.1.1

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 +22 -0
  3. data/CONTRIBUTING.md +2 -2
  4. data/README.md +16 -9
  5. data/exe/byebug +1 -1
  6. data/ext/byebug/byebug.c +4 -9
  7. data/ext/byebug/byebug.h +4 -2
  8. data/ext/byebug/context.c +15 -2
  9. data/lib/byebug.rb +1 -1
  10. data/lib/byebug/attacher.rb +2 -2
  11. data/lib/byebug/command.rb +2 -2
  12. data/lib/byebug/command_list.rb +1 -1
  13. data/lib/byebug/commands.rb +38 -38
  14. data/lib/byebug/commands/break.rb +5 -5
  15. data/lib/byebug/commands/catch.rb +2 -2
  16. data/lib/byebug/commands/condition.rb +2 -2
  17. data/lib/byebug/commands/continue.rb +2 -2
  18. data/lib/byebug/commands/debug.rb +2 -2
  19. data/lib/byebug/commands/delete.rb +2 -2
  20. data/lib/byebug/commands/disable.rb +3 -3
  21. data/lib/byebug/commands/disable/breakpoints.rb +1 -1
  22. data/lib/byebug/commands/disable/display.rb +1 -1
  23. data/lib/byebug/commands/display.rb +2 -2
  24. data/lib/byebug/commands/down.rb +3 -3
  25. data/lib/byebug/commands/edit.rb +1 -1
  26. data/lib/byebug/commands/enable.rb +3 -3
  27. data/lib/byebug/commands/enable/breakpoints.rb +1 -1
  28. data/lib/byebug/commands/enable/display.rb +1 -1
  29. data/lib/byebug/commands/finish.rb +2 -2
  30. data/lib/byebug/commands/frame.rb +3 -3
  31. data/lib/byebug/commands/help.rb +2 -2
  32. data/lib/byebug/commands/history.rb +2 -2
  33. data/lib/byebug/commands/info.rb +6 -6
  34. data/lib/byebug/commands/info/file.rb +1 -1
  35. data/lib/byebug/commands/interrupt.rb +1 -1
  36. data/lib/byebug/commands/irb.rb +1 -1
  37. data/lib/byebug/commands/kill.rb +1 -1
  38. data/lib/byebug/commands/list.rb +4 -4
  39. data/lib/byebug/commands/method.rb +2 -2
  40. data/lib/byebug/commands/next.rb +2 -2
  41. data/lib/byebug/commands/pry.rb +2 -2
  42. data/lib/byebug/commands/quit.rb +1 -1
  43. data/lib/byebug/commands/restart.rb +3 -3
  44. data/lib/byebug/commands/save.rb +1 -1
  45. data/lib/byebug/commands/set.rb +3 -3
  46. data/lib/byebug/commands/show.rb +1 -1
  47. data/lib/byebug/commands/skip.rb +2 -2
  48. data/lib/byebug/commands/source.rb +1 -1
  49. data/lib/byebug/commands/step.rb +2 -2
  50. data/lib/byebug/commands/thread.rb +6 -6
  51. data/lib/byebug/commands/thread/current.rb +1 -1
  52. data/lib/byebug/commands/thread/list.rb +1 -1
  53. data/lib/byebug/commands/thread/resume.rb +1 -1
  54. data/lib/byebug/commands/thread/stop.rb +1 -1
  55. data/lib/byebug/commands/thread/switch.rb +1 -1
  56. data/lib/byebug/commands/tracevar.rb +1 -1
  57. data/lib/byebug/commands/undisplay.rb +2 -2
  58. data/lib/byebug/commands/untracevar.rb +1 -1
  59. data/lib/byebug/commands/up.rb +3 -3
  60. data/lib/byebug/commands/var.rb +8 -8
  61. data/lib/byebug/commands/var/all.rb +1 -1
  62. data/lib/byebug/commands/var/args.rb +1 -1
  63. data/lib/byebug/commands/var/const.rb +1 -1
  64. data/lib/byebug/commands/var/instance.rb +1 -1
  65. data/lib/byebug/commands/var/local.rb +1 -1
  66. data/lib/byebug/commands/where.rb +2 -2
  67. data/lib/byebug/context.rb +4 -4
  68. data/lib/byebug/core.rb +9 -9
  69. data/lib/byebug/frame.rb +2 -2
  70. data/lib/byebug/helpers/parse.rb +1 -1
  71. data/lib/byebug/helpers/toggle.rb +1 -1
  72. data/lib/byebug/helpers/var.rb +1 -1
  73. data/lib/byebug/history.rb +1 -1
  74. data/lib/byebug/interface.rb +6 -6
  75. data/lib/byebug/interfaces/remote_interface.rb +1 -1
  76. data/lib/byebug/interfaces/script_interface.rb +1 -1
  77. data/lib/byebug/printers/plain.rb +1 -1
  78. data/lib/byebug/processors/command_processor.rb +2 -2
  79. data/lib/byebug/processors/control_processor.rb +1 -1
  80. data/lib/byebug/processors/post_mortem_processor.rb +1 -1
  81. data/lib/byebug/processors/script_processor.rb +1 -1
  82. data/lib/byebug/remote.rb +3 -3
  83. data/lib/byebug/runner.rb +7 -7
  84. data/lib/byebug/setting.rb +2 -2
  85. data/lib/byebug/settings/autoirb.rb +2 -2
  86. data/lib/byebug/settings/autolist.rb +2 -2
  87. data/lib/byebug/settings/autopry.rb +2 -2
  88. data/lib/byebug/settings/autosave.rb +1 -1
  89. data/lib/byebug/settings/basename.rb +1 -1
  90. data/lib/byebug/settings/callstyle.rb +1 -1
  91. data/lib/byebug/settings/fullpath.rb +1 -1
  92. data/lib/byebug/settings/histfile.rb +1 -1
  93. data/lib/byebug/settings/histsize.rb +1 -1
  94. data/lib/byebug/settings/linetrace.rb +1 -1
  95. data/lib/byebug/settings/listsize.rb +1 -1
  96. data/lib/byebug/settings/post_mortem.rb +1 -1
  97. data/lib/byebug/settings/savefile.rb +1 -1
  98. data/lib/byebug/settings/stack_on_error.rb +1 -1
  99. data/lib/byebug/settings/width.rb +1 -1
  100. data/lib/byebug/source_file_formatter.rb +2 -2
  101. data/lib/byebug/subcommands.rb +2 -2
  102. data/lib/byebug/version.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: e0d841fd0b5728301f257aaf1e5c5113f94ea186d2820b27e71815d3ae9a51f0
4
+ data.tar.gz: 659295491c2ef882c1eb82cc35b4f6658d7c43fbae91493d8faa8d14567e1059
5
5
  SHA512:
6
- metadata.gz: 15904b4b6f3c8734933a26fc55f79d3f13fe97061634dfed642e0638ae2ebbcdbff40ab1c9a85f9ab285e008c5a9b8bfe05d895281e5d51648981a00e463accf
7
- data.tar.gz: 4ba5fb7e27009f4eab22799fe22bd0c998a135cc0075c35471ece93e871e10ef70d4ba901f32093c4c4e87a423d9d3da5cfefeb1f661830ac95e6867cc1d57eb
6
+ metadata.gz: 6ec0567c5d0d2f368bd688d73133be3a2f3fc0d1d90b4079c7fd76c61cd6ebfc62bbda1b58e14122008c57c05b6f3956defe080ccec69b61c77bd87e32870934
7
+ data.tar.gz: d81a9b61741c459ccc0d64ba9edd092ecd579d0ca3af2e630541ea383174e80c65553ca99bb79855e938b87bfcbdeb3ff48ca1dc00002efbcd85846a973fe50a
@@ -2,6 +2,26 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [11.1.1] - 2020-01-24
6
+
7
+ ### Fixed
8
+
9
+ * [#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.
10
+
11
+ ## [11.1.0] - 2020-01-20
12
+
13
+ ### Added
14
+
15
+ * Official support for MRI 2.7 ([@yui-knk]).
16
+
17
+ ### Fixed
18
+
19
+ * [#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.
20
+
21
+ ### Removed
22
+
23
+ * Support for MRI 2.3. Byebug no longer installs on this platform.
24
+
5
25
  ## [11.0.1] - 2019-03-18
6
26
 
7
27
  ### Fixed
@@ -789,6 +809,8 @@
789
809
  * Initial release.
790
810
 
791
811
  [Unreleased]: https://github.com/deivid-rodriguez/byebug/compare/v10.0.2...HEAD
812
+ [11.1.1]: https://github.com/deivid-rodriguez/byebug/compare/v11.1.0...v11.1.1
813
+ [11.1.0]: https://github.com/deivid-rodriguez/byebug/compare/v11.0.1...v11.1.0
792
814
  [11.0.1]: https://github.com/deivid-rodriguez/byebug/compare/v11.0.0...v11.0.1
793
815
  [11.0.0]: https://github.com/deivid-rodriguez/byebug/compare/v10.0.2...v11.0.0
794
816
  [10.0.2]: https://github.com/deivid-rodriguez/byebug/compare/v10.0.1...v10.0.2
@@ -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
@@ -32,22 +32,25 @@ while it executes and offers many of the traditional debugging features such as:
32
32
  * Tracking: Keeping track of the different values of your variables or the
33
33
  different lines executed by your program.
34
34
 
35
+ ## For enterprise
36
+
37
+ Byebug for enterprise is available via the Tidelift Subscription. [Learn
38
+ more][Tidelift for enterprise].
39
+
35
40
  ## Build Status
36
41
 
37
- Linux [![Cir][cir]][cir_url]
42
+ Linux ![](https://github.com/deivid-rodriguez/byebug/workflows/build/badge.svg)
38
43
  Windows [![Vey][vey]][vey_url]
39
44
 
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
45
  [vey]: https://ci.appveyor.com/api/projects/status/github/deivid-rodriguez/byebug?svg=true
43
46
 
44
- [cir_url]: https://circleci.com/gh/deivid-rodriguez/byebug/tree/master
45
- [tra_url]: https://travis-ci.org/deivid-rodriguez/byebug
46
47
  [vey_url]: https://ci.appveyor.com/project/deivid-rodriguez/byebug
47
48
 
48
49
  ## Requirements
49
50
 
50
- MRI 2.3.0 or higher.
51
+ * _Required_: MRI 2.4.0 or higher.
52
+ * _Recommended_: MRI 2.6.4 or higher (MRI 2.6.0 to 2.6.3 contain a regression
53
+ causing unbalanced call/return events in some cases, breaking the `next` command).
51
54
 
52
55
  ## Install
53
56
 
@@ -101,6 +104,7 @@ Command | Aliases | Subcommands
101
104
  `catch` | `cat` |
102
105
  `condition` | `cond` |
103
106
  `continue` | `c` `cont` |
107
+ `continue!` | `c!` `cont!` |
104
108
  `debug` | |
105
109
  `delete` | `del` |
106
110
  `disable` | `dis` | `breakpoints` `display`
@@ -121,6 +125,7 @@ Command | Aliases | Subcommands
121
125
  `next` | `n` |
122
126
  `pry` | |
123
127
  `quit` | `q` |
128
+ `quit!` | `q!` |
124
129
  `restart` | |
125
130
  `save` | `sa` |
126
131
  `set` | | `autoirb` `autolist` `autopry` `autosave` `basename` `callstyle` `fullpath` `histfile` `histsize` `linetrace` `listsize` `post_mortem` `savefile` `stack_on_error` `width`
@@ -164,9 +169,9 @@ See [Getting Started with Development](CONTRIBUTING.md).
164
169
 
165
170
  ## Funding
166
171
 
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.
172
+ Subscribe to [Tidelift][Tidelift support] to ensure byebug stays actively
173
+ maintained, and at the same time get licensing assurances and timely security
174
+ notifications for your open source dependencies.
170
175
 
171
176
  You can also help `byebug` by leaving a small (or big) tip through [Liberapay].
172
177
 
@@ -196,4 +201,6 @@ software, especially:
196
201
  [atom-byebug]: https://github.com/izaera/atom-byebug
197
202
  [Liberapay]: https://liberapay.com/byebug/donate
198
203
  [Tidelift]: https://tidelift.com/subscription/pkg/rubygems-byebug?utm_source=rubygems-byebug&utm_medium=readme_text
204
+ [Tidelift for enterprise]: https://tidelift.com/subscription/pkg/rubygems-byebug?utm_source=rubygems-byebug&utm_medium=referral&utm_campaign=github&utm_content=enterprise
205
+ [Tidelift support]: https://tidelift.com/subscription/pkg/rubygems-byebug?utm_source=rubygems-byebug&utm_medium=referral&utm_campaign=github&utm_content=support
199
206
  [report a security vulnerability]: https://tidelift.com/security
data/exe/byebug CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  # frozen_string_literal: true
3
3
 
4
- require "byebug/runner"
4
+ require_relative "../lib/byebug/runner"
5
5
 
6
6
  Byebug::Runner.new.run
@@ -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);
@@ -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,
@@ -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
  }
@@ -1,3 +1,3 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "byebug/attacher"
3
+ require_relative "byebug/attacher"
@@ -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,40 +1,40 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "byebug/commands/break"
4
- require "byebug/commands/catch"
5
- require "byebug/commands/condition"
6
- require "byebug/commands/continue"
7
- require "byebug/commands/debug"
8
- require "byebug/commands/delete"
9
- require "byebug/commands/disable"
10
- require "byebug/commands/display"
11
- require "byebug/commands/down"
12
- require "byebug/commands/edit"
13
- require "byebug/commands/enable"
14
- require "byebug/commands/finish"
15
- require "byebug/commands/frame"
16
- require "byebug/commands/help"
17
- require "byebug/commands/history"
18
- require "byebug/commands/info"
19
- require "byebug/commands/interrupt"
20
- require "byebug/commands/irb"
21
- require "byebug/commands/kill"
22
- require "byebug/commands/list"
23
- require "byebug/commands/method"
24
- require "byebug/commands/next"
25
- require "byebug/commands/pry"
26
- require "byebug/commands/quit"
27
- require "byebug/commands/restart"
28
- require "byebug/commands/save"
29
- require "byebug/commands/set"
30
- require "byebug/commands/show"
31
- require "byebug/commands/skip"
32
- require "byebug/commands/source"
33
- require "byebug/commands/step"
34
- require "byebug/commands/thread"
35
- require "byebug/commands/tracevar"
36
- require "byebug/commands/undisplay"
37
- require "byebug/commands/untracevar"
38
- require "byebug/commands/up"
39
- require "byebug/commands/var"
40
- require "byebug/commands/where"
3
+ require_relative "commands/break"
4
+ require_relative "commands/catch"
5
+ require_relative "commands/condition"
6
+ require_relative "commands/continue"
7
+ require_relative "commands/debug"
8
+ require_relative "commands/delete"
9
+ require_relative "commands/disable"
10
+ require_relative "commands/display"
11
+ require_relative "commands/down"
12
+ require_relative "commands/edit"
13
+ require_relative "commands/enable"
14
+ require_relative "commands/finish"
15
+ require_relative "commands/frame"
16
+ require_relative "commands/help"
17
+ require_relative "commands/history"
18
+ require_relative "commands/info"
19
+ require_relative "commands/interrupt"
20
+ require_relative "commands/irb"
21
+ require_relative "commands/kill"
22
+ require_relative "commands/list"
23
+ require_relative "commands/method"
24
+ require_relative "commands/next"
25
+ require_relative "commands/pry"
26
+ require_relative "commands/quit"
27
+ require_relative "commands/restart"
28
+ require_relative "commands/save"
29
+ require_relative "commands/set"
30
+ require_relative "commands/show"
31
+ require_relative "commands/skip"
32
+ require_relative "commands/source"
33
+ require_relative "commands/step"
34
+ require_relative "commands/thread"
35
+ require_relative "commands/tracevar"
36
+ require_relative "commands/undisplay"
37
+ require_relative "commands/untracevar"
38
+ require_relative "commands/up"
39
+ require_relative "commands/var"
40
+ require_relative "commands/where"
@@ -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,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,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
  #