Re: [RDT-Dev] debug status in jruby

2007-02-13 Thread Ricardo Trindade




Hi,

 I did check it out, but it seems there's no and or maven build
file... Since there's a build.properties, I'm guessing you forgot to
put it there. 

 As long as trunk builds, I can assure you that we'll upgrade
regularly, use it and give you lots of feedback.

thanks,
Ricardo

Werner Schuster (murphee) wrote:

  Ricardo Trindade wrote:
  
  
Since there's no apparent way to select jruby as the interpreter, I 
usually run jruby apps with a java run, specifying jruby's main as the 
main class, and the current selected file as the argument (via 
${resource_loc}). Setting breakpoints in ruby code in this config 
doesn't work (I really wasn't expecting it to work, but still tried.)
  

  
  In short: it's working right now, the code for it lives over @
https://rubyforge.org/projects/rdt-jruby/
This is a seperate plugin that provides a JRuby VM config and this
allows debugging JRuby code (breakpoints only at the moment, due to some
problem with
JRuby).

If you're really courageous you can try the CVS version of the plugin
(Note: this'll need the latest in RDT (what will be RDT 0.9).)
OR you can wait a week (or so) - I'll put up a cleaned up version on an
update site.


murphee

  




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Rubyeclipse-development mailing list
Rubyeclipse-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rubyeclipse-development


Re: [RDT-Dev] Ready for debug-commons

2007-02-13 Thread Martin Krauskopf
Martin Krauskopf wrote:
 TBD: mainly adding ruby-debug.rb

I've just update Kent's ruby-debug and it seems that Markus was 
successful with propagating his changes directly there into v 0.8, right 
Markus? Congratulations! :) So there is no need to make it part of 
debug-commons any more?

m.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Rubyeclipse-development mailing list
Rubyeclipse-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rubyeclipse-development


Re: [RDT-Dev] Ready for debug-commons

2007-02-13 Thread Markus Barchfeld
Martin Krauskopf wrote:
 Martin Krauskopf wrote:
   
 TBD: mainly adding ruby-debug.rb
 

 I've just update Kent's ruby-debug and it seems that Markus was 
 successful with propagating his changes directly there into v 0.8, right 
 Markus? Congratulations! :) So there is no need to make it part of 
 debug-commons any more?
   
Hi Martin!

Sorry also from my side for not replying to your other request earlier. 
But actually there was not much to comment from my side: it sounds good 
to me and just go for it. I will then  move the development of the 
debugger tests to debug-commons, too (I have got to get a rubyforge 
account first).
Do you have any chance to automate the tests and run them on various 
ruby versions (and on different platforms)? I had lot of trouble with 
running the tests as part of the Eclipse JUnit test suite. They took a 
lot of time and were unstable but it should get better without the Java 
stuff around.

I think we should also run the test suite with ruby-debug if it is 
supposed to be a sort of compatibility test. And I would have to 
maintain the Test Suite in org.rubypeople.rdt.debug.test. otherwise. 
Furthermore there are also some extensions to ruby-debug which should be 
tested, too.

Thanks
Markus


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Rubyeclipse-development mailing list
Rubyeclipse-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rubyeclipse-development


Re: [RDT-Dev] RDT 0.9.0 release Wrap-up

2007-02-13 Thread Mirko Stocker
On Tuesday 13 February 2007 18:38:35 Christopher Williams wrote:
 Mirko,
   Can you look into this? I'm not sure if the version of JRuby you checked
 in is an un-modified version from their trunk or not. Here's an example
 stack trace. I'll try and look into finding a particular file that it
 throws this...

Ok, I can reproduce the CCE with the code you sent. I don't have the time to 
take a closer look right now, but I'll do it tomorrow morning and see if I 
can fix it.

About the release, we have some fixes for the refactorings for windows, I'm 
going to commit them tomorrow too.

Is there anything else I can do?

Mirko


pgpY6Mos4XHj6.pgp
Description: PGP signature
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Rubyeclipse-development mailing list
Rubyeclipse-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rubyeclipse-development


Re: [RDT-Dev] Ready for debug-commons

2007-02-13 Thread Martin Krauskopf
Markus Barchfeld wrote:
 Martin Krauskopf wrote:
 Martin Krauskopf wrote:
   
 TBD: mainly adding ruby-debug.rb
 
 I've just update Kent's ruby-debug and it seems that Markus was 
 successful with propagating his changes directly there into v 0.8, right 
 Markus? Congratulations! :) So there is no need to make it part of 
 debug-commons any more?
   
 Hi Martin!
 
 Sorry also from my side for not replying to your other request earlier. 
 But actually there was not much to comment from my side: it sounds good 
 to me and just go for it. I will then  move the development of the 
 debugger tests to debug-commons, too (I have got to get a rubyforge 
 account first).
 Do you have any chance to automate the tests and run them on various 
 ruby versions (and on different platforms)?

Yup, this is another task. Currently I'm using fresh Ruby build from 
ruby_1_8 branch which is the only which works for me. ruby 1.8.5 
(2006-12-25 patchlevel 12) - the last official release; doesn't pass 
the tests. But now it is much easier to catch the culprit. Just one has 
to run rake (all tests), or better ./kill_debugger; rake if you are 
on Linux and you will quickly catch the culprit - test_class_variables 
fails with Segmentation Fault. Than one can play with it repeatedly in 
standard manner.

kill_debugger; cd test; ruby cd_variables_test.rb --name 
test_class_variables; cd ..

I did not have time to look at it yet. Hopefully soon.

 I had lot of trouble with 
 running the tests as part of the Eclipse JUnit test suite. They took a 
 lot of time and were unstable but it should get better without the Java 
 stuff around.

Yes, it's currently very quick process to catch and patch the bug. I've 
stabilized all active and commented tests so everything passes now. Take 
a look at the project I've send you if you want. I'll establish project 
soon.
Also there might be some changes which differs from eclipseDebug.rb. I 
hope I'll able to provide some merging-patch for RDT as well as I wrote 
(it will be small).

 I think we should also run the test suite with ruby-debug if it is 
 supposed to be a sort of compatibility test. And I would have to 
 maintain the Test Suite in org.rubypeople.rdt.debug.test. otherwise. 
 Furthermore there are also some extensions to ruby-debug which should be 
 tested, too.

I'm not sure about this. Did not know how much protocol of ruby-debug 
differs from classic-debug after your recent changes. But I think that 
testbase.rb and reader.rb should be generally useful. Maybe few 
tweaks/generalization will be needed. I need to take a look at 
ruby-debug soon anyway so I would write/help_with those test. I would 
post here before starting to work on them to prevent double-effort.

Regarding org.rubypeople.rdt.debug.test, it should probably be trimmed 
to minimum, needed for testing Java-layer(CommandFactories, 
DebugProxies, ...), not protocol itself. In the future I would also like 
to make the Java-layer part of debug-common project. But there are some 
IDE-dependent stuffs as we talked about probably off-topic for now.

m.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Rubyeclipse-development mailing list
Rubyeclipse-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rubyeclipse-development