[yast-devel] Improved debugger integration
Hi all, I have improved the Ruby debugger integration in YaST, if you install the latest yast2-ruby-bindings package (version 3.2.2+) then you can use a keyboard shortcut to start the Ruby debugger anytime. Simply press Shift+Ctrl+Alt+D and the Ruby debugger will pop up in a new window. Limitations: - Works in Qt UI only (ncurses is not supported) - It's hooked to the UI.UserInput call (and similar), so if the code is stuck the debugger cannot be started This is the debugging feature which I always wanted to have, so enjoy it! More details: https://github.com/yast/yast-ruby-bindings/pull/179 http://yastgithubio.readthedocs.io/en/latest/debugging/#using-a-keyboard-sho... -- Ladislav Slezák YaST Developer SUSE LINUX, s.r.o. Corso IIa Křižíkova 148/34 18600 Praha 8 -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
Dne 16.11.2016 v 10:05 Ladislav Slezak napsal(a):
Hi all,
I have improved the Ruby debugger integration in YaST, if you install the latest yast2-ruby-bindings package (version 3.2.2+) then you can use a keyboard shortcut to start the Ruby debugger anytime.
Simply press Shift+Ctrl+Alt+D and the Ruby debugger will pop up in a new window.
I have built a backported package for SLE12-SP2 and openSUSE Leap 42.2. You can find it in my home project [1]. The RPMs are available in [2] and [3] repositories. For using it in installation boot the installer with these options: insecure=1 dud=http://download.opensuse.org/repositories/home:/lslezak/openSUSE_Leap_42.2/x... Notes: - Using insecure=1 is needed as the RPM is not signed by the official SUSE GPG key. That means you should use it only for debugging, not for production systems. - The package version will be changed if a rebuild is triggered in OBS, if you get a download error check the current package version in the repository. Internal only: (The URL below is not reachable from the internet, only from the internal network.) To avoid typing that long URL I have prepared "info" files, simply boot with info=ftp://muffin.suse.cz/sle12-sp2/info.txt or info=ftp://muffin.suse.cz/42.2/info.txt The "insecure=1" option is already included there, you do not have to use it. Enjoy! [1] https://build.opensuse.org/package/show/home:lslezak/yast2-ruby-bindings [2] http://download.opensuse.org/repositories/home:/lslezak/SLE_12_SP2/x86_64/ [3] http://download.opensuse.org/repositories/home:/lslezak/openSUSE_Leap_42.2/ -- Ladislav Slezák YaST Developer SUSE LINUX, s.r.o. Corso IIa Křižíkova 148/34 18600 Praha 8 -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
participants (1)
-
Ladislav Slezak