hoodwink.d enhanced
RSS
2.0
XHTML
1.0

RedHanded

Tuesday

2006.09.26

The Addresses to My Pursuits #

by why in -h

Okay, folks, my code repository is finally all dressed up.

Continue to full post. (113 words)

The Ruby-GDB Arms Race Now At a Standoff #

by why in inspect

Generous Mauricio gives:

 (gdb) session-ruby
 (gdb) redirect_stdout
 [Switching to Thread -1210431808 (LWP 4584)]
 $1 = 2
 (gdb) rb_object_counts
 $2 = 3078718700

To which, crafty Jamis strikes out:

 >> require 'gdb'
 => true
 >> gdb = GDB::Ruby.new([pid])
 => #<GDB::Ruby:0xb7d72550 @gdb=#<IO:0xb7d72438>, @names={}, @interns={}>
 >> gdb.object_space
 => {"File"=>24, "OptionParser"=>1, "Gem::Version::Requirement"=>38, ... }

Continue to full post. (261 words)