-
-
Notifications
You must be signed in to change notification settings - Fork 276
Debugger next and empty line repeat #1096
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Adds a new comand n(next) which will step the debugger one rule and break.
If an empty command is submitted to the debugger then the previous command, if there is one, is repeated with a message. Particularly useful with the next and continue commands. This feature is taken from GDB.
WalkthroughThe pull request introduces a new stepping mechanism for the debugger. In the library module, a new Changes
Sequence Diagram(s)sequenceDiagram
participant U as User
participant C as CLI
participant D as DebuggerContext
participant T as Debugger Thread
U->>C: Input "next" command
C->>D: Call next()
D->>T: Set step_once flag to true
T->>T: Check step_once flag
T-->>C: Emit Breakpoint event
C->>C: Process event in receive()
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
🔇 Additional comments (19)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
In comparison to #1080 this PR is dramatically simpler, focused on minor QoL features. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's a difference between next and continue?
Adds two new features to the Pest debugger
next
command that single-steps the debugger. Most useful after hitting a breakpoint.next
orcontinue
.Summary by CodeRabbit