byebug 8.2.1 → 8.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +261 -94
- data/CONTRIBUTING.md +28 -39
- data/GUIDE.md +55 -65
- data/README.md +14 -24
- data/ext/byebug/context.c +1 -1
- data/ext/byebug/extconf.rb +1 -0
- data/lib/byebug/attacher.rb +1 -1
- data/lib/byebug/commands/catch.rb +1 -1
- data/lib/byebug/commands/display.rb +1 -1
- data/lib/byebug/commands/list.rb +2 -4
- data/lib/byebug/context.rb +2 -2
- data/lib/byebug/core.rb +9 -7
- data/lib/byebug/helpers/frame.rb +1 -1
- data/lib/byebug/interfaces/local_interface.rb +2 -1
- data/lib/byebug/interfaces/test_interface.rb +2 -3
- data/lib/byebug/printers/base.rb +4 -3
- data/lib/byebug/processors/command_processor.rb +1 -1
- data/lib/byebug/processors/script_processor.rb +1 -1
- data/lib/byebug/setting.rb +1 -1
- data/lib/byebug/settings/callstyle.rb +2 -1
- data/lib/byebug/version.rb +2 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a36b03a8384040e6115f7a70701fd07388cc51ab
|
4
|
+
data.tar.gz: 842e4928011aeb9832768de39fa49067d8dc3fa6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 15d4d993bcac41bcc06c949fa746ce4198bbaaeae1a893a5caa3f43ee2374a26f3d62b76c9eb46edd5df00709f506e18d4c614a11a98b086bc031cbb9a29f658
|
7
|
+
data.tar.gz: c9a7668f5ebabc9db76f10e7851420303333d17c10e7a77949fa665cc697ac4c2973fe6702d7b6979119758eb4e8682f4dc9893787b0568150bc8dd2e624e946
|
data/CHANGELOG.md
CHANGED
@@ -1,161 +1,213 @@
|
|
1
|
+
# CHANGELOG
|
2
|
+
|
1
3
|
## Master (Unreleased)
|
2
4
|
|
5
|
+
## 8.2.2 - 2015-02-01
|
6
|
+
|
7
|
+
### Fixed
|
8
|
+
|
9
|
+
* Bug in rc file loading where most initialization commands would not be run.
|
10
|
+
|
3
11
|
## 8.2.1 - 2015-11-26
|
12
|
+
|
4
13
|
### Fixed
|
5
|
-
|
14
|
+
|
15
|
+
* Bug in evaluations using "eval".
|
6
16
|
|
7
17
|
## 8.2.0 - 2015-11-12
|
18
|
+
|
8
19
|
### Fixed
|
20
|
+
|
9
21
|
* [#184](https://github.com/deivid-rodriguez/byebug/issues/184) &
|
10
|
-
[#188](https://github.com/deivid-rodriguez/byebug/issues/188), both due
|
11
|
-
to the way of running evaluations in a separate thread.
|
22
|
+
[#188](https://github.com/deivid-rodriguez/byebug/issues/188), both due
|
23
|
+
to the way of running evaluations in a separate thread.
|
12
24
|
|
13
25
|
### Added
|
26
|
+
|
14
27
|
* `debug` command to evaluate things in a separate thread, since this behavior
|
15
|
-
was removed from default `eval` to fix the above issues.
|
28
|
+
was removed from default `eval` to fix the above issues.
|
16
29
|
|
17
30
|
## 8.1.0 - 2015-11-09
|
31
|
+
|
18
32
|
### Fixed
|
33
|
+
|
19
34
|
* Command history should be specific per project.
|
20
35
|
* Better error message in certain edge cases when printing the backtrace.
|
21
36
|
* Bug in evaluator which would show information about having stopped at a
|
22
|
-
breakpoint in some cases.
|
37
|
+
breakpoint in some cases.
|
23
38
|
|
24
39
|
### Added
|
40
|
+
|
25
41
|
* Ability to autolist source code after `frame` command.
|
26
42
|
* Ability to stop at lines where methods return.
|
27
43
|
|
28
44
|
## 8.0.1 - 2015-11-07
|
45
|
+
|
29
46
|
### Fixed
|
47
|
+
|
30
48
|
* Error stream wouldn't be properly reset when using standalone `byebug`.
|
31
49
|
* Confusing error message for invalid breakpoint locations.
|
32
50
|
|
33
51
|
## 8.0.0 - 2015-11-05
|
52
|
+
|
34
53
|
### Fixed
|
54
|
+
|
35
55
|
* [#183](https://github.com/deivid-rodriguez/byebug/issues/183). Compilation
|
36
|
-
in Ruby 2.0. Regression introduced in 7.0.0
|
56
|
+
in Ruby 2.0. Regression introduced in 7.0.0
|
37
57
|
* "Return value is: nil" would be displayed when stopping right before the end
|
38
|
-
of a class definition. We want to avoid showing anything instead.
|
58
|
+
of a class definition. We want to avoid showing anything instead.
|
59
|
+
|
60
|
+
### Changed
|
39
61
|
|
40
|
-
## Changed
|
41
62
|
* Plugins now need to implement an `at_end` method (separate from `at_return`)
|
42
|
-
in their custom processors.
|
63
|
+
in their custom processors.
|
43
64
|
|
44
65
|
## 7.0.0 - 2015-11-04
|
66
|
+
|
45
67
|
### Fixed
|
68
|
+
|
46
69
|
* [#177](https://github.com/deivid-rodriguez/byebug/issues/177). Some issues
|
47
|
-
with formatting results of evaluations.
|
70
|
+
with formatting results of evaluations.
|
48
71
|
* [#144](https://github.com/deivid-rodriguez/byebug/issues/144). Ruby process
|
49
|
-
after using byebug does no longer get slow.
|
72
|
+
after using byebug does no longer get slow.
|
50
73
|
* [#121](https://github.com/deivid-rodriguez/byebug/issues/121). `byebug`
|
51
|
-
commands inside code evaluated from debugger's prompt are now properly working.
|
74
|
+
commands inside code evaluated from debugger's prompt are now properly working.
|
52
75
|
* Another evaluation bug in autocommands.
|
53
76
|
* `finish 0` command would sometimes fail to stop right before exiting the
|
54
|
-
current frame.
|
77
|
+
current frame.
|
55
78
|
* Runner's `--[no-]stop` option now works (thanks @windwiny).
|
56
79
|
* Change variable name `bool`, avoid conflict clang's predefined macro
|
57
80
|
|
58
81
|
### Removed
|
82
|
+
|
59
83
|
* `ps` command.
|
60
84
|
|
61
85
|
### Changed
|
86
|
+
|
62
87
|
* [#166](https://github.com/deivid-rodriguez/byebug/issues/166). Don't load
|
63
|
-
the entire library on require, but only when a `byebug` call is issued. Thanks
|
64
|
-
@bquorning.
|
88
|
+
the entire library on require, but only when a `byebug` call is issued. Thanks
|
89
|
+
@bquorning.
|
65
90
|
* The above fix to the `finish 0` command cause `byebug`'s entrypoint to
|
66
|
-
require 3 steps out instead of 2. In general, plugins using
|
67
|
-
`Byebug::Context.step_out` will need to be changed to consider "c return
|
68
|
-
as well.
|
91
|
+
require 3 steps out instead of 2. In general, plugins using
|
92
|
+
`Byebug::Context.step_out` will need to be changed to consider "c return
|
93
|
+
events" as well.
|
69
94
|
|
70
95
|
### Added
|
96
|
+
|
71
97
|
* `autopry` setting that calls `pry` on every stop.
|
72
98
|
* Return value information to debugger's output when `finish 0` is used.
|
73
99
|
|
74
100
|
## 6.0.2 - 2015-08-20
|
101
|
+
|
75
102
|
### Fixed
|
103
|
+
|
76
104
|
* The user should always be given back a prompt unless (s)he explicitly states
|
77
|
-
the opposite. This provides a more general fix to the bug resolved in 6.0.1.
|
105
|
+
the opposite. This provides a more general fix to the bug resolved in 6.0.1.
|
78
106
|
|
79
107
|
## 6.0.1 - 2015-08-19
|
108
|
+
|
80
109
|
### Fixed
|
110
|
+
|
81
111
|
* Bug in evaluation where the user would lose the command prompt when entering
|
82
|
-
an expression with a syntax error.
|
112
|
+
an expression with a syntax error.
|
83
113
|
|
84
114
|
## 6.0.0 - 2015-08-17
|
115
|
+
|
85
116
|
### Removed
|
117
|
+
|
86
118
|
* `autoeval` setting. I haven't heard of anyone setting it to false.
|
87
119
|
* `pp`, `putl`, `eval`. People just want to evaluate Ruby code, so the less
|
88
|
-
magic the better. Most of the people probably were not aware that `byebug`
|
89
|
-
was overriding stuff like `pp` or `eval`. Only keeping `ps` as the single
|
90
|
-
"enhanced evaluation" command.
|
120
|
+
magic the better. Most of the people probably were not aware that `byebug`
|
121
|
+
was overriding stuff like `pp` or `eval`. Only keeping `ps` as the single
|
122
|
+
"enhanced evaluation" command.
|
91
123
|
* `verbose` setting.
|
92
124
|
* `info catch` command. Use `catch` without arguments instead.
|
93
125
|
* `R` command alias for `restart`.
|
94
126
|
|
95
127
|
### Changed
|
128
|
+
|
96
129
|
* `info args` is now `var args`.
|
97
130
|
* `interrupt` is now aliased to `int`, not to `i`.
|
98
131
|
* API to define custom commands and subcommands (see the Command class).
|
99
132
|
|
100
133
|
### Fixed
|
134
|
+
|
101
135
|
* [#140](https://github.com/deivid-rodriguez/byebug/issues/140). `help` command
|
102
|
-
not showing the list of available commands and their descriptions.
|
136
|
+
not showing the list of available commands and their descriptions.
|
103
137
|
* [#147](https://github.com/deivid-rodriguez/byebug/issues/147). Setting
|
104
|
-
breakpoints at symlinked files.
|
138
|
+
breakpoints at symlinked files.
|
105
139
|
|
106
140
|
### Added
|
141
|
+
|
107
142
|
* API to define custom command processors (see the CommandProcessor class).
|
108
143
|
|
109
144
|
## 5.0.0 - 2015-05-18
|
145
|
+
|
110
146
|
### Fixed
|
147
|
+
|
111
148
|
* [#136](https://github.com/deivid-rodriguez/byebug/issues/136). `frame`
|
112
|
-
command not working with negative numbers (thanks @ark6).
|
149
|
+
command not working with negative numbers (thanks @ark6).
|
113
150
|
|
114
151
|
### Added
|
152
|
+
|
115
153
|
* IDE support and a new command/subcommand API for plugins.
|
116
154
|
* Add a "savefile" setting holding the file where "save" command saves current
|
117
|
-
debugger's state.
|
155
|
+
debugger's state.
|
118
156
|
|
119
157
|
### Changed
|
158
|
+
|
120
159
|
* `disable` no longer disable all breakpoints, it just shows command's help
|
121
|
-
instead. To disable all breakpoints now you need to do `disable breakpoints`
|
122
|
-
(or `dis b`). Similarly, you can't no longer use `dis 1 2 3` but need to do
|
123
|
-
`dis b 1 2 3` to disable specific breakpoints. The same applies to the
|
124
|
-
command.
|
160
|
+
instead. To disable all breakpoints now you need to do `disable breakpoints`
|
161
|
+
(or `dis b`). Similarly, you can't no longer use `dis 1 2 3` but need to do
|
162
|
+
`dis b 1 2 3` to disable specific breakpoints. The same applies to the
|
163
|
+
`enable` command.
|
125
164
|
|
126
165
|
### Removed
|
166
|
+
|
127
167
|
* `help set <setting>` no longer works. `help set` includes that same output and
|
128
|
-
it's not verbose enough so that this is a problem. Same with `help
|
129
|
-
<setting>`.
|
168
|
+
it's not verbose enough so that this is a problem. Same with `help
|
169
|
+
show <setting>`.
|
130
170
|
|
131
171
|
## 4.0.5 - 2015-04-02
|
172
|
+
|
132
173
|
### Fixed
|
174
|
+
|
133
175
|
* [#131](https://github.com/deivid-rodriguez/byebug/issues/131)
|
134
176
|
* Thread commands help format should be consistent with the rest of the help
|
135
|
-
system now.
|
177
|
+
system now.
|
136
178
|
|
137
179
|
## 4.0.4 - 2015-03-27
|
180
|
+
|
138
181
|
### Fixed
|
182
|
+
|
139
183
|
* [#127](https://github.com/deivid-rodriguez/byebug/issues/127)
|
140
184
|
|
141
185
|
## 4.0.3 - 2015-03-19
|
186
|
+
|
142
187
|
### Fixed
|
188
|
+
|
143
189
|
* Unused variable warning in context.c
|
144
190
|
|
145
191
|
## 4.0.2 - 2015-03-16
|
192
|
+
|
146
193
|
### Fixed
|
194
|
+
|
147
195
|
* [#118](https://github.com/deivid-rodriguez/byebug/issues/118). Remove
|
148
|
-
`rb-readline` as a dependency and show a help message whenever requiring
|
149
|
-
`readline` fails instead.
|
196
|
+
`rb-readline` as a dependency and show a help message whenever requiring
|
197
|
+
`readline` fails instead.
|
150
198
|
|
151
199
|
## 4.0.1 - 2015-03-13
|
200
|
+
|
152
201
|
### Fixed
|
202
|
+
|
153
203
|
* .yml files needed for printers support were missing from the release... :S
|
154
204
|
* [#118](https://github.com/deivid-rodriguez/byebug/issues/118). Add `readline`
|
155
|
-
as a dependency.
|
205
|
+
as a dependency.
|
156
206
|
|
157
207
|
## 4.0.0 - 2015-03-13
|
208
|
+
|
158
209
|
### Added
|
210
|
+
|
159
211
|
* `untracevar` command that stops tracing a global variable.
|
160
212
|
* Window CI build through AppVeyor.
|
161
213
|
* OSX CI build through Travis.
|
@@ -165,394 +217,509 @@ as a dependency.
|
|
165
217
|
* Printer's support (thanks @astashov).
|
166
218
|
|
167
219
|
### Changed
|
220
|
+
|
168
221
|
* A lot of internal refactoring.
|
169
222
|
* `tracevar` now requires the full global variable name (with "$").
|
170
223
|
* [#92](https://github.com/deivid-rodriguez/byebug/issues/92). The `catch`
|
171
|
-
command is not allowed in post_mortem mode anymore. It was not working anyways.
|
224
|
+
command is not allowed in post_mortem mode anymore. It was not working anyways.
|
172
225
|
* [#85](https://github.com/deivid-rodriguez/byebug/issues/85). `step` is now
|
173
|
-
more user friendly when used in combination with `up`.
|
226
|
+
more user friendly when used in combination with `up`.
|
174
227
|
* `var const` can now be called without an argument and will show constants in
|
175
|
-
the current scope.
|
228
|
+
the current scope.
|
176
229
|
* `break` with a class name now creates breakpoints regardless of class not
|
177
|
-
being yet defined. If that's the case, it gives a warning but the class is
|
178
|
-
created anyways.
|
230
|
+
being yet defined. If that's the case, it gives a warning but the class is
|
231
|
+
created anyways.
|
179
232
|
|
180
233
|
### Fixed
|
234
|
+
|
181
235
|
* Code reloading issues.
|
182
236
|
* `set fullpath` was not showing fullpaths. Now it is.
|
183
237
|
* `up`, `down` and `frame` commands now work in post_mortem mode (#93).
|
184
238
|
* rc file (`.byebugrc`) loading: invalid commands are just ignored instead of
|
185
|
-
aborting, global (home) rc file is now properly loaded before project's file.
|
239
|
+
aborting, global (home) rc file is now properly loaded before project's file.
|
186
240
|
* [#93](https://github.com/deivid-rodriguez/byebug/issues/93). Backtraces not
|
187
|
-
working in `post_mortem` mode.
|
241
|
+
working in `post_mortem` mode.
|
188
242
|
* 'cmd1 ; cmd2 ; ...; cmdN' syntax which allows running several commands
|
189
|
-
sequentially.
|
243
|
+
sequentially.
|
190
244
|
* [#101](https://github.com/deivid-rodriguez/byebug/issues/101). `finish`
|
191
|
-
command not stopping at the correct line.
|
245
|
+
command not stopping at the correct line.
|
192
246
|
* [#106](https://github.com/deivid-rodriguez/byebug/issues/106). `break` with
|
193
|
-
namespaced class, like `break A::B#c` should now work.
|
247
|
+
namespaced class, like `break A::B#c` should now work.
|
194
248
|
* Command history is now persisted before exiting byebug.
|
195
249
|
* Setting breakpoint in a method would stop not only at the beginning of the
|
196
|
-
method but also at the beginning of every block inside the method.
|
250
|
+
method but also at the beginning of every block inside the method.
|
197
251
|
* [#122](https://github.com/deivid-rodriguez/byebug/issues/122). Setting
|
198
|
-
breakpoints on module methods (@x-yuri).
|
252
|
+
breakpoints on module methods (@x-yuri).
|
199
253
|
|
200
254
|
### Removed
|
255
|
+
|
201
256
|
* `autoreload` setting as it's not necessary anymore. Code should always be up
|
202
|
-
to date.
|
257
|
+
to date.
|
203
258
|
* `reload` command for the same reason.
|
204
259
|
* Gem dependency on `debugger-linecache`.
|
205
260
|
* `step+`, `step-`, `next+`, `next-`, `set/show linetrace_plus` and
|
206
|
-
`set/show forcestep` commands. These were all mechanisms to deal with
|
207
|
-
API event dupplication, but this duplicated events have been
|
208
|
-
from the API since
|
209
|
-
|
210
|
-
they are no longer necessary.
|
261
|
+
`set/show forcestep` commands. These were all mechanisms to deal with
|
262
|
+
TracePoint API event dupplication, but this duplicated events have been
|
263
|
+
completely removed from the API since [r48609](
|
264
|
+
bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/48609), so
|
265
|
+
they are no longer necessary.
|
211
266
|
* `info file` subcommands: `info file breakpoints`, `info file mtime`, `info
|
212
|
-
file sha1`, `info file all`. Now all information is listed under `info file`.
|
267
|
+
file sha1`, `info file all`. Now all information is listed under `info file`.
|
213
268
|
* `testing` setting. It was just a hack to be able to test `byebug`. Nobody was
|
214
|
-
supposed to actually use it!
|
269
|
+
supposed to actually use it!
|
215
270
|
* `var class` command, just use Ruby (`self.class.class_variables`).
|
216
271
|
* `p` command, just use `eval`, or just type your expression and `byebug` will
|
217
|
-
autoevaluate it.
|
272
|
+
autoevaluate it.
|
218
273
|
* `exit` alias for `quit`.
|
219
274
|
|
220
275
|
## 3.5.1 - 2014-09-29
|
276
|
+
|
221
277
|
### Fixed
|
278
|
+
|
222
279
|
* [#79](https://github.com/deivid-rodriguez/byebug/issues/79). Windows
|
223
|
-
installation.
|
280
|
+
installation.
|
224
281
|
* `condition` command not properly detecting invalid breakpoint ids.
|
225
282
|
|
226
283
|
## 3.5.0 - 2014-09-28
|
284
|
+
|
227
285
|
### Fixed
|
286
|
+
|
228
287
|
* [#81](https://github.com/deivid-rodriguez/byebug/issues/81). Byebug's history
|
229
|
-
messing up other programs using Readline.
|
288
|
+
messing up other programs using Readline.
|
230
289
|
* Readline's history not being properly saved and inmediately available.
|
231
290
|
* User not being notified when trying to debug a non existent script.
|
232
291
|
|
233
292
|
### Changed
|
293
|
+
|
234
294
|
* Complete rewrite of byebug's history.
|
235
295
|
* Complete rewrite of list command.
|
236
296
|
* Docs about stacktrace related commands (up, down, frame, backtrace).
|
237
297
|
|
238
298
|
## 3.4.2 - 2014-09-26
|
299
|
+
|
239
300
|
### Fixed
|
301
|
+
|
240
302
|
* [#67](https://github.com/deivid-rodriguez/byebug/issues/67). Debugging
|
241
|
-
commands invoked by ruby executable, as in `byebug -- ruby -Itest a_test.rb
|
242
|
-
|
303
|
+
commands invoked by ruby executable, as in `byebug -- ruby -Itest a_test.rb
|
304
|
+
-n test_something`.
|
243
305
|
|
244
306
|
## 3.4.1 - 2014-09-25
|
307
|
+
|
245
308
|
### Fixed
|
309
|
+
|
246
310
|
* [#54](https://github.com/deivid-rodriguez/byebug/issues/54). Use of threads
|
247
|
-
inside `eval` command.
|
311
|
+
inside `eval` command.
|
248
312
|
* `list` command not listing backwards after reaching the end of the file.
|
249
313
|
|
250
314
|
## 3.4.0 - 2014-09-01
|
315
|
+
|
251
316
|
### Fixed
|
252
|
-
* deivid-rodriguez/pry-byebug#32 in a better way.
|
253
317
|
|
318
|
+
* deivid-rodriguez/pry-byebug#32 in a better way.
|
254
319
|
|
255
320
|
## 3.3.0 - 2014-08-28
|
321
|
+
|
256
322
|
### Fixed
|
323
|
+
|
257
324
|
* `set verbose` command.
|
258
325
|
* `set post_mortem false` command.
|
259
326
|
* Debugger stopping in `byebug`'s internal frames in some cases.
|
260
327
|
* `backtrace` crashing when `fullpath` setting disabled and calculated stack
|
261
|
-
size being smaller than the real one.
|
328
|
+
size being smaller than the real one.
|
329
|
+
|
330
|
+
### Changed
|
262
331
|
|
263
|
-
## Changed
|
264
332
|
* The `-t` option for `bin/byebug` now turns tracing on whereas the `-x` option
|
265
|
-
tells byebug to run the initialization file (.byebugrc) on startup. This is
|
266
|
-
default behaviour though.
|
333
|
+
tells byebug to run the initialization file (.byebugrc) on startup. This is
|
334
|
+
the default behaviour though.
|
267
335
|
* `bin/byebug` libified and tests added.
|
268
336
|
|
269
337
|
### Removed
|
338
|
+
|
270
339
|
* `info locals` command. Use `var local` instead.
|
271
340
|
* `info instance_variables` command. Use `var instance` instead.
|
272
341
|
* `info global_variables` command. Use `var global` instead.
|
273
342
|
* `info variables` command. Use `var all` instead.
|
274
343
|
* `irb` command stepping capabilities, see
|
275
|
-
[8e226d0](https://github.com/deivid-rodriguez/byebug/commit/8e226d0).
|
344
|
+
[8e226d0](https://github.com/deivid-rodriguez/byebug/commit/8e226d0).
|
276
345
|
* `script` and `restart-script` options for `bin/byebug`.
|
277
346
|
|
278
347
|
## 3.2.0 - 2014-08-02
|
348
|
+
|
279
349
|
### Fixed
|
350
|
+
|
280
351
|
* [#71](https://github.com/deivid-rodriguez/byebug/issues/71). Remote debugging
|
281
|
-
(thanks @shuky19).
|
352
|
+
(thanks @shuky19).
|
282
353
|
* [#69](https://github.com/deivid-rodriguez/byebug/issues/69). `source` command
|
283
|
-
(thanks @Olgagr).
|
354
|
+
(thanks @Olgagr).
|
284
355
|
|
285
356
|
### Removed
|
357
|
+
|
286
358
|
* `post_mortem` activation through `Byebug.post_mortem`. Use `set post_mortem`
|
287
|
-
instead.
|
359
|
+
instead.
|
288
360
|
* `info stack` command. Use `where` instead.
|
289
361
|
* `method iv` command. Use `var instance` instead.
|
290
362
|
* [#77](https://github.com/deivid-rodriguez/byebug/issues/77). Warning.
|
291
363
|
|
292
364
|
## 3.1.2 - 2014-04-23
|
365
|
+
|
293
366
|
### Fixed
|
294
|
-
|
367
|
+
|
368
|
+
* `post_mortem` mode in `bin/byebug` (really).
|
295
369
|
* Line tracing in `bin/byebug`.
|
296
370
|
|
297
371
|
## 3.1.1 - 2014-04-23
|
372
|
+
|
298
373
|
### Fixed
|
374
|
+
|
299
375
|
* `post_mortem` mode in bin/byebug.
|
300
376
|
|
301
377
|
## 3.1.0 - 2014-04-23
|
378
|
+
|
302
379
|
### Removed
|
380
|
+
|
303
381
|
* `show commands` command. Use `history` instead.
|
304
382
|
* Byebug.start accepting options. Any program settings you want applied from
|
305
|
-
the start should be set in `.byebugrc`.
|
383
|
+
the start should be set in `.byebugrc`.
|
306
384
|
* `trace` command. Use `set linetrace` for line tracing and `tracevar` for
|
307
|
-
global variable tracing.
|
385
|
+
global variable tracing.
|
308
386
|
* `show version` command. Use `byebug --version` to check byebug's version.
|
309
387
|
* `set arg` setting. Use the `restart` command instead.
|
310
388
|
|
311
389
|
### Changed
|
390
|
+
|
312
391
|
* `linetrace_plus` setting renamed to `tracing_plus`.
|
313
392
|
|
314
393
|
### Added
|
394
|
+
|
315
395
|
* `history` command to check byebug's history of previous commands.
|
316
396
|
|
317
397
|
## 3.0.0 - 2014-04-17
|
398
|
+
|
318
399
|
### Fixed
|
400
|
+
|
319
401
|
* Plain `byebug` not working when `pry-byebug` installed.
|
320
402
|
* `post_mortem` mode.
|
321
403
|
* Command history not being saved after regular program termination.
|
322
404
|
* [#54](https://github.com/deivid-rodriguez/byebug/issues/54). (Again) calling
|
323
|
-
`Byebug.start` with `Timeout.timeout` (thanks @zmoazeni).
|
405
|
+
`Byebug.start` with `Timeout.timeout` (thanks @zmoazeni).
|
324
406
|
|
325
407
|
### Added
|
408
|
+
|
326
409
|
* Allow disabling `post_mortem` mode.
|
327
410
|
|
328
411
|
### Changed
|
412
|
+
|
329
413
|
* `show commands` command for listing history of previous commands now behaves
|
330
|
-
like shell's `history` command.
|
414
|
+
like shell's `history` command.
|
331
415
|
* `show/set history filename` is now `show/set histfile`
|
332
416
|
* `show/set history size` is now `show/set histsize`
|
333
417
|
* `show/set history save` is now `show/set autosave`
|
334
418
|
* `finish` semantics, see
|
335
|
-
[61f9b4d](https://github.com/deivid-rodriguez/byebug/commit/61f9b4d).
|
419
|
+
[61f9b4d](https://github.com/deivid-rodriguez/byebug/commit/61f9b4d).
|
336
420
|
* Use `per project` history file by default.
|
337
421
|
|
338
|
-
|
422
|
+
### Removed
|
423
|
+
|
339
424
|
* The `init` option for `Byebug.start`. Information to make the `restart`
|
340
|
-
command work is always saved now.
|
425
|
+
command work is always saved now.
|
341
426
|
|
342
427
|
## 2.7.0 - 2014-02-24
|
428
|
+
|
343
429
|
### Fixed
|
430
|
+
|
344
431
|
* [#52](https://github.com/deivid-rodriguez/byebug/issues/52). `IGNORED_FILES`
|
345
|
-
slowing down startup.
|
432
|
+
slowing down startup.
|
346
433
|
* [#53](https://github.com/deivid-rodriguez/byebug/issues/53) and
|
347
|
-
[#54](https://github.com/deivid-rodriguez/byebug/issues/54). Calling
|
348
|
-
`Byebug.start` with `Timeout.timeout`.
|
434
|
+
[#54](https://github.com/deivid-rodriguez/byebug/issues/54). Calling
|
435
|
+
`Byebug.start` with `Timeout.timeout`.
|
349
436
|
|
350
437
|
## 2.6.0 - 2014-02-08
|
438
|
+
|
351
439
|
### Fixed
|
440
|
+
|
352
441
|
* Circular dependency affecting `pry-byebug` (thanks @andreychernih).
|
353
442
|
|
354
443
|
## 2.5.0 - 2013-12-14
|
444
|
+
|
355
445
|
### Added
|
446
|
+
|
356
447
|
* Support for `sublime-debugger`.
|
357
448
|
|
358
449
|
## 2.4.1 - 2013-12-05
|
450
|
+
|
359
451
|
### Fixed
|
452
|
+
|
360
453
|
* [#40](https://github.com/deivid-rodriguez/byebug/issues/40). Installation
|
361
|
-
error in Mac OSX (thanks @luislavena).
|
454
|
+
error in Mac OSX (thanks @luislavena).
|
362
455
|
|
363
456
|
## 2.4.0 - 2013-12-02
|
457
|
+
|
364
458
|
### Fixed
|
459
|
+
|
365
460
|
* `thread list` showing too many threads.
|
366
461
|
* Fix setting post mortem mode with `set post_mortem`. Now this is the only
|
367
|
-
post mortem functionality available as specifying `Byebug.post_mortem` with a
|
368
|
-
block has been removed in this version.
|
462
|
+
post mortem functionality available as specifying `Byebug.post_mortem` with a
|
463
|
+
block has been removed in this version.
|
369
464
|
|
370
465
|
### Added
|
466
|
+
|
371
467
|
* (Again) `debugger` as an alias to `byebug` (thanks @wallace).
|
372
468
|
* `-R` option for `bin/byebug` to specify server's hostname:port for remote
|
373
|
-
debugging (thanks @mrkn).
|
469
|
+
debugging (thanks @mrkn).
|
374
470
|
|
375
471
|
### Changed
|
472
|
+
|
376
473
|
* Use `require` instead of `require_relative` for loading byebug's extension
|
377
|
-
library (thanks @nobu).
|
474
|
+
library (thanks @nobu).
|
378
475
|
* `trace variable $foo` should be now `trace variable $foo`.
|
379
476
|
|
380
477
|
## 2.3.1 - 2013-10-17
|
478
|
+
|
381
479
|
### Fixed
|
480
|
+
|
382
481
|
* Breakpoint removal.
|
383
482
|
* Broken test suite.
|
384
483
|
|
385
484
|
## 2.3.0 - 2013-10-09
|
485
|
+
|
386
486
|
### Added
|
487
|
+
|
387
488
|
* Compatibility with Phusion Passenger Enterprise (thanks @FooBarWidget).
|
388
489
|
|
389
490
|
### Changed
|
491
|
+
|
390
492
|
* More minimalist help system.
|
391
493
|
|
392
494
|
## 2.2.2 - 2013-09-25
|
495
|
+
|
393
496
|
### Fixed
|
497
|
+
|
394
498
|
* Compilation issue in 64 bit systems.
|
395
499
|
|
396
500
|
## 2.2.1 - 2013-09-24
|
501
|
+
|
397
502
|
### Fixed
|
503
|
+
|
398
504
|
* [#26](https://github.com/deivid-rodriguez/byebug/issues/26). Compilation issue
|
399
|
-
introduced in `2.2.0`.
|
505
|
+
introduced in `2.2.0`.
|
400
506
|
|
401
507
|
### Changed
|
508
|
+
|
402
509
|
* `show/set stack_trace_on_error` is now `show/set stack_on_error`.
|
403
510
|
|
404
511
|
## 2.2.0 - 2013-09-22
|
512
|
+
|
405
513
|
### Fixed
|
514
|
+
|
406
515
|
* Stack size calculations.
|
407
516
|
* Setting `post_mortem` mode.
|
408
517
|
|
409
518
|
### Added
|
519
|
+
|
410
520
|
* `verbose` setting for TracePoint API event inspection.
|
411
521
|
|
412
522
|
### Changed
|
523
|
+
|
413
524
|
* Warning free byebug.
|
414
525
|
* Allow `edit <filename>` without a line number.
|
415
526
|
|
416
527
|
## 2.1.1 - 2013-09-10
|
528
|
+
|
417
529
|
### Fixed
|
530
|
+
|
418
531
|
* Debugging code inside `-e` Ruby flag.
|
419
532
|
|
420
533
|
## 2.1.0 - 2013-09-08
|
534
|
+
|
421
535
|
### Fixed
|
536
|
+
|
422
537
|
* Remote debugging display.
|
423
538
|
* `eval` crashing when inspecting raised an exception (reported by @iblue).
|
424
539
|
|
425
540
|
### Changed
|
541
|
+
|
426
542
|
* `enable breakpoints` now enables every breakpoint.
|
427
543
|
* `disable breakpoints` now disables every breakpoint.
|
428
544
|
|
429
545
|
## 2.0.0 - 2013-08-30
|
546
|
+
|
430
547
|
### Added
|
548
|
+
|
431
549
|
* "Official" definition of a command API.
|
432
550
|
* Thread support.
|
433
551
|
|
434
552
|
### Removed
|
553
|
+
|
435
554
|
* `jump` command. It had never worked.
|
436
555
|
|
437
556
|
### Changed
|
557
|
+
|
438
558
|
* Several internal refactorings.
|
439
559
|
|
440
560
|
## 1.8.2 - 2013-08-16
|
561
|
+
|
441
562
|
### Fixed
|
563
|
+
|
442
564
|
* `save` command now saves the list of `displays`.
|
443
565
|
* Stack size calculation.
|
444
566
|
|
445
567
|
### Changed
|
568
|
+
|
446
569
|
* More user friendly regexps for commands.
|
447
570
|
* Better help for some commands.
|
448
571
|
|
449
572
|
## 1.8.1 - 2013-08-12
|
573
|
+
|
450
574
|
### Fixed
|
575
|
+
|
451
576
|
* Major regression introduced in 1.8.0.
|
452
577
|
|
453
578
|
## 1.8.0 - 2013-08-12
|
579
|
+
|
454
580
|
### Added
|
581
|
+
|
455
582
|
* Remote debugging support.
|
456
583
|
|
457
584
|
## 1.7.0 - 2013-08-03
|
585
|
+
|
458
586
|
### Added
|
587
|
+
|
459
588
|
* List command automatically called after callstack navigation commands.
|
460
589
|
* C-frames specifically marked in the callstack.
|
461
590
|
* C-frames skipped when navigating the callstack.
|
462
591
|
|
463
592
|
## 1.6.1 - 2013-07-10
|
593
|
+
|
464
594
|
### Fixed
|
595
|
+
|
465
596
|
* Windows compatibiliy: compilation and terminal width issues.
|
466
597
|
|
467
598
|
## 1.6.0 - 2013-07-10
|
599
|
+
|
468
600
|
### Fixed
|
601
|
+
|
469
602
|
* `byebug` placed at the end of a block or method call not working as expected.
|
470
603
|
* `autolist` being applied when Ruby `-e` option used.
|
471
604
|
|
472
605
|
### Changed
|
606
|
+
|
473
607
|
* Backtrace callstyles. Use `long` for detailed frames in callstack and `short`
|
474
|
-
for more concise frames.
|
608
|
+
for more concise frames.
|
475
609
|
|
476
610
|
## 1.5.0 - 2013-06-21
|
611
|
+
|
477
612
|
### Fixed
|
613
|
+
|
478
614
|
* Incomplete backtraces when the debugger was not started at program startup.
|
479
615
|
|
480
616
|
## 1.4.2 - 2013-06-20
|
617
|
+
|
481
618
|
### Fixed
|
619
|
+
|
482
620
|
* `help command subcommand` command.
|
483
621
|
* Interaction with Rails Console debugging flag.
|
484
622
|
* `post_mortem` mode when running byebug from the outset.
|
485
623
|
* `no-quit` flag when running byebug from the outset.
|
486
624
|
|
487
625
|
## 1.4.1 - 2013-06-15
|
626
|
+
|
488
627
|
### Fixed
|
628
|
+
|
489
629
|
* Crash when printing some filenames in backtraces.
|
490
630
|
* Allow byebug developers to easily use compilers different from gcc (thanks
|
491
|
-
@GarthSnyder!).
|
631
|
+
@GarthSnyder!).
|
492
632
|
|
493
633
|
## 1.4.0 - 2013-06-05
|
634
|
+
|
494
635
|
### Fixed
|
636
|
+
|
495
637
|
* Memory leaks causing `byebug` to randomly crash.
|
496
638
|
|
497
639
|
### Changed
|
640
|
+
|
498
641
|
* Use the Debug Inspector API for backtrace information.
|
499
642
|
|
500
643
|
## 1.3.1 - 2013-06-02
|
644
|
+
|
501
645
|
### Fixed
|
646
|
+
|
502
647
|
* Interaction with Rails debugging flag.
|
503
648
|
* Crash when trying to print lines of code containing the character '%'.
|
504
649
|
* `basename` and `linetrace` options not working together.
|
505
650
|
|
506
651
|
## 1.3.0 - 2013-05-25
|
652
|
+
|
507
653
|
### Added
|
654
|
+
|
508
655
|
* Support colon-delimited include paths in command-line front-end (@ender672).
|
509
656
|
|
510
657
|
## 1.2.0 - 2013-05-20
|
658
|
+
|
511
659
|
### Fixed
|
660
|
+
|
512
661
|
* Ctrl+C during command line editing (works like pry/irb).
|
513
662
|
|
514
663
|
### Added
|
664
|
+
|
515
665
|
* `pry` command.
|
516
666
|
|
517
667
|
## 1.1.1 - 2013-05-07
|
668
|
+
|
518
669
|
### Added
|
670
|
+
|
519
671
|
* `pry-byebug` compatibility.
|
520
672
|
|
521
673
|
### Changed
|
674
|
+
|
522
675
|
* Better help system.
|
523
676
|
* Code cleanup.
|
524
677
|
|
525
678
|
## 1.1.0 - 2013-04-30
|
679
|
+
|
526
680
|
### Added
|
681
|
+
|
527
682
|
* Post Mortem support.
|
528
683
|
|
529
684
|
## 1.0.3 - 2013-04-23
|
685
|
+
|
530
686
|
### Fixed
|
687
|
+
|
531
688
|
* Negative line numbers shown by list command at the beginning of file.
|
532
689
|
* `backtrace` command segfaulting when trying to show info on some frame args.
|
533
|
-
Don't know the reason yet, but the exception is handled now and command does
|
534
|
-
not segfault anymore.
|
690
|
+
Don't know the reason yet, but the exception is handled now and command does
|
691
|
+
not segfault anymore.
|
535
692
|
|
536
693
|
### Changed
|
694
|
+
|
537
695
|
* `autoreload` is set by default now.
|
538
696
|
* Try some thread support (not even close to usable).
|
539
697
|
|
540
698
|
## 1.0.2 - 2013-04-09
|
699
|
+
|
541
700
|
### Fixed
|
701
|
+
|
542
702
|
* backtraces messed up when using both `next`/`step` and backtrace navigation
|
543
|
-
commands.
|
703
|
+
commands.
|
544
704
|
|
545
705
|
### Changed
|
706
|
+
|
546
707
|
* `autolist` and `autoeval` are default settings now.
|
547
708
|
|
548
709
|
## 1.0.1 - 2013-04-06
|
710
|
+
|
549
711
|
### Fixed
|
712
|
+
|
550
713
|
* Byebug not loading properly.
|
551
714
|
|
552
715
|
## 1.0.0 - 2013-03-29
|
716
|
+
|
553
717
|
### Fixed
|
718
|
+
|
554
719
|
* Green test suite.
|
555
720
|
|
556
721
|
## 0.0.1 - 2013-03-18
|
722
|
+
|
557
723
|
### Added
|
724
|
+
|
558
725
|
* Initial release.
|