aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/debrew.rb
AgeCommit message (Collapse)Author
2015-01-03Remove readline and zlib hacksJack Nagel
2014-12-26Remove unnecessary code from debuggerJack Nagel
2014-12-26Allow debugging patching failuresJack Nagel
Closes #33056.
2014-10-11Revert "Allow debugging patch failures"Jack Nagel
This reverts commit 988601624568a951d86bd00cf441d18681b4b500.
2014-10-10Allow debugging patch failuresJack Nagel
Closes #33056.
2014-09-18Delay requiring irb until runtimeJack Nagel
Fixes #32410.
2014-09-18Fix exiting the debugger menu with CTRL-DJack Nagel
2014-09-18Implement `brew test --debug`Jack Nagel
2014-09-18Rewrite debugger to remove monkeypatches and use of call/ccJack Nagel
2014-06-27Disable "ignore" and "irb" debugger options unless we have a continuationJack Nagel
Fixes #30472.
2014-06-12Prefer self.class.name to self.class.to_sJack Nagel
2014-03-14Fix the debug implementation of Resource#stage as wellJack Nagel
2014-03-14Fix Resource#stage method signature in debug modeJack Nagel
Fixes #27554.
2014-03-13Allow the debugger to work from inside staged resourcesJack Nagel
References #23263. Closes #27445.
2013-02-07Reduce footprint of readline hackJack Nagel
2013-02-06Split debrew up to faciliate test isolationJack Nagel
We want to be able to test the raise functionality without monkey-patching #raise on every object in the system, which is one of the side effects of loading debrew.rb.
2013-02-06Don't discard exception instance data in debug modeJack Nagel
If the debugger's monkey-patched raise was passed an instantiated exception, the #exception method was called with a potentially nil argument, causing its instance data to be thrown away. This hides potentially useful information from the user. Fix it by allowing instantiated exceptions to be reraised unharmed. Fixes #17622.
2012-11-11Work around Readline clashJack Nagel
Only limited debugging functionality is available to things that involve the Readline formula, but it is better than crashing outright. c.f. #15776. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-11-09debrew: take input from same line as promptJack Nagel
2012-10-28debrew: formula debugging for homebrewCamillo Lugaresi
A new feature for easing the pain of working with complex formulas, or formulas for large packages. When running brew in debug mode (-d), if an exception propagates outside the formula's install method, you now get a menu which lets you return to the point where the exception was raised and perfom several useful actions, such as: - printing a backtrace - entering IRB to examine the context and test ruby code - entering the debugger (if ruby-debug is available) - entering a shell - ignoring the exception or proceeding with the raise as normal Signed-off-by: Max Howell <mxcl@me.com> * Fixed conflict in build.rb. * Removed old debug handling in Formula.brew. Closes #10435.