On Apr 17, 12:42 pm, Martin Krauskopf <martin.krausk... / sun.com> wrote: > Eric Promislow wrote: > > > We use the ruby-debug-base.rb and ruby-debug.so, and call it like any > > other Ruby library. This way people can install an upgrade and Komodo > > should just work with the new .so, assuming no compatibility breakage. > > I wouldn't say there's too much duplication -- you just have to > > implement a callback class to handle the ruby-debug events. > > By duplication I meant several different extensions for ruby-debug-base > with the same aim. > > I would like to implement DBGp (ruby-debug-dbgp?) extension for > ruby-debug-base in the future if nobody else do so in the meantime. That > would be easily utilized by any frontend then. Currently Markus > Barchfeld implemented ruby-debug-special_xml_based_protocol extension > for ruby-debug-base which is also pretty frontend-independent. > > I think that ideal state would be to have one debugger backends central > utilized by all frontends and all peoples from frontends would work > together on those backends. E.g. in the Rubyforge's debug-commons project ;) > > m. We'll be shipping the full code for the dbgp-based debugger in the next beta for Komodo 4.1. You'll need to check the license before you reuse it. The current Ruby debugger allows reuse under the same terms as the Ruby license, and I expect that will continue. - Eric