Markus,
On 1/23/07, Markus Barchfeld <[EMAIL PROTECTED]> wrote:
> I also managed to break the RI/RDoc stuff in the process, as well as
> launching debug mode and Test::Unit. I went back and fixed as much as I
> could, but Markus, Martin and others I could use some help making sure
> that
> debugging is set up to work OK again.
Chris, I tried to launch a rdebug session on linux (ubuntu) but failed.
I finally could start rdebug with the necessary arguments and the
communication between Eclipse and the ruby process started but then the
ruby process died. Does it run on OS X?
Sort of. I'm having enviroment issues (it kept using the ruby installed in
usr/bin, which doesn't have rubygems). I guess I'm still an idiot when it
comes to some *nix things. I can't figure out how to set up my environment
so it picks up the right ruby install to use for rdebug. This also reminds
me that we should be setting this in the launch configuration so rdeubg
tries to use the selected VM/interpreter. (I couldn't get that to work, I
set the variable but it didn't seem to have any effect).
Anyways, I got it to launch rdebug but the gem broke on import complaining
of nil values (which also seemed to be related to environment variables, it
barfed on line 24 of interface.rb in the gem).
I did manage to get normal debugging running. I'll look more at it, because
I only gave it a glance, but it appeared OK for what little I did.
As for the design, it matches JDT's. You may want to take a look at
StandardVM.run and trace down from there. It basically creates one of
StandardVMRunner, StandardDebugger or RubyDebugVMDebugger and then launches
it. (Which sets all sorts of properties on a VMRunnerConfiguration).
The configuration for a default ubuntu/debian installation (apt-get
install ruby1.8) is also quite awkward. You have to configure "/usr" as
path to the interpreter and the default site_ruby directory does not
exist. So I deleted the entry but then there were problems anyway so
that I had to create the default site_ruby in order to proceed at all.
Any idea how to mitigate these pains on a standard Linux installation?
Well I have added more info to the dialog for Unix based system to choose
something like /usr or /usr/local.
I don't have a ubuntu or debian box handy, so if you could give me more
details on the structure of the install that would be great (like where is
the site_ruby directory then?).
Thanks,
Chris
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Rubyeclipse-development mailing list
Rubyeclipse-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rubyeclipse-development