Skip to content
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

[cmdlog-] save prev replay when starting new replay #2531 #2596

Merged
merged 1 commit into from
Nov 9, 2024

Conversation

midichef
Copy link
Contributor

@midichef midichef commented Nov 6, 2024

This seems to fix @reagle's nested macro execution test case.

This PR saves and restores vd.currentReplay. That's enough to fix nested macros.

I also save and restore vd.currentReplayRow although I don't think it currently is necessary. I do that because replay_cancel() sets both currentReplay and currentReplayRow, so it seems like both should be updated at the same time.

Copy link
Owner

@saulpw saulpw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @midichef, this makes sense to me.

@anjakefala anjakefala merged commit bee4116 into saulpw:develop Nov 9, 2024
14 checks passed
@midichef midichef deleted the nested_replay branch November 12, 2024 01:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Macro recordings that include a different macro include its invocation and its steps
3 participants