feat: add keyboard shortcuts for debugging#188
Open
aparnatonni wants to merge 1 commit intoc2siorg:mainfrom
Open
feat: add keyboard shortcuts for debugging#188aparnatonni wants to merge 1 commit intoc2siorg:mainfrom
aparnatonni wants to merge 1 commit intoc2siorg:mainfrom
Conversation
- Add keyboard shortcuts utility with 6 main shortcuts (F5, F10, F11, Shift+F11, Ctrl+B, Ctrl+K) - Create KeyboardShortcutsHelp modal component - Integrate keyboard event handling in Debug page - Add comprehensive unit tests for shortcuts utility - Add component tests for help modal - Add detailed feature documentation Shortcuts include: - F5: Continue/Run program - F10: Step over (next line) - F11: Step into function - Shift+F11: Step out of function - Ctrl+B: Toggle breakpoint - Ctrl+K: Show keyboard shortcuts help The implementation follows VS Code convention and provides an accessible modal that displays all available shortcuts. Keyboard events are properly handled to avoid interference with text input fields.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Adds keyboard shortcuts to GDB-UI for faster debugging without using the mouse.
Shortcuts:
F5: Continue/Run
F10: Step Over
F11: Step Into
Shift+F11: Step Out
Ctrl+B: Toggle Breakpoint
Ctrl+K: Show Help
Changes:
Keyboard shortcuts utility and component
Integrated handlers in Debug page
Full test coverage
Feature documentation included