Skip to content

Instantly share code, notes, and snippets.

@dstrelau
Created October 6, 2011 19:06
Show Gist options
  • Save dstrelau/1268324 to your computer and use it in GitHub Desktop.
Save dstrelau/1268324 to your computer and use it in GitHub Desktop.
debug> b Object#create_makefile:1822
| Set breakpoint 1: /Users/dstrelau/Code/clones/rubinius/lib/19/mkmf.rb:1822 (+1743)
debug> c
creating Makefile
| Breakpoint: Object#create_makefile(target) at /Users/dstrelau/Code/clones/rubinius/lib/19/mkmf.rb:1822 (1743)
| 1822: mfile.print("pre-install-rb: Makefile\n")
debug> n
| Breakpoint: Object#create_makefile(target) at /Users/dstrelau/Code/clones/rubinius/lib/19/mkmf.rb:1823 (1752)
| 1823: mfile.print("pre-install-rb-default: Makefile\n")
debug> n
| Breakpoint: Object#create_makefile(target) at /Users/dstrelau/Code/clones/rubinius/lib/19/mkmf.rb:1824 (1761)
| 1824: for sfx, i in [["-default", [["lib/**/*.rb", "$(RUBYLIBDIR)", "lib"]]], ["", $INSTALLFILES]]
debug> s
| Breakpoint: Rubinius::GlobalVariables#[](key) at kernel/common/global.rb:51 (0)
| 51: if @internal.key? key
debug> s
| Breakpoint: Array#each at kernel/bootstrap/array.rb:59 (0)
| 59: return to_enum(:each) unless block_given?
debug> bt
| Backtrace:
| 0 Array#each at kernel/bootstrap/array.rb:59 (0)
| 1 Object#create_makefile(target) at /Users/dstrelau/Code/clones/rubinius/lib/19/mkmf.rb:1824 (1799)
| 2 Object#__script__ at extconf.rb:149 (1143)
| 3 Rubinius::CodeLoader#load_script(debug) at kernel/delta/codeloader.rb:65 (54)
| 4 Rubinius::CodeLoader.load_script(name) at kernel/delta/codeloader.rb:107 (40)
| 5 Rubinius::Loader#script at kernel/loader.rb:618 (222)
| 6 Rubinius::Loader#main at kernel/loader.rb:772 (76)
debug> s
Error in debugger
Tuple::at_prim: index 0 out of bounds for size 0 (Rubinius::ObjectBoundsExceededError)
Backtrace:
{ } in Rubinius::Debugger::Frame#describe at /Users/dstrelau/Code/clones
/rubinius/lib/rubinius/debugger
/frame.rb:46
Integer(Fixnum)#upto at kernel/common/integer.rb:132
Rubinius::Debugger::Frame#describe at /Users/dstrelau/Code/clones/rubinius
/lib/rubinius/debugger/frame.rb:45
Rubinius::Debugger#listen at /Users/dstrelau/Code/clones/rubinius
/lib/rubinius/debugger.rb:163
Rubinius::Debugger::Command(Rubinius::Debugger::Command::StepInto)#listen at \
/Users/dstrelau/Code/clones/rubinius/lib/rubinius/debugger/commands.rb:67
Rubinius::Debugger::Command::StepInto#run at /Users/dstrelau/Code/clones
/rubinius/lib/rubinius/debugger
/commands.rb:345
Rubinius::Debugger#accept_commands at /Users/dstrelau/Code/clones/rubinius
/lib/rubinius/debugger.rb:188
{ } in Rubinius::Debugger#spinup_thread at /Users/dstrelau/Code/clones/rubinius
/lib/rubinius/debugger.rb:398
Thread#__run__ at kernel/bootstrap/thread.rb:174
debug>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment