From: Logan Capaldo Date: 2006-02-24T07:50:36+09:00 Subject: Re: Q: How to initialize debugger's state when starting On Feb 23, 2006, at 2:48 PM, Dumaiu wrote: > PS: > (What I'm looking for is something with the effect of gdb's '-x' > option.) > > Well after looking at debug.rb and trying to hack this in, I think your best bet is to look at one of the GUI debuggers (like Mr. Guid or Emacs) that talk to rdb and write a little frontend to it that would have this capability. Unfortunately, its setup like def do_command input = readline ... end instead of def do_command(input) ... end do_command(readline) so I gave up trying to hack in this functionality directly. Good luck, though