|
View:
New views
9 Messages
—
Rating Filter:
Alert me
|
|
|
jruby-debug gem (was Re: [jruby-dev] Helping out with jruby-debug)Success! I now have a working version of jruby-debug gem. What's more, when I installed this in my JRuby gems directory I was then able to install the standard ruby-debug gem, since it saw that I had a ruby-debug-base gem already installed. I was then able to run rdebug on a very simple ruby script. Also, I was able to do all this without needing the line in Ruby.java to load our library via build registerBuiltIn, since I added a BasicLibraryService impl to do it via a require 'ruby_debug_base.jar'. I don't know about you guys, but I'm feeling like this approach is probably the right way to go, as it seems the least intrusive to me. Martin, is there any chance I could get commit rights to SVN so I can check all this in and let other folks start playing with it? --Chris On 10/7/07,
Chris Nelson <me@...> wrote: Peter and Martin, |
|
|
Re: jruby-debug gem (was Re: [jruby-dev] Helping out with jruby-debug)On Oct 8, 2007, at 11:36 AM, Chris Nelson wrote: > Guys, > > Success! I now have a working version of jruby-debug gem. What's > more, when I installed this in my JRuby gems directory I was then > able to install the standard ruby-debug gem, since it saw that I > had a ruby-debug-base gem already installed. I was then able to > run rdebug on a very simple ruby script. Also, I was able to do > all this without needing the line in Ruby.java to load our library > via build registerBuiltIn, since I added a BasicLibraryService impl > to do it via a require 'ruby_debug_base.jar'. I don't know about > you guys, but I'm feeling like this approach is probably the right > way to go, as it seems the least intrusive to me. If I could hug you through the network, I would. This is the most awesome thing I've heard all week! :dudley --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email |
|
|
Re: jruby-debug gem (was Re: [jruby-dev] Helping out with jruby-debug)Chris Nelson wrote:
> Guys, > > Success! I now have a working version of jruby-debug gem. What's more, > when I installed this in my JRuby gems directory I was then able to > install the standard ruby-debug gem, since it saw that I had a > ruby-debug-base gem already installed. I was then able to run rdebug on > a very simple ruby script. Also, I was able to do all this without > needing the line in Ruby.java to load our library via build > registerBuiltIn, since I added a BasicLibraryService impl to do it via a > require 'ruby_debug_base.jar'. I don't know about you guys, but I'm > feeling like this approach is probably the right way to go, as it seems > the least intrusive to me. That all sounds great. Looking forward to the commit. > Martin, is there any chance I could get commit rights to SVN so I can > check all this in and let other folks start playing with it? Yup, see the email, I've just sent you. m. --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email |
|
|
Re: jruby-debug gem (was Re: [jruby-dev] Helping out with jruby-debug)Agreed, very cool.
Pete On 10/8/07, Chris Nelson <me@...> wrote: > I don't know about you guys, but I'm feeling like this approach is probably > the right way to go, as it seems the least intrusive to me. > --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email |
|
|
Re: jruby-debug gem (was Re: [jruby-dev] Helping out with jruby-debug)Ok, I've checked in my code. You'll still need the one line patch to RubyThread in jruby to use it. I'll open a JIRA issue for that and see if we can get that into jruby trunk. After that, check out the jruby-debug code and run rake install_gem. This should give you a somewhat working version of ruby-debug-base. I've matched the version number to ruby-debug, so you can do a normal gem install of ruby-debug. From there rdebug should work for basic things, I've been running it using jruby rdebug <script>.
Happy debugging! --Chris On 10/8/07, Peter Brant <peter.brant@...> wrote: Agreed, very cool. |
|
|
Re: jruby-debug gem (was Re: [jruby-dev] Helping out with jruby-debug)Chris Nelson wrote:
> [...] > From there rdebug should work for basic things, I've been running it > using jruby rdebug <script>. ...should work for basic things, but very unreliably. It is so immature that it does not worth it to file a bug or send us any complains yet ;) Actually I've only put together: - core base infrastructure - frame listing - stepping over - stepping into - continue - breakpoint setting - local variables listing (Chris' patch) which _somehow, not always_ works. > Happy debugging! Really optimistic, but that's good I suppose ;) I would rather take this announcement for those who wants to help with coding. Definitely unusable for users. We will post announcement to users ML when we have something available. Cheers, m. --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email |
|
|
Re: jruby-debug gem (was Re: [jruby-dev] Helping out with jruby-debug)Everything Martin says here is correct, and I've only put together a smattering of unit tests for the list variable stuff and them not checked in. So by all means, caveat emptor. Didn't mean to get carried away :)
--Chris On 10/9/07, Martin Krauskopf <Martin.Krauskopf@...> wrote: Chris Nelson wrote: |
|
|
Re: jruby-debug gem (was Re: [jruby-dev] Helping out with jruby-debug)--Chris On 10/8/07, Dudley Flanders <
dudley@...> wrote:
|
|
|
Re: jruby-debug gem (was Re: [jruby-dev] Helping out with jruby-debug)On Oct 9, 2007, at 9:15 AM, Chris Nelson wrote: > Heh, thanks Dudley, but Martin deserves most of the love. I built > on and packaged what is mostly his work. Oh, I didn't want Martin to get left out. He gets love, too. There's plenty to go around :-) I was just excited to see someone helping him out on this, since I know Martin has his hands full of netbeans. :dudley --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email |
| Free embeddable forum powered by Nabble | Forum Help |