Skip to content

Change to prevent fakeFireContinued when initiating time-travel #46441

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

Merged
merged 1 commit into from
Mar 26, 2018

Conversation

mrkmarron
Copy link
Contributor

Based on discussion in issue #42384 I have heavily refactored the code to work almost entirely as an extension.

In this implementation clicking the step-back button when in "live" debug mode will launch a time-travel session. However, a fireFakeContinued still occurs and leaves the live session in an ill-defined state. This PR adds a check for these 2 cases and simply suppresses the fake event when needed. This is backward compatible with previous uses and only impacts the TTD specific code paths.

@isidorn
Copy link
Contributor

isidorn commented Mar 26, 2018

@mrkmarron thanks for this PR.
I have reviewed and this makes sense to me, especially since this code path is only hit for the TTD specific cases.

@isidorn isidorn merged commit c663a76 into microsoft:master Mar 26, 2018
@weinand weinand added the debug Debug viewlet, configurations, breakpoints, adapter issues label Mar 27, 2018
@github-actions github-actions bot locked and limited conversation to collaborators Mar 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants