Repository navigation
Conversation
Session#stop_stepping? cancelled next, step, and finish whenever any breakpoint was set on that file and line. A line breakpoint whose condition is false, or a call breakpoint seen on a later line event, then left the program running with no step in progress. Cancel the step only when that breakpoint will suspend for this event. The condition is evaluated once and reused by the breakpoint hook.
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.
next,step, andfinishwere cancelled when the next event was on a line that had a breakpoint, even if that breakpoint did not suspend.Session#stop_stepping?only checked that a breakpoint key existed for the file and line.Stopped on line 3, with
b 4 if: false,nextused to run the program to the end. It now stops on line 4:The step is cancelled only when the breakpoint will actually suspend for this event. A false condition, or a call breakpoint seen on a later line event, leaves the step in place. The condition is evaluated once; the breakpoint hook reuses that result. Callers that ask only whether a breakpoint is set on the line are unchanged.
Fixes #1191.