Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hook to the
UI::
calls and detect the debug magic key event, start the Ruby debugger when it is received.Blog Text (Proposal)
We have improved the Ruby debugger integration in YaST. So far you could start the debugger using the
y2debugger=1
boot option or by setting theY2DEBUGGER=1
environment variable. The new feature allows starting the Ruby debugger also later when the YaST module is already running.Simply press the
Shift
+Ctrl
+Alt
+D
keyboard shortcut (D
as debug) and it will start the Ruby debugger. It works during installation and also in installed system (just make sure thebyebug
Ruby gem is installed).Unfortunately this new feature works only in the Qt UI, the ncurses UI is not supported (currently it does not handle the debugging keyboard shortcut at all).
After pressing the keyboard shortcut the debugger window will pop up: