Mailinglist Archive: opensuse-buildservice (247 mails)

< Previous Next >
[opensuse-buildservice] Re: "You need to install ruby-debug to run the server in debugging mode. With gems, use 'gem install ruby-debug'"
1)and It's true when require "ruby-debug" in irb .liks that :
---------------------------------------------------------------------
/*obs-server:/srv/www/obs/webui # irb*/
irb(main):001:0> require 'ruby-debug'
=> true
irb(main):002:0>
---------------------------------------------------------------------

2)I can debug script of ruby. liks that:
---------------------------------------------------------------------
/*obs-server:/srv/www/obs/webui # cat a.rb*/
puts "aa"
puts "aa"
puts "aa"
puts "aa"
/*obs-server:/srv/www/obs/webui # ruby -rdebug a.rb*/
Debug.rb
Emacs support available.

a.rb:1:puts "aa"
(rdb:1) n
aa
a.rb:2:puts "aa"
(rdb:1)
n
aa
a.rb:3:puts "aa"
(rdb:1)
n
aa
a.rb:4:puts "aa"
(rdb:1)
n
aa
/*obs-server:/srv/www/obs/webui #* /
---------------------------------------------------------------------




--
View this message in context:
http://opensuse.14.x6.nabble.com/You-need-to-install-ruby-debug-to-run-the-server-in-debugging-mode-With-gems-use-gem-install-ruby-de-tp4992054p4992057.html
Sent from the opensuse-buildservice mailing list archive at Nabble.com.
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
References