untracevar
command that stops tracing a global variable.- Window CI build through AppVeyor.
- OSX CI build through Travis.
- Style enforcement through RuboCop.
- C style enforment using the
indent
command line utility. - Some remote debugging tests (thanks @eric-hu).
- Printer's support (thanks @astashov).
- A lot of internal refactoring.
tracevar
now requires the full global variable name (with "$").catch
command is not allowed in post_mortem mode anymore. It was not working anyways (#92).step
is now more user friendly when used in combination withup
(see #85).var const
can now be called without an argument and will show constants in the current scope.break
with a class name now creates breakpoints regardless of class not being yet defined. If that's the case, it gives a warning but the class is created anyways.
- Code reloading issues.
set fullpath
was not showing fullpaths. Now it is.up
,down
andframe
commands now work in post_mortem mode (#93).- Loading of .byebugrc. Now it ignores invalid commands instead of aborting.
- Priority of .byebugrc files. Project's file overrides global (home) file.
- Backtraces not working in
post_mortem
mode (#93). - 'cmd1 ; cmd2 ; ...; cmdN' syntax which allows running several commands sequentially.
- Finish command not stopping at the correct line (#101).
break
with namespaced class, like,break A::B#c
should now work (#106)
autoreload
setting as it's not necessary anymore. Code should always be up to date.reload
command for the same reason.- Gem dependency on
debugger-linecache
. step+
,step-
,next+
,next-
,set/show linetrace_plus
andset/show forcestep
commands. These were all mechanisms to deal with TracePoint API event dupplication, but this duplicated events have been completely removed from the API since r48609, so they are no longer necessary.info file
subcommands:info file breakpoints
,info file mtime
,info file sha1
,info file all
. Now all information is listed underinfo file
.testing
setting. It was just a hack to be able to testbyebug
. Nobody was supposed to actually use it!var class
command, just use Ruby (self.class.class_variables
).
- Windows installation (#79).
condition
command not properly detecting invalid breakpoint ids.
- Byebug's history messing other programs using Readline (#81).
- Readline's history not being properly saved and inmediately available.
- User not being notified when trying to debug a non existent script.
- Complete rewrite of byebug's history.
- Complete rewrite of list command.
- Docs about stacktrace related commands (up, down, frame, backtrace).
- Debugging commands invoked by ruby exectuable (#67), as in
byebug -- ruby -Itest test/controllers/posts_controller_test.rb -n test_should_get_index
.
- Use of threads inside
eval
command (#54). list
command not listing backwards after reaching the end of the file.
- deivid-rodriguez/pry-byebug#32 in a better way.
set verbose
command.set post_mortem false
command.- Debugger stopping in
byebug
's internal frames in some cases. backtrace
crashing whenfullpath
setting disabled and calculated stack size being smaller than the real one.
- The
-t
option forbin/byebug
now turns tracing on whereas the-x
option tells byebug to run the initialization file (.byebugrc) on startup. This is the default behaviour though. bin/byebug
libified and tests added.
info locals
command. Usevar local
instead.info instance_variables
command. Usevar instance
instead.info global_variables
command. Usevar global
instead.info variables
command. Usevar all
instead.irb
command stepping capabilities, see 8e226d0.script
andrestart-script
options forbin/byebug
.
- Remote debugging (#71), thanks @shuky19.
source
command (#68), thanks @Olgagr.ruby-head
support (#71).
post_mortem
activation throughByebug.post_mortem
. Useset post_mortem
instead.info stack
command. Usewhere
instead.method iv
command. Usevar instance
instead.- Warning reported in #77.
- (Really)
post_mortem
mode inbin/byebug
. - Line tracing in
bin/byebug
.
post_mortem
mode in bin/byebug.
show commands
command. Usehistory
instead.- Byebug.start accepting options. Any program settings you want applied from
the start should be set in
.byebugrc
. trace
command. Useset linetrace
for line tracing andtracevar
for global variable tracing.show version
command. Usebyebug --version
to check byebug's version.set arg
setting. Use therestart
command instead.
linetrace_plus
setting renamed totracing_plus
.
history
command to check byebug's history of previous commands.
- Plain
byebug
not working whenpry-byebug
installed. post_mortem
mode.- Command history not being saved after regular program termination.
- (Again) Calling
Byebug.start
withTimeout.timeout
(#54), thanks @zmoazeni!
- Allow disabling
post_mortem
mode.
show commands
command for listing history of previous commands now behaves like shell'shistory
command.show/set history filename
is nowshow/set histfile
show/set history size
is nowshow/set histsize
show/set history save
is nowshow/set autosave
finish
semantic, see 61f9b4d.- Use
per project
history file by default.
- The
init
option forByebug.start
. Information to make therestart
command work is always saved now.
IGNORED_FILES
slowing down startup (#52).- Calling
Byebug.start
withTimeout.timeout
(#53, #54).
- Circular dependency affecting
pry-byebug
(thanks @andreychernih).
- Support for
sublime-debugger
.
- Installation error in Mac OSX (#40), thanks @luislavena.
thread list
showing too many threads.- Fix setting post mortem mode with "set post_mortem". Now this is the only post mortem functionality available as specifying "Byebug.post_mortem" with a block has been removed in this version.
- (Again)
debugger
as an alias tobyebug
(thanks @wallace). -R
option forbin/byebug
to specify server's hostname:port for remote debugging (thanks @mrkn).
- Use
require
instead ofrequire_relative
for loading byebug's extension library (thanks @nobu). trace variable $foo
should be nowtrace variable $foo
.
- Breakpoint removal.
- Broken test suite.
- Compatibility with Phusion Passenger Enterprise (thanks @FooBarWidget).
- More minimalist help system.
- Compilation issue in 64 bit systems.
- Compilation issue introduced in 2.2.0 (#26).
show/set stack_trace_on_error
is nowshow/set stack_on_error
.
- Stack size calculations.
- Setting
post_mortem
mode.
verbose
setting for TracePoint API event inspection.
- Warning free byebug.
- Allow
edit <filename>
without a line number.
- Debugging code inside
-e
Ruby flag.
- Remote debugging display.
eval
crashing when inspecting raised an exception (reported by @iblue).
enable breakpoints
now enables every breakpoint.disable breakpoints
now disables every breakpoint.
- "Official" definition of a command API.
- Thread support.
jump
command. It had never worked.
- Varoius internal refactorings.
save
command now saves the list ofdisplays
.- Stack size calculation.
- More user friendly regexps for commands.
- Better help for some commands.
- Major regression introduced in 1.8.0.
- Remote debugging support.
- List command automatically called after callstack navigation commands.
- C-frames specifically marked in the callstack.
- C-frames skipped when navigating the callstack.
- Windows compatibiliy: compilation and terminal width issues.
byebug
placed at the end of a block or method call not working as expected.autolist
being applied when Ruby-e
option used.
- Backtrace callstyles. Use
long
for detailed frames in callstack andshort
for more concise frames.
- Incomplete backtraces when the debugger was not started at program startup.
help command subcommand
command.- Interaction with Rails Console debugging flag.
post_mortem
mode when running byebug from the outset.no-quit
flag when running byebug from the outset.
- Crash when printing some filenames in backtraces.
- Allow byebug developers to easily use compilers different from gcc (thanks @GarthSnyder!).
- Memory leaks causing
byebug
to randomly crash.
- Use the Debug Inspector API for backtrace information.
- Interaction with Rails debugging flag.
- Crash when trying to print lines of code containing the character '%'.
basename
andlinetrace
options not working together.
- Support colon-delimited include paths in command-line front-end (@ender672).
- Ctrl+C during command line editing (works like pry/irb).
pry
command.
pry-byebug
compatibility.
- Better help system.
- Code cleanup.
- Post Mortem support.
- Negative line numbers shown by list command at the beginning of file.
backtrace
command segfaulting when trying to show info on some frame args. Don't know the reason yet, but the exception is handled now and command does not segfault anymore.
autoreload
is set by default now.- Try some thread support (not even close to usable).
- backtraces messed up when using both
next
/step
and backtrace navigation commands.
autolist
andautoeval
are default settings now.
- Byebug not loading properly.
- Green test suite.
- Initial release.